diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-03-03 11:09:52 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-03-03 11:09:52 +0000 |
commit | 873689157563e92dc9a04f185bf353b1fb1debab (patch) | |
tree | 9e4b7f32aff8dafcdee5ded6c2692d8708c5b20c /databases/py-postgresql/files | |
parent | Fix build with clang (diff) |
databases/py-postgresql: remove local plist hack and support staging
- clarify the license (BSD3C)
- use 3 in USE_PYTHON
- convert to using auto-generated packing list and remove NO_STAGE
- remove local plist hack - it is now handled by bsd.python.mk
- bump PORTREVISION for the case
Approved by: portmgr (blanket)
Diffstat (limited to 'databases/py-postgresql/files')
-rw-r--r-- | databases/py-postgresql/files/py3k-fix-pkg-plist.inc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/databases/py-postgresql/files/py3k-fix-pkg-plist.inc b/databases/py-postgresql/files/py3k-fix-pkg-plist.inc deleted file mode 100644 index 93acb972e248..000000000000 --- a/databases/py-postgresql/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} |