# Template file for 'python3-frozendict' pkgname=python3-frozendict version=2.1.0 revision=1 wrksrc="frozendict-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" checkdepends="python3-pytest" short_desc="Immutable mapping for Python3" maintainer="Joel Beckmeyer " license="LGPL-3.0-only" homepage="https://github.com/Marco-Sulla/python-frozendict" distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz" checksum=0189168749ddea8601afd648146c502533f93ae33840eb76cd71f694742623cd do_check() { # 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 }