diff options
author | miwi <miwi@FreeBSD.org> | 2009-02-16 04:09:41 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-02-16 04:09:41 +0800 |
commit | 05830b46f7505b115a3c21371630a0f0a2f2f1a1 (patch) | |
tree | eecf3f33ac347b12ddc36772cdbb4a9feb433845 /archivers | |
parent | 0d912f41b1824635e7ddd6da6270c1b54bdf887b (diff) | |
download | freebsd-ports-gnome-05830b46f7505b115a3c21371630a0f0a2f2f1a1.tar.gz freebsd-ports-gnome-05830b46f7505b115a3c21371630a0f0a2f2f1a1.tar.zst freebsd-ports-gnome-05830b46f7505b115a3c21371630a0f0a2f2f1a1.zip |
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>
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/py-liblzma/Makefile | 25 | ||||
-rw-r--r-- | archivers/py-liblzma/distinfo | 3 | ||||
-rw-r--r-- | archivers/py-liblzma/files/patch-setup.py | 19 | ||||
-rw-r--r-- | archivers/py-liblzma/pkg-descr | 7 | ||||
-rw-r--r-- | archivers/py-liblzma/pkg-plist | 4 |
6 files changed, 59 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index b9094ae87afc..fb75b0089b78 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -125,6 +125,7 @@ SUBDIR += ppmd SUBDIR += ppmd-7z SUBDIR += ppunpack + SUBDIR += py-liblzma SUBDIR += py-librtfcomp SUBDIR += py-lzma SUBDIR += py-tarfile diff --git a/archivers/py-liblzma/Makefile b/archivers/py-liblzma/Makefile new file mode 100644 index 000000000000..5b875319c3b1 --- /dev/null +++ b/archivers/py-liblzma/Makefile @@ -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> diff --git a/archivers/py-liblzma/distinfo b/archivers/py-liblzma/distinfo new file mode 100644 index 000000000000..aabc385f71f0 --- /dev/null +++ b/archivers/py-liblzma/distinfo @@ -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 diff --git a/archivers/py-liblzma/files/patch-setup.py b/archivers/py-liblzma/files/patch-setup.py new file mode 100644 index 000000000000..c1aaeaa42194 --- /dev/null +++ b/archivers/py-liblzma/files/patch-setup.py @@ -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) diff --git a/archivers/py-liblzma/pkg-descr b/archivers/py-liblzma/pkg-descr new file mode 100644 index 000000000000..212ac2f28606 --- /dev/null +++ b/archivers/py-liblzma/pkg-descr @@ -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 diff --git a/archivers/py-liblzma/pkg-plist b/archivers/py-liblzma/pkg-plist new file mode 100644 index 000000000000..c6e95efc3b9d --- /dev/null +++ b/archivers/py-liblzma/pkg-plist @@ -0,0 +1,4 @@ +%%PYTHON_SITELIBDIR%%/liblzma.py +%%PYTHON_SITELIBDIR%%/lzma.so +%%PYTHON_SITELIBDIR%%/liblzma.pyc +%%PYTHON_SITELIBDIR%%/liblzma.pyo |