summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2013-03-06 20:20:35 +0000
committerNicola Vitale <nivit@FreeBSD.org>2013-03-06 20:20:35 +0000
commit3b74c37703ced79f6804f83d032304bfa8596bdf (patch)
treeccf7aa64215fbf5c527b82cfe23628b51f1fb4b3 /databases
parent- correct dependency on py-salt the same way as in r313502 (diff)
- Update to 0.7.10
- Include fix of pkg-plist when Python version >= 3.2
Notes
Notes: svn path=/head/; revision=313539
Diffstat (limited to 'databases')
-rw-r--r--databases/py-sqlalchemy/Makefile18
-rw-r--r--databases/py-sqlalchemy/distinfo4
2 files changed, 4 insertions, 18 deletions
diff --git a/databases/py-sqlalchemy/Makefile b/databases/py-sqlalchemy/Makefile
index 86981dd003b0..90885ab374f0 100644
--- a/databases/py-sqlalchemy/Makefile
+++ b/databases/py-sqlalchemy/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sqlalchemy
-PORTVERSION= 0.7.9
-PORTREVISION= 3
+PORTVERSION= 0.7.10
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -112,21 +111,8 @@ easyinstall-setopt:
${DO_NADA}
.endif
-# When Python version is 3.2+ we rewrite all the filenames
-# of TMPPLIST that end with .py[co], so that they conform
-# to PEP 3147 (see http://www.python.org/dev/peps/pep-3147/)
.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/p3k-fix-pkg-plist.inc"
.endif
regression-test: build
diff --git a/databases/py-sqlalchemy/distinfo b/databases/py-sqlalchemy/distinfo
index e39b73557c26..fc43a0e734ec 100644
--- a/databases/py-sqlalchemy/distinfo
+++ b/databases/py-sqlalchemy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (SQLAlchemy-0.7.9.tar.gz) = 4a89556cb55275d1af694dc4d5700d8bf0f83690bac16ab30340092ff25bb4d7
-SIZE (SQLAlchemy-0.7.9.tar.gz) = 2649932
+SHA256 (SQLAlchemy-0.7.10.tar.gz) = 77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66
+SIZE (SQLAlchemy-0.7.10.tar.gz) = 3541639