diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-26 05:41:20 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-26 05:41:20 +0000 |
commit | eaae955904ffd40f18b481a2057b265e0262393b (patch) | |
tree | e5616dec6f51f29726b0771c5dccaf0f5956127e /archivers | |
parent | synscan.nss.nu -> http://www.habets.pp.se/synscan/ (diff) |
add py-bzip2 1.0
Python Interface for bz2 Compression Library
PR: 36319
Submitted by: Hye-Shik Chang <perky@fallin.lv>
Notes
Notes:
svn path=/head/; revision=56673
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/py-bzip2/Makefile | 28 | ||||
-rw-r--r-- | archivers/py-bzip2/distinfo | 1 | ||||
-rw-r--r-- | archivers/py-bzip2/files/patch-bz2.c | 11 | ||||
-rw-r--r-- | archivers/py-bzip2/pkg-comment | 1 | ||||
-rw-r--r-- | archivers/py-bzip2/pkg-descr | 6 | ||||
-rw-r--r-- | archivers/py-bzip2/pkg-plist | 1 |
7 files changed, 49 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index a3aafe41454a..33ac4e77ca8a 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -35,6 +35,7 @@ SUBDIR += parchive SUBDIR += pkzip SUBDIR += ppunpack + SUBDIR += py-bzip2 SUBDIR += rar SUBDIR += rpm SUBDIR += rpm2cpio diff --git a/archivers/py-bzip2/Makefile b/archivers/py-bzip2/Makefile new file mode 100644 index 000000000000..31997e901474 --- /dev/null +++ b/archivers/py-bzip2/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: py-bzip2 +# Date created: 26 March 2002 +# Whom: Hye-Shik Chang <perky@fallin.lv> +# +# $FreeBSD$ +# + +PORTNAME= bzip2 +PORTVERSION= 1.0 +CATEGORIES= archivers python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= python-bz2 +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-bz2-${PORTVERSION} + +MAINTAINER= perky@fallin.lv + +USE_BZIP2= yes +USE_PYTHON= yes +SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py + +do-build: + ${SETUP_CMD} build + +do-install: + ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} + +.include <bsd.port.mk> diff --git a/archivers/py-bzip2/distinfo b/archivers/py-bzip2/distinfo new file mode 100644 index 000000000000..7edc27a7b39c --- /dev/null +++ b/archivers/py-bzip2/distinfo @@ -0,0 +1 @@ +MD5 (python-bz2-1.0.tar.bz2) = 6fd61e912099f618ec5f1407cd965003 diff --git a/archivers/py-bzip2/files/patch-bz2.c b/archivers/py-bzip2/files/patch-bz2.c new file mode 100644 index 000000000000..7c977cda14cf --- /dev/null +++ b/archivers/py-bzip2/files/patch-bz2.c @@ -0,0 +1,11 @@ +--- bz2.c.orig Tue Mar 26 13:32:03 2002 ++++ bz2.c Tue Mar 26 13:32:12 2002 +@@ -1447,7 +1447,7 @@ + int strsize; + int bufsize = SMALLCHUNK; + long totalout; +- PyObject *ret; ++ PyObject *ret = NULL; + bz_stream *bzs = &self->bzs; + int bzerror; + diff --git a/archivers/py-bzip2/pkg-comment b/archivers/py-bzip2/pkg-comment new file mode 100644 index 000000000000..d14801451604 --- /dev/null +++ b/archivers/py-bzip2/pkg-comment @@ -0,0 +1 @@ +Python Interface for bz2 Compression Library diff --git a/archivers/py-bzip2/pkg-descr b/archivers/py-bzip2/pkg-descr new file mode 100644 index 000000000000..c34cf0e0c4eb --- /dev/null +++ b/archivers/py-bzip2/pkg-descr @@ -0,0 +1,6 @@ +The python-bz2 module provides a comprehensive interface for the +bz2 compression library. It implements a complete file interface, +one shot (de)compression functions, and types for sequential +(de)compression. + +WWW: http://python-bz2.sourceforge.net diff --git a/archivers/py-bzip2/pkg-plist b/archivers/py-bzip2/pkg-plist new file mode 100644 index 000000000000..c676e9b8e137 --- /dev/null +++ b/archivers/py-bzip2/pkg-plist @@ -0,0 +1 @@ +lib/%%PYTHON_VERSION%%/site-packages/bz2.so |