summaryrefslogtreecommitdiff
path: root/archivers/py-tarfile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-04-14 06:08:52 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-04-14 06:08:52 +0000
commitf51cc02340f7e04b131d9f19a2e2e921f98eb096 (patch)
treeea1b5c6fa4d0c2f11d92ce09cf6089172d95a4cb /archivers/py-tarfile
parentadd arp-sk 0.0.15 (diff)
Update to 0.7.2
Notes
Notes: svn path=/head/; revision=106989
Diffstat (limited to 'archivers/py-tarfile')
-rw-r--r--archivers/py-tarfile/Makefile12
-rw-r--r--archivers/py-tarfile/distinfo4
-rw-r--r--archivers/py-tarfile/pkg-plist2
3 files changed, 13 insertions, 5 deletions
diff --git a/archivers/py-tarfile/Makefile b/archivers/py-tarfile/Makefile
index 420e4f9f9630..eb4780ff8f6b 100644
--- a/archivers/py-tarfile/Makefile
+++ b/archivers/py-tarfile/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tarfile
-PORTVERSION= 0.7.1
+PORTVERSION= 0.7.2
CATEGORIES= archivers python
MASTER_SITES= http://www.gustaebel.de/lars/tarfile/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,4 +17,12 @@ COMMENT= Python library for reading and writing tarballs
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 230
+PLIST_SUB+= NO_PY23=""
+.else
+PLIST_SUB+= NO_PY23="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/archivers/py-tarfile/distinfo b/archivers/py-tarfile/distinfo
index 8d926a41b72f..4911607ce43c 100644
--- a/archivers/py-tarfile/distinfo
+++ b/archivers/py-tarfile/distinfo
@@ -1,2 +1,2 @@
-MD5 (tarfile-0.7.1.tar.gz) = f501f682d90ab0b1d2e5034b9e5a6879
-SIZE (tarfile-0.7.1.tar.gz) = 54946
+MD5 (tarfile-0.7.2.tar.gz) = 01c1a83301244021e4397f51981bdf5b
+SIZE (tarfile-0.7.2.tar.gz) = 55314
diff --git a/archivers/py-tarfile/pkg-plist b/archivers/py-tarfile/pkg-plist
index 03169a7edf4d..c03c8881238c 100644
--- a/archivers/py-tarfile/pkg-plist
+++ b/archivers/py-tarfile/pkg-plist
@@ -1,4 +1,4 @@
-%%PYTHON_SITELIBDIR%%/_tarfile.so
+%%NO_PY23%%%%PYTHON_SITELIBDIR%%/_tarfile.so
%%PYTHON_SITELIBDIR%%/tarfile.py
%%PYTHON_SITELIBDIR%%/tarfile.pyc
%%PYTHON_SITELIBDIR%%/tarfile.pyo