diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2014-06-21 06:13:20 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2014-06-21 06:13:20 +0000 |
commit | a43c90c802cb2b256a87d9e71d9ee116cb4e1bdf (patch) | |
tree | 3431c747784df5b3281a5d5a68554e2708c2c187 /databases/py-fdb | |
parent | ba879a544a800a2d7084cedd0c15ee9111e3e0aa (diff) | |
download | ports-a43c90c802cb2b256a87d9e71d9ee116cb4e1bdf.tar.gz ports-a43c90c802cb2b256a87d9e71d9ee116cb4e1bdf.zip |
Notes
Diffstat (limited to 'databases/py-fdb')
-rw-r--r-- | databases/py-fdb/Makefile | 3 | ||||
-rw-r--r-- | databases/py-fdb/files/py3k-fix-pkg-plist.inc | 14 |
2 files changed, 2 insertions, 15 deletions
diff --git a/databases/py-fdb/Makefile b/databases/py-fdb/Makefile index 343a4e4e4a9a..222a037b2e91 100644 --- a/databases/py-fdb/Makefile +++ b/databases/py-fdb/Makefile @@ -3,6 +3,7 @@ PORTNAME= fdb PORTVERSION= 1.4 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,7 +16,7 @@ LICENSE= BSD LIB_DEPENDS= libfbclient.so:${PORTSDIR}/databases/firebird25-client USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes .include <bsd.port.pre.mk> diff --git a/databases/py-fdb/files/py3k-fix-pkg-plist.inc b/databases/py-fdb/files/py3k-fix-pkg-plist.inc deleted file mode 100644 index 93acb972e248..000000000000 --- a/databases/py-fdb/files/py3k-fix-pkg-plist.inc +++ /dev/null @@ -1,14 +0,0 @@ -# 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/) -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} |