python3-frozendict: update to 2.1.0, adopt.

This commit is contained in:
Joel Beckmeyer 2021-11-21 20:33:28 -05:00 committed by paper
parent 0aa1e9e58e
commit d5e7f0e767

View file

@ -1,6 +1,6 @@
# Template file for 'python3-frozendict'
pkgname=python3-frozendict
version=2.0.7
version=2.1.0
revision=1
wrksrc="frozendict-${version}"
build_style=python3-module
@ -8,12 +8,21 @@ hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Immutable mapping for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="LGPL-3.0-only"
homepage="https://github.com/Marco-Sulla/python-frozendict"
distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz"
checksum=a68f609d1af67da80b45519fdcfca2d60249c0a8c96e68279c1b6ddd92128204
checksum=0189168749ddea8601afd648146c502533f93ae33840eb76cd71f694742623cd
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
}