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