From ef2f009cc5b54036cf9a73e8205facc3c012d0b4 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 30 Nov 2013 18:25:59 +0000 Subject: [PATCH] - Use PYDISTUTILS_AUTOPLIST - Support STAGEDIR - Cleanup Makefile --- devel/py-distutils-extra/Makefile | 23 ++----------------- devel/py-distutils-extra/pkg-plist | 37 ------------------------------ 2 files changed, 2 insertions(+), 58 deletions(-) delete mode 100644 devel/py-distutils-extra/pkg-plist 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 - -#.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 +.include 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%%