1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Python module implementing LZMA Utils' liblzma API

PylibLZMA provides a python interface for the liblzma
library to read and write data that has been compressed
or can be decompressed by Lasse Collin's LZMA Utils.

WWW: http://launchpad.net/pyliblzma

PR:		ports/129560
Submitted by:	David Naylor <dragonsa at highveldmail.co.za>
This commit is contained in:
Martin Wilke 2009-02-15 20:09:41 +00:00
parent af485f02e8
commit 0af29caee8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228452
6 changed files with 59 additions and 0 deletions

View File

@ -125,6 +125,7 @@
SUBDIR += ppmd
SUBDIR += ppmd-7z
SUBDIR += ppunpack
SUBDIR += py-liblzma
SUBDIR += py-librtfcomp
SUBDIR += py-lzma
SUBDIR += py-tarfile

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: py-liblzma
# Date created: 09 Dec 2008
# Whom: David Naylor <dragonsa@highveldmail.co.za>
#
# $FreeBSD$
PORTNAME= liblzma
PORTVERSION= 0.5.1
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}source/p/pyliblzma/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PYDISTUTILS_PKGNAME}-${PORTVERSION}
MAINTAINER= dragonsa@highveldmail.co.za
COMMENT= Python binding for the LZMA compression library
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= lzma.0:${PORTSDIR}/archivers/lzmautils-devel
USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= py${PORTNAME}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (pyliblzma-0.5.1.tar.bz2) = e3e3f1d5e29f9cf47c37efa6489d5273
SHA256 (pyliblzma-0.5.1.tar.bz2) = 341e44901fc307f36b77e42684b769420c613155400b877101b5a8d25c5296df
SIZE (pyliblzma-0.5.1.tar.bz2) = 48521

View File

@ -0,0 +1,19 @@
--- setup.py~ 2009-01-12 14:38:38.000000000 +0200
+++ setup.py 2009-01-12 15:03:21.000000000 +0200
@@ -23,7 +23,7 @@
#
import sys, os
from warnings import warn
-from setuptools import setup, Extension
+from distutils.core import setup, Extension
descr = "Python bindings for liblzma"
long_descr = """PylibLZMA provides a python interface for the liblzma library
@@ -74,7 +74,6 @@
],
py_modules = modules,
ext_modules = extens,
- test_suite = 'tests',
)
sys.exit(0)

View File

@ -0,0 +1,7 @@
Python module implementing LZMA Utils' liblzma API
PylibLZMA provides a python interface for the liblzma
library to read and write data that has been compressed
or can be decompressed by Lasse Collin's LZMA Utils.
WWW: http://launchpad.net/pyliblzma

View File

@ -0,0 +1,4 @@
%%PYTHON_SITELIBDIR%%/liblzma.py
%%PYTHON_SITELIBDIR%%/lzma.so
%%PYTHON_SITELIBDIR%%/liblzma.pyc
%%PYTHON_SITELIBDIR%%/liblzma.pyo