| @@ -1,28 +1,28 @@ | | | @@ -1,28 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.113 2016/10/18 08:33:28 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.114 2016/10/19 13:00:34 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= setuptools-28.5.0 | | 3 | DISTNAME= setuptools-28.6.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= devel python | | 5 | CATEGORIES= devel python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools/} |
7 | | | 7 | |
8 | MAINTAINER= joerg@NetBSD.org | | 8 | MAINTAINER= joerg@NetBSD.org |
9 | HOMEPAGE= https://pypi.python.org/pypi/setuptools | | 9 | HOMEPAGE= https://pypi.python.org/pypi/setuptools |
10 | COMMENT= New Python packaging system | | 10 | COMMENT= New Python packaging system |
11 | LICENSE= python-software-foundation OR zpl-2.0 | | 11 | LICENSE= python-software-foundation OR zpl-2.0 |
12 | | | 12 | |
13 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | | 13 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |
14 | # not sure if this would introduce a dependency cycle | | 14 | # not sure if this would introduce a dependency cycle |
15 | #BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | | 15 | #BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner |
16 | | | 16 | |
17 | PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info | | 17 | PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info |
18 | | | 18 | |
19 | REPLACE_PYTHON+= setuptools/command/easy_install.py | | 19 | REPLACE_PYTHON+= setuptools/command/easy_install.py |
20 | | | 20 | |
21 | # upstream often forgets deleting files, and packages on Windows, | | 21 | # upstream often forgets deleting files, and packages on Windows, |
22 | # so permissions are usually wrong | | 22 | # so permissions are usually wrong |
23 | post-install: | | 23 | post-install: |
24 | ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/*.orig | | 24 | ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/*.orig |
25 | | | 25 | |
26 | .include "../../lang/python/application.mk" | | 26 | .include "../../lang/python/application.mk" |
27 | .include "../../lang/python/distutils.mk" | | 27 | .include "../../lang/python/distutils.mk" |
28 | .include "../../mk/bsd.pkg.mk" | | 28 | .include "../../mk/bsd.pkg.mk" |