diff --git a/srcpkgs/python3-frozendict/patches/build-py.patch b/srcpkgs/python3-frozendict/patches/build-py.patch deleted file mode 100644 index 4ec531e6aa..0000000000 --- a/srcpkgs/python3-frozendict/patches/build-py.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/setup.py b/setup.py -index 462ee99..c287130 100755 ---- a/setup.py -+++ b/setup.py -@@ -157,7 +157,7 @@ common_setup_args = dict( - keywords = keywords, - ) - --custom_arg = None -+custom_arg = "py" - - if len(argv) > 1 and (argv[1] == "py" or argv[1] == "c_debug"): - custom_arg = argv[1] diff --git a/srcpkgs/python3-frozendict/template b/srcpkgs/python3-frozendict/template index 479b6b47a6..6a478b3e1b 100644 --- a/srcpkgs/python3-frozendict/template +++ b/srcpkgs/python3-frozendict/template @@ -1,6 +1,6 @@ # Template file for 'python3-frozendict' pkgname=python3-frozendict -version=2.0.6 +version=2.0.7 revision=1 wrksrc="frozendict-${version}" build_style=python3-module @@ -12,14 +12,8 @@ maintainer="Orphaned " license="LGPL-3.0-only" homepage="https://github.com/Marco-Sulla/python-frozendict" distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz" -checksum=3f00de72805cf4c9e81b334f3f04809278b967d2fed84552313a0fcce511beb1 +checksum=a68f609d1af67da80b45519fdcfca2d60249c0a8c96e68279c1b6ddd92128204 -pre_patch() { - # remove c implementation tests - cd test - rm c_only.py - rm test_frozendict_c.py - rm test_frozendict_c_subclass.py - rm test_coold.py - rm test_coold_subclass.py +do_check() { + PYTHONPATH="$(cd build/lib* && pwd)" pytest3 -k 'not test_empty_sub' }