From perky@akaraka.yonsei.ac.kr  Mon Mar 25 20:43:51 2002
Return-Path: <perky@akaraka.yonsei.ac.kr>
Received: from akaraka.yonsei.ac.kr (akaraka.yonsei.ac.kr [165.132.134.53])
	by hub.freebsd.org (Postfix) with ESMTP id 01A6737B41A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Mar 2002 20:43:50 -0800 (PST)
Received: (from perky@localhost)
	by akaraka.yonsei.ac.kr (8.11.6/8.11.6) id g2Q4i1X22439;
	Tue, 26 Mar 2002 13:44:01 +0900 (KST)
	(envelope-from perky)
Message-Id: <200203260444.g2Q4i1X22439@akaraka.yonsei.ac.kr>
Date: Tue, 26 Mar 2002 13:44:01 +0900 (KST)
From: Hye-Shik Chang <perky@fallin.lv>
Reply-To: Hye-Shik Chang <perky@fallin.lv>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: archivers/py-bzip2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36319
>Category:       ports
>Synopsis:       New port: archivers/py-bzip2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 25 20:50:00 PST 2002
>Closed-Date:    Mon Mar 25 21:41:39 PST 2002
>Last-Modified:  Mon Mar 25 21:41:39 PST 2002
>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-bzip2, the python interface to bzip2 library

>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-bzip2
#	py-bzip2/Makefile
#	py-bzip2/distinfo
#	py-bzip2/pkg-comment
#	py-bzip2/pkg-descr
#	py-bzip2/pkg-plist
#	py-bzip2/files
#	py-bzip2/files/patch-bz2.c
#
echo c - py-bzip2
mkdir -p py-bzip2 > /dev/null 2>&1
echo x - py-bzip2/Makefile
sed 's/^X//' >py-bzip2/Makefile << 'END-of-py-bzip2/Makefile'
X# New ports collection makefile for:	py-bzip2
X# Date created:		26 March 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bzip2
XPORTVERSION=	1.0
XCATEGORIES=	archivers python
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	python-bz2
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	python-bz2-${PORTVERSION}
X
XMAINTAINER=	perky@fallin.lv
X
XUSE_BZIP2=	yes
XUSE_PYTHON=	yes
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
X
Xdo-build:
X	${SETUP_CMD} build
X
Xdo-install:
X	${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
X
X.include <bsd.port.mk>
END-of-py-bzip2/Makefile
echo x - py-bzip2/distinfo
sed 's/^X//' >py-bzip2/distinfo << 'END-of-py-bzip2/distinfo'
XMD5 (python-bz2-1.0.tar.bz2) = 6fd61e912099f618ec5f1407cd965003
END-of-py-bzip2/distinfo
echo x - py-bzip2/pkg-comment
sed 's/^X//' >py-bzip2/pkg-comment << 'END-of-py-bzip2/pkg-comment'
XPython Interface for bz2 Compression Library
END-of-py-bzip2/pkg-comment
echo x - py-bzip2/pkg-descr
sed 's/^X//' >py-bzip2/pkg-descr << 'END-of-py-bzip2/pkg-descr'
XThe python-bz2 module provides a comprehensive interface for the
Xbz2 compression library. It implements a complete file interface,
Xone shot (de)compression functions, and types for sequential
X(de)compression.
X
XWWW: http://python-bz2.sourceforge.net
END-of-py-bzip2/pkg-descr
echo x - py-bzip2/pkg-plist
sed 's/^X//' >py-bzip2/pkg-plist << 'END-of-py-bzip2/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/bz2.so
END-of-py-bzip2/pkg-plist
echo c - py-bzip2/files
mkdir -p py-bzip2/files > /dev/null 2>&1
echo x - py-bzip2/files/patch-bz2.c
sed 's/^X//' >py-bzip2/files/patch-bz2.c << 'END-of-py-bzip2/files/patch-bz2.c'
X--- bz2.c.orig	Tue Mar 26 13:32:03 2002
X+++ bz2.c	Tue Mar 26 13:32:12 2002
X@@ -1447,7 +1447,7 @@
X 	int strsize;
X 	int bufsize = SMALLCHUNK;
X 	long totalout;
X-	PyObject *ret;
X+	PyObject *ret = NULL;
X 	bz_stream *bzs = &self->bzs;
X 	int bzerror;
X 
END-of-py-bzip2/files/patch-bz2.c
exit

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Mon Mar 25 21:41:29 PST 2002 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36319 
>Unformatted:
