python3-frozendict: update to 2.0.7.

This commit is contained in:
Joel Beckmeyer 2021-10-24 13:35:03 -04:00 committed by Andrew J. Hesford
parent d46f51a492
commit a1bb833e58
2 changed files with 4 additions and 23 deletions

View file

@ -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]

View file

@ -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 <orphan@voidlinux.org>"
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'
}