Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 22:34:19 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36371: New port: archivers/py-tarfile
Message-ID:  <200203271334.g2RDYJ252202@akaraka.yonsei.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         36371
>Category:       ports
>Synopsis:       New port: archivers/py-tarfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 27 05:40:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD akaraka.yonsei.ac.kr 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Mar 20 18:27:02 KST 2002 root@sbtm.yonsei.ac.kr:/usr/src/sys/compile/JOARRA i386

>Description:
New port for py-tarfile, the Comprehensive TAR file interface for Python

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-tarfile
#	py-tarfile/Makefile
#	py-tarfile/distinfo
#	py-tarfile/pkg-comment
#	py-tarfile/pkg-descr
#	py-tarfile/pkg-plist
#
echo c - py-tarfile
mkdir -p py-tarfile > /dev/null 2>&1
echo x - py-tarfile/Makefile
sed 's/^X//' >py-tarfile/Makefile << 'END-of-py-tarfile/Makefile'
X# New ports collection makefile for:	py-tarfile
X# Date created:		26 March 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tarfile
XPORTVERSION=	0.3
XCATEGORIES=	archivers python
XMASTER_SITES=	http://www.gustaebel.de/lars/tarfile/ \
X		http://www3.kr.freebsd.org/~perky/distfiles/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	perky@fallin.lv
X
XUSE_PYTHON=	yes
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
X
X.include <bsd.port.pre.mk>
X
X.if ${PYTHON_REL} < 200
XIGNORE=		needs Python 2.0 at least
X.else
X.if ${PYTHON_REL} < 220
XPLIST_SUB+=	UNDERPY22=""
X.else
XPLIST_SUB+=	UNDERPY22="@comment "
X.endif
X.endif
X
Xdo-build:
X	${SETUP_CMD} build
X
Xdo-install:
X	${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
X
X.include <bsd.port.post.mk>
END-of-py-tarfile/Makefile
echo x - py-tarfile/distinfo
sed 's/^X//' >py-tarfile/distinfo << 'END-of-py-tarfile/distinfo'
XMD5 (tarfile-0.3.tar.gz) = 68a105ddc29c39bdeedf6a4640369d70
END-of-py-tarfile/distinfo
echo x - py-tarfile/pkg-comment
sed 's/^X//' >py-tarfile/pkg-comment << 'END-of-py-tarfile/pkg-comment'
XPython library for reading and writing tarballs
END-of-py-tarfile/pkg-comment
echo x - py-tarfile/pkg-descr
sed 's/^X//' >py-tarfile/pkg-descr << 'END-of-py-tarfile/pkg-descr'
XTarfile is a comprehensive implementation of the TAR archive
Xformat for the Python Language as a module. It enables read/write
Xaccess to common TAR archives including all specialities.
X
XWWW: http://www.gustaebel.de/lars/tarfile/
END-of-py-tarfile/pkg-descr
echo x - py-tarfile/pkg-plist
sed 's/^X//' >py-tarfile/pkg-plist << 'END-of-py-tarfile/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/tarfile.py
Xlib/%%PYTHON_VERSION%%/site-packages/tarfile.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/tarfile.pyo
X%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.py
X%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.pyc
X%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.pyo
END-of-py-tarfile/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203271334.g2RDYJ252202>