| @@ -1,33 +1,33 @@ | | | @@ -1,33 +1,33 @@ |
1 | # $NetBSD: Makefile,v 1.134 2017/07/26 16:34:40 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.135 2017/07/30 05:27:30 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= setuptools-36.2.3 | | 3 | DISTNAME= setuptools-36.2.4 |
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 | EXTRACT_SUFX= .zip | | 7 | EXTRACT_SUFX= .zip |
8 | | | 8 | |
9 | MAINTAINER= joerg@NetBSD.org | | 9 | MAINTAINER= joerg@NetBSD.org |
10 | HOMEPAGE= https://pypi.python.org/pypi/setuptools | | 10 | HOMEPAGE= https://pypi.python.org/pypi/setuptools |
11 | COMMENT= New Python packaging system | | 11 | COMMENT= New Python packaging system |
12 | LICENSE= python-software-foundation OR zpl-2.0 | | 12 | LICENSE= python-software-foundation OR zpl-2.0 |
13 | | | 13 | |
14 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | | 14 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |
15 | # included again since 36.0 in vendored version | | 15 | # included again since 36.0 in vendored version |
16 | #DEPENDS+= ${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs | | 16 | #DEPENDS+= ${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs |
17 | #DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging | | 17 | #DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging |
18 | #DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | | 18 | #DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six |
19 | # needed for tests, but would introduce dependency cycle | | 19 | # needed for tests, but would introduce dependency cycle |
20 | #BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | | 20 | #BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner |
21 | | | 21 | |
22 | REPLACE_PYTHON+= setuptools/command/easy_install.py | | 22 | REPLACE_PYTHON+= setuptools/command/easy_install.py |
23 | | | 23 | |
24 | PYSETUPTESTTARGET= pytest | | 24 | PYSETUPTESTTARGET= pytest |
25 | | | 25 | |
26 | # upstream often forgets deleting files, and packages on Windows, | | 26 | # upstream often forgets deleting files, and packages on Windows, |
27 | # so permissions are usually wrong | | 27 | # so permissions are usually wrong |
28 | post-install: | | 28 | post-install: |
29 | ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/*.orig | | 29 | ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/*.orig |
30 | | | 30 | |
31 | .include "../../lang/python/application.mk" | | 31 | .include "../../lang/python/application.mk" |
32 | .include "../../lang/python/distutils.mk" | | 32 | .include "../../lang/python/distutils.mk" |
33 | .include "../../mk/bsd.pkg.mk" | | 33 | .include "../../mk/bsd.pkg.mk" |