mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
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
|
@ -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
|
||||||
|
|
28
archivers/py-bzip2/Makefile
Normal file
28
archivers/py-bzip2/Makefile
Normal 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>
|
1
archivers/py-bzip2/distinfo
Normal file
1
archivers/py-bzip2/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (python-bz2-1.0.tar.bz2) = 6fd61e912099f618ec5f1407cd965003
|
11
archivers/py-bzip2/files/patch-bz2.c
Normal file
11
archivers/py-bzip2/files/patch-bz2.c
Normal 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;
|
||||||
|
|
1
archivers/py-bzip2/pkg-comment
Normal file
1
archivers/py-bzip2/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Python Interface for bz2 Compression Library
|
6
archivers/py-bzip2/pkg-descr
Normal file
6
archivers/py-bzip2/pkg-descr
Normal 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
|
1
archivers/py-bzip2/pkg-plist
Normal file
1
archivers/py-bzip2/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
||||||
|
lib/%%PYTHON_VERSION%%/site-packages/bz2.so
|
Loading…
Add table
Reference in a new issue