From f51cc02340f7e04b131d9f19a2e2e921f98eb096 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Wed, 14 Apr 2004 06:08:52 +0000 Subject: [PATCH] Update to 0.7.2 --- archivers/py-tarfile/Makefile | 12 ++++++++++-- archivers/py-tarfile/distinfo | 4 ++-- archivers/py-tarfile/pkg-plist | 2 +- 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 +.include + +.if ${PYTHON_REL} < 230 +PLIST_SUB+= NO_PY23="" +.else +PLIST_SUB+= NO_PY23="@comment " +.endif + +.include 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