pkgsrc/devel/py-jaraco_util/Makefile
wiz 67e1f1a6bf python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
2022-01-05 15:40:56 +00:00

31 lines
898 B
Makefile

# $NetBSD: Makefile,v 1.9 2022/01/05 15:41:05 wiz Exp $
DISTNAME= jaraco.util-11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/./_/}
PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jaraco.util/}
EXTRACT_SUFX= .zip
MAINTAINER= imil@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/jaraco.util
COMMENT= General utility modules that supply commonly-used functionality
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-hgtools-[0-9]*:../../devel/py-hgtools
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.0:../../devel/py-test
USE_LANGUAGES= # none
REPLACE_PYTHON+= jaraco/lang/python.py
USE_PKG_RESOURCES= yes
do-test:
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"