mirror of
https://git.freebsd.org/ports.git
synced 2025-05-19 18:43:13 -04:00
- Update to 0.7.10
- Include fix of pkg-plist when Python version >= 3.2
This commit is contained in:
parent
5c1494138d
commit
3b74c37703
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313539
2 changed files with 4 additions and 18 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue