aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-04-14 14:08:52 +0800
committerperky <perky@FreeBSD.org>2004-04-14 14:08:52 +0800
commit42376f0b8827d3e59664247035b230a74ed7380f (patch)
treeb38f469e77af372ac5a1e356eb2972e15a080faf /archivers
parent6cba5e8248cbc2f441e2d711dc528e9ad0ca9312 (diff)
downloadfreebsd-ports-graphics-42376f0b8827d3e59664247035b230a74ed7380f.tar.gz
freebsd-ports-graphics-42376f0b8827d3e59664247035b230a74ed7380f.tar.zst
freebsd-ports-graphics-42376f0b8827d3e59664247035b230a74ed7380f.zip
Update to 0.7.2
Diffstat (limited to 'archivers')
-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 420e4f9f963..eb4780ff8f6 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 8d926a41b72..4911607ce43 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 03169a7edf4..c03c8881238 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