add py-bzip2 1.0

Python Interface for bz2 Compression Library

PR:		36319
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
This commit is contained in:
Ying-Chieh Liao 2002-03-26 05:41:20 +00:00
parent a59d36be89
commit eaae955904
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56673
7 changed files with 49 additions and 0 deletions

View file

@ -35,6 +35,7 @@
SUBDIR += parchive SUBDIR += parchive
SUBDIR += pkzip SUBDIR += pkzip
SUBDIR += ppunpack SUBDIR += ppunpack
SUBDIR += py-bzip2
SUBDIR += rar SUBDIR += rar
SUBDIR += rpm SUBDIR += rpm
SUBDIR += rpm2cpio SUBDIR += rpm2cpio

View file

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

View file

@ -0,0 +1 @@
MD5 (python-bz2-1.0.tar.bz2) = 6fd61e912099f618ec5f1407cd965003

View file

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

View file

@ -0,0 +1 @@
Python Interface for bz2 Compression Library

View file

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

View file

@ -0,0 +1 @@
lib/%%PYTHON_VERSION%%/site-packages/bz2.so