From ee8dbf79e2815c35cc4dfa32aca15f78ff37565d Mon Sep 17 00:00:00 2001 From: nivit Date: Sun, 3 Feb 2013 21:07:53 +0000 Subject: - Update to 0.8 - Remove OPTIONS_DEFINE - Include fix for pkg-plist when Python ver >= 3.2 --- devel/py-stevedore/Makefile | 15 ++------------- devel/py-stevedore/distinfo | 4 ++-- devel/py-stevedore/pkg-plist | 3 +++ 3 files changed, 7 insertions(+), 15 deletions(-) (limited to 'devel') diff --git a/devel/py-stevedore/Makefile b/devel/py-stevedore/Makefile index ee3af3b467e0..adf65acbb44c 100644 --- a/devel/py-stevedore/Makefile +++ b/devel/py-stevedore/Makefile @@ -6,7 +6,7 @@ # PORTNAME= stevedore -PORTVERSION= 0.3 +PORTVERSION= 0.8 #PORTREVISION= 0 CATEGORIES= devel MASTER_SITES= CHEESESHOP @@ -15,7 +15,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Manage dynamic plugins for Python applications -OPTIONS_DEFINE= DOCS OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options # Python3 ready @@ -37,17 +36,7 @@ post-install: .endif .if ${PYTHON_REL} >= 320 -PYMAGICTAG= ${PYTHON_CMD} -c 'import imp; print(imp.get_tag())' -add-plist-post: - @${AWK} '\ - /\.py[co]$$/ && !($$0 ~ "/" pc "/") {id = match($$0, /\/[^\/]+\.py[co]$$/); if (id != 0) {d = substr($$0, 1, RSTART - 1); dirs[d] = 1}; sub(/\.py[co]$$/, "." mt "&"); sub(/[^\/]+\.py[co]$$/, pc "/&"); print; next} \ - /^@dirrm / {d = substr($$0, 8); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \ - {print} \ - END {if (sp in dirs) {print "@dirrm " sp "/" pc}} \ - ' \ - pc="__pycache__" mt="$$(${PYMAGICTAG})" sp="${PYTHON_SITELIBDIR:S,${PYTHONBASE}/,,g}" \ - ${TMPPLIST} > ${TMPPLIST}.pyc_tmp - @${MV} ${TMPPLIST}.pyc_tmp ${TMPPLIST} +.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" .endif .include diff --git a/devel/py-stevedore/distinfo b/devel/py-stevedore/distinfo index 1a2076263a8e..0e81f9fdbb8e 100644 --- a/devel/py-stevedore/distinfo +++ b/devel/py-stevedore/distinfo @@ -1,2 +1,2 @@ -SHA256 (stevedore-0.3.tar.gz) = c86fe6931192d5e57755d21cf83d85499deaa8098f05607f031c250b85b6314a -SIZE (stevedore-0.3.tar.gz) = 19908 +SHA256 (stevedore-0.8.tar.gz) = bf187929f739f86a73ad218193d23bddb34c717c5adb6fd84008c2975043edb6 +SIZE (stevedore-0.8.tar.gz) = 94457 diff --git a/devel/py-stevedore/pkg-plist b/devel/py-stevedore/pkg-plist index b1c13dcbf0f2..ad9b338f4264 100644 --- a/devel/py-stevedore/pkg-plist +++ b/devel/py-stevedore/pkg-plist @@ -30,6 +30,9 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/__init__.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/__init__.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/manager.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/manager.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/manager.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/test_dispatch.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/test_dispatch.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stevedore/tests/test_dispatch.pyo -- cgit