pkgsrc/textproc/py-deepdiff/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

32 lines
862 B
Makefile

# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:24 wiz Exp $
DISTNAME= deepdiff-5.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/deepdiff/}
MAINTAINER= sep@zepworks.com
HOMEPAGE= https://github.com/seperman/deepdiff
COMMENT= Deep Difference and Search of any Python object/data
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-jsonpickle>=1.0:../../textproc/py-jsonpickle
DEPENDS+= ${PYPKGPREFIX}-ordered-set>=4.0.2:../../devel/py-ordered-set
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} deep deep-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"