1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

add py-tarfile 0.3

Python library for reading and writing tarballs

PR:		36371
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
This commit is contained in:
Ying-Chieh Liao 2002-03-27 15:23:02 +00:00
parent 6c2d100fde
commit 7886834838
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56747
6 changed files with 52 additions and 0 deletions

View File

@ -36,6 +36,7 @@
SUBDIR += pkzip
SUBDIR += ppunpack
SUBDIR += py-bzip2
SUBDIR += py-tarfile
SUBDIR += rar
SUBDIR += rpm
SUBDIR += rpm2cpio

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: py-tarfile
# Date created: 26 March 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (tarfile-0.3.tar.gz) = 68a105ddc29c39bdeedf6a4640369d70

View File

@ -0,0 +1 @@
Python library for reading and writing tarballs

View File

@ -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/

View File

@ -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