pkgsrc/devel/py-setuptools/Makefile
wiz 02783b1d73 Update to 17.1.1:
------
17.1.1
------

* Backed out unintended changes to pkg_resources, restoring removal of
  deprecated imp module (`ref
  <f572ec9563 (comment-1881283)>`_).

----
17.1
----

* Issue #380: Add support for range operators on environment
  marker evaluation.
2015-06-14 16:29:06 +00:00

31 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.74 2015/06/14 16:29:06 wiz Exp $
EGG_VERSION= 17.1.1
DISTNAME= setuptools-${EGG_VERSION}
PKGNAME= ${PYPKGPREFIX}-setuptools-${EGG_VERSION}
CATEGORIES= devel python
MASTER_SITES= https://pypi.python.org/packages/source/s/setuptools/
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/setuptools
COMMENT= New Python packaging system
LICENSE= python-software-foundation OR zpl
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
REPLACE_PYTHON+= setuptools/command/easy_install.py
REPLACE_PYTHON+= setuptools/tests/test_resources.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
${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/*
${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${PYSITELIB}/setuptools/*.tmpl
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"