pkgsrc/devel/py-setuptools/Makefile
wiz 1682c6507d Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
2016-08-28 15:48:28 +00:00

28 lines
1,009 B
Makefile

# $NetBSD: Makefile,v 1.107 2016/08/28 15:48:31 wiz Exp $
DISTNAME= setuptools-26.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/setuptools
COMMENT= New Python packaging system
LICENSE= python-software-foundation OR zpl-2.0
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
# not sure if this would introduce a dependency cycle
#BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
REPLACE_PYTHON+= setuptools/command/easy_install.py
# upstream often forgets deleting files, and packages on Windows,
# so permissions are usually wrong
post-install:
${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/*.orig
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"