67e1f1a6bf
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.
30 lines
898 B
Makefile
30 lines
898 B
Makefile
# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:26 wiz Exp $
|
|
|
|
DISTNAME= sphobjinv-2.0.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sphobjinv/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/bskinn/sphobjinv
|
|
COMMENT= Toolkit for manipulation and inspection of Sphinx objects.inv files
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-attrs>=17.4:../../devel/py-attrs
|
|
DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
|
|
DEPENDS+= ${PYPKGPREFIX}-fuzzywuzzy>=0.3:../../devel/py-fuzzywuzzy
|
|
DEPENDS+= ${PYPKGPREFIX}-jsonschema>=2.0:../../textproc/py-jsonschema
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} sphobjinv sphobjinv-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|