Version 1.14.1 Bugs Fixed When the post import hooks mechanism was being used, and a Python package with its own custom module importer was used, importing modules could fail if the custom module importer didn't use the latest Python import hook finder/loader APIs and instead used the deprecated API. This was actually occurring with the zipimporter in Python itself, which was not updated to use the newer Python APIs until Python 3.10.
20 lines
608 B
Makefile
20 lines
608 B
Makefile
# $NetBSD: Makefile,v 1.14 2022/05/02 07:49:32 adam Exp $
|
|
|
|
DISTNAME= wrapt-1.14.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=w/wrapt/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/GrahamDumpleton/wrapt
|
|
COMMENT= Python module for decorators, wrappers and monkey patching
|
|
LICENSE= 2-clause-bsd
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|