Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2013 20:20:35 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313539 - head/databases/py-sqlalchemy
Message-ID:  <201303062020.r26KKg7a053769@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Wed Mar  6 20:20:35 2013
New Revision: 313539
URL: http://svnweb.freebsd.org/changeset/ports/313539

Log:
  - Update to 0.7.10
  - Include fix of pkg-plist when Python version >= 3.2

Modified:
  head/databases/py-sqlalchemy/Makefile
  head/databases/py-sqlalchemy/distinfo

Modified: head/databases/py-sqlalchemy/Makefile
==============================================================================
--- head/databases/py-sqlalchemy/Makefile	Wed Mar  6 19:49:07 2013	(r313538)
+++ head/databases/py-sqlalchemy/Makefile	Wed Mar  6 20:20:35 2013	(r313539)
@@ -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

Modified: head/databases/py-sqlalchemy/distinfo
==============================================================================
--- head/databases/py-sqlalchemy/distinfo	Wed Mar  6 19:49:07 2013	(r313538)
+++ head/databases/py-sqlalchemy/distinfo	Wed Mar  6 20:20:35 2013	(r313539)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303062020.r26KKg7a053769>