pkgsrc/devel/py-immutabledict/Makefile
wiz 46974a4bd3 python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
2023-10-28 19:56:54 +00:00

26 lines
717 B
Makefile

# $NetBSD: Makefile,v 1.9 2023/10/28 19:57:01 wiz Exp $
DISTNAME= immutabledict-2.2.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/immutabledict/}
MAINTAINER= khorben@defora.org
HOMEPAGE= https://github.com/corenting/immutabledict
COMMENT= Immutable wrapper around dictionaries for Python 3
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"