mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
python3-frozendict: update to 2.0.7.
This commit is contained in:
parent
d46f51a492
commit
a1bb833e58
2 changed files with 4 additions and 23 deletions
|
@ -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]
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python3-frozendict'
|
# Template file for 'python3-frozendict'
|
||||||
pkgname=python3-frozendict
|
pkgname=python3-frozendict
|
||||||
version=2.0.6
|
version=2.0.7
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="frozendict-${version}"
|
wrksrc="frozendict-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
@ -12,14 +12,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="LGPL-3.0-only"
|
license="LGPL-3.0-only"
|
||||||
homepage="https://github.com/Marco-Sulla/python-frozendict"
|
homepage="https://github.com/Marco-Sulla/python-frozendict"
|
||||||
distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz"
|
||||||
checksum=3f00de72805cf4c9e81b334f3f04809278b967d2fed84552313a0fcce511beb1
|
checksum=a68f609d1af67da80b45519fdcfca2d60249c0a8c96e68279c1b6ddd92128204
|
||||||
|
|
||||||
pre_patch() {
|
do_check() {
|
||||||
# remove c implementation tests
|
PYTHONPATH="$(cd build/lib* && pwd)" pytest3 -k 'not test_empty_sub'
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue