aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-distutils-extra
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-12-01 02:25:59 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-12-01 02:25:59 +0800
commit6b77dd4e49640decb860eafdb343a34291f318f0 (patch)
treeb1aa7947b42ee23cd558b4aa2d7ef9397449bab6 /devel/py-distutils-extra
parent2c7e1e48d5486c458d1e8742a9993171835a5312 (diff)
downloadfreebsd-ports-gnome-6b77dd4e49640decb860eafdb343a34291f318f0.tar.gz
freebsd-ports-gnome-6b77dd4e49640decb860eafdb343a34291f318f0.tar.zst
freebsd-ports-gnome-6b77dd4e49640decb860eafdb343a34291f318f0.zip
- Use PYDISTUTILS_AUTOPLIST
- Support STAGEDIR - Cleanup Makefile
Diffstat (limited to 'devel/py-distutils-extra')
-rw-r--r--devel/py-distutils-extra/Makefile23
-rw-r--r--devel/py-distutils-extra/pkg-plist37
2 files changed, 2 insertions, 58 deletions
diff --git a/devel/py-distutils-extra/Makefile b/devel/py-distutils-extra/Makefile
index 79b96ebd0851..c136133cc53f 100644
--- a/devel/py-distutils-extra/Makefile
+++ b/devel/py-distutils-extra/Makefile
@@ -14,28 +14,9 @@ COMMENT= Add support for i18n, documentation, and icons to distutils
LICENSE= GPLv2
-NO_STAGE= yes
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PYDISTUTILS_PKGNAME= python_distutils_extra
-PYDISTUTILS_NOEGGINFO= yes
-PYTHON_PY3K_PLIST_HACK= yes
+PYDISTUTILS_AUTOPLIST= yes
-PLIST_SUB= PYTHON_SUFFIX=${PYTHON_SUFFIX}
-
-.include <bsd.port.pre.mk>
-
-#.if ${PYTHON_REL} >= 320
-#PLIST_SUB+= PYTHON32=""
-#.else
-#PLIST_SUB+= PYTHON32="@comment "
-#.endif
-
-post-install:
-.if ${PYTHON_REL} >= 320
-#.for py in __init__.py command/__init__.py command/build_extra.py
-# ${PYTHON_CMD} -m compileall ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}/DistUtilsExtra/${py}
-#.endfor
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-distutils-extra/pkg-plist b/devel/py-distutils-extra/pkg-plist
deleted file mode 100644
index 5412f650d9e5..000000000000
--- a/devel/py-distutils-extra/pkg-plist
+++ /dev/null
@@ -1,37 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/auto.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/auto.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/auto.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_extra.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_extra.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_extra.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_help.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_help.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_help.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_i18n.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_i18n.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_i18n.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_icons.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_icons.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/build_icons.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/clean_i18n.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/clean_i18n.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/clean_i18n.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/pylint.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/pylint.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command/pylint.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra/command
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/DistUtilsExtra
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%