python3-frozendict: update to 2.0.6.
This commit is contained in:
parent
899de1cbad
commit
9eaa617e17
13
srcpkgs/python3-frozendict/patches/build-py.patch
Normal file
13
srcpkgs/python3-frozendict/patches/build-py.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
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,19 +1,25 @@
|
||||||
# Template file for 'python3-frozendict'
|
# Template file for 'python3-frozendict'
|
||||||
pkgname=python3-frozendict
|
pkgname=python3-frozendict
|
||||||
version=1.2
|
version=2.0.6
|
||||||
revision=4
|
revision=1
|
||||||
wrksrc="frozendict-${version}"
|
wrksrc="frozendict-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="frozendict"
|
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
|
checkdepends="python3-pytest"
|
||||||
short_desc="Immutable mapping for Python3"
|
short_desc="Immutable mapping for Python3"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="LGPL-3.0-only"
|
||||||
homepage="https://github.com/slezica/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=774179f22db2ef8a106e9c38d4d1f8503864603db08de2e33be5b778230f6e45
|
checksum=3f00de72805cf4c9e81b334f3f04809278b967d2fed84552313a0fcce511beb1
|
||||||
|
|
||||||
post_install() {
|
pre_patch() {
|
||||||
vlicense LICENSE.txt
|
# 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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue