mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-frozendict: update to 2.1.0, adopt.
This commit is contained in:
parent
0aa1e9e58e
commit
d5e7f0e767
1 changed files with 13 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python3-frozendict'
|
# Template file for 'python3-frozendict'
|
||||||
pkgname=python3-frozendict
|
pkgname=python3-frozendict
|
||||||
version=2.0.7
|
version=2.1.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="frozendict-${version}"
|
wrksrc="frozendict-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
@ -8,12 +8,21 @@ hostmakedepends="python3-setuptools"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python3-pytest"
|
||||||
short_desc="Immutable mapping for Python3"
|
short_desc="Immutable mapping for Python3"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||||
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=a68f609d1af67da80b45519fdcfca2d60249c0a8c96e68279c1b6ddd92128204
|
checksum=0189168749ddea8601afd648146c502533f93ae33840eb76cd71f694742623cd
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
PYTHONPATH="$(cd build/lib* && pwd)" pytest3 -k 'not test_empty_sub'
|
# skip tests that are failing when using C
|
||||||
|
# extension due to difference between pure py and
|
||||||
|
# C extension
|
||||||
|
PYTHONPATH="$(cd build/lib* && pwd)" pytest3 \
|
||||||
|
--deselect=test/test_coold.py::test_repr \
|
||||||
|
--deselect=test/test_coold.py::test_str \
|
||||||
|
--deselect=test/test_coold.py::test_format \
|
||||||
|
--deselect=test/test_frozendict_c.py::test_repr \
|
||||||
|
--deselect=test/test_frozendict_c.py::test_str \
|
||||||
|
--deselect=test/test_frozendict_c.py::test_format
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue