pkgsrc/devel/py-future/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

24 lines
599 B
Makefile

# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:04 wiz Exp $
DISTNAME= future-0.18.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/future/}
MAINTAINER= gde@llew.me
#HOMEPAGE= https://python-future.org/
COMMENT= Clean single-source support for Python 3 and 2
LICENSE= mit
USE_LANGUAGES= # none
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} futurize futurize-${PYVERSSUFFIX} && \
${MV} pasteurize pasteurize-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"