mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 19:13:27 -04:00
- Remove easy_install dependency
- Bump PORTREVISION to enforce a cleanup for the easy_install references With hat: python@ Approved by: portmgr (implicit)
This commit is contained in:
parent
ba879a544a
commit
a43c90c802
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358662
2 changed files with 2 additions and 15 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= fdb
|
PORTNAME= fdb
|
||||||
PORTVERSION= 1.4
|
PORTVERSION= 1.4
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases python
|
CATEGORIES= databases python
|
||||||
MASTER_SITES= CHEESESHOP
|
MASTER_SITES= CHEESESHOP
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
@ -15,7 +16,7 @@ LICENSE= BSD
|
||||||
LIB_DEPENDS= libfbclient.so:${PORTSDIR}/databases/firebird25-client
|
LIB_DEPENDS= libfbclient.so:${PORTSDIR}/databases/firebird25-client
|
||||||
|
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS= easy_install
|
USE_PYDISTUTILS= yes
|
||||||
PYDISTUTILS_AUTOPLIST= yes
|
PYDISTUTILS_AUTOPLIST= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
|
@ -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}
|
|
Loading…
Add table
Reference in a new issue