aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2013-02-04 05:07:53 +0800
committernivit <nivit@FreeBSD.org>2013-02-04 05:07:53 +0800
commitee8dbf79e2815c35cc4dfa32aca15f78ff37565d (patch)
tree23f813ca18ad512a25f073737d45269f76447c42 /devel
parent80ed83b4c85023ca7a65ec360231667c682f510d (diff)
downloadfreebsd-ports-gnome-ee8dbf79e2815c35cc4dfa32aca15f78ff37565d.tar.gz
freebsd-ports-gnome-ee8dbf79e2815c35cc4dfa32aca15f78ff37565d.tar.zst
freebsd-ports-gnome-ee8dbf79e2815c35cc4dfa32aca15f78ff37565d.zip
- Update to 0.8
- Remove OPTIONS_DEFINE - Include fix for pkg-plist when Python ver >= 3.2
Diffstat (limited to 'devel')
-rw-r--r--devel/py-stevedore/Makefile15
-rw-r--r--devel/py-stevedore/distinfo4
-rw-r--r--devel/py-stevedore/pkg-plist3
3 files changed, 7 insertions, 15 deletions
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 <bsd.port.post.mk>
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