From 7886834838d525ae3f225dfd3e1fa888f63492b8 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Wed, 27 Mar 2002 15:23:02 +0000 Subject: add py-tarfile 0.3 Python library for reading and writing tarballs PR: 36371 Submitted by: Hye-Shik Chang --- archivers/Makefile | 1 + archivers/py-tarfile/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ archivers/py-tarfile/distinfo | 1 + archivers/py-tarfile/pkg-comment | 1 + archivers/py-tarfile/pkg-descr | 5 +++++ archivers/py-tarfile/pkg-plist | 6 ++++++ 6 files changed, 52 insertions(+) create mode 100644 archivers/py-tarfile/Makefile create mode 100644 archivers/py-tarfile/distinfo create mode 100644 archivers/py-tarfile/pkg-comment create mode 100644 archivers/py-tarfile/pkg-descr create mode 100644 archivers/py-tarfile/pkg-plist (limited to 'archivers') diff --git a/archivers/Makefile b/archivers/Makefile index 33ac4e77ca8a..b31a9a601d39 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -36,6 +36,7 @@ SUBDIR += pkzip SUBDIR += ppunpack SUBDIR += py-bzip2 + SUBDIR += py-tarfile SUBDIR += rar SUBDIR += rpm SUBDIR += rpm2cpio diff --git a/archivers/py-tarfile/Makefile b/archivers/py-tarfile/Makefile new file mode 100644 index 000000000000..77d2e2e710fa --- /dev/null +++ b/archivers/py-tarfile/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: py-tarfile +# Date created: 26 March 2002 +# Whom: Hye-Shik Chang +# +# $FreeBSD$ +# + +PORTNAME= tarfile +PORTVERSION= 0.3 +CATEGORIES= archivers python +MASTER_SITES= http://www.gustaebel.de/lars/tarfile/ \ + http://www3.kr.freebsd.org/~perky/distfiles/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= perky@fallin.lv + +USE_PYTHON= yes +SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py + +.include + +.if ${PYTHON_REL} < 200 +IGNORE= needs Python 2.0 at least +.else +.if ${PYTHON_REL} < 220 +PLIST_SUB+= UNDERPY22="" +.else +PLIST_SUB+= UNDERPY22="@comment " +.endif +.endif + +do-build: + ${SETUP_CMD} build + +do-install: + ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} + +.include diff --git a/archivers/py-tarfile/distinfo b/archivers/py-tarfile/distinfo new file mode 100644 index 000000000000..0c651a813e87 --- /dev/null +++ b/archivers/py-tarfile/distinfo @@ -0,0 +1 @@ +MD5 (tarfile-0.3.tar.gz) = 68a105ddc29c39bdeedf6a4640369d70 diff --git a/archivers/py-tarfile/pkg-comment b/archivers/py-tarfile/pkg-comment new file mode 100644 index 000000000000..f6ac391f3798 --- /dev/null +++ b/archivers/py-tarfile/pkg-comment @@ -0,0 +1 @@ +Python library for reading and writing tarballs diff --git a/archivers/py-tarfile/pkg-descr b/archivers/py-tarfile/pkg-descr new file mode 100644 index 000000000000..73befa602d25 --- /dev/null +++ b/archivers/py-tarfile/pkg-descr @@ -0,0 +1,5 @@ +Tarfile is a comprehensive implementation of the TAR archive +format for the Python Language as a module. It enables read/write +access to common TAR archives including all specialities. + +WWW: http://www.gustaebel.de/lars/tarfile/ diff --git a/archivers/py-tarfile/pkg-plist b/archivers/py-tarfile/pkg-plist new file mode 100644 index 000000000000..85a425b2a793 --- /dev/null +++ b/archivers/py-tarfile/pkg-plist @@ -0,0 +1,6 @@ +lib/%%PYTHON_VERSION%%/site-packages/tarfile.py +lib/%%PYTHON_VERSION%%/site-packages/tarfile.pyc +lib/%%PYTHON_VERSION%%/site-packages/tarfile.pyo +%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.py +%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.pyc +%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.pyo -- cgit v1.2.3