Date: Tue, 26 Mar 2002 13:44:01 +0900 (KST) From: Hye-Shik Chang <perky@fallin.lv> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36319: New port: archivers/py-bzip2 Message-ID: <200203260444.g2Q4i1X22439@akaraka.yonsei.ac.kr>
next in thread | raw e-mail | index | archive | help
>Number: 36319 >Category: ports >Synopsis: New port: archivers/py-bzip2 >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: Mon Mar 25 20:50:00 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-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: >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?200203260444.g2Q4i1X22439>