# $Id: Portfile 90910 2012-03-18 05:12:36Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-liblzma
version			0.5.3
revision		1
python.versions         24 25 26 27
categories-append       archivers
platforms		darwin
maintainers		afb openmaintainer
license			LGPL-3
description		Python bindings for the XZ Utils compression library.
long_description	${description}

homepage		https://launchpad.net/pyliblzma
master_sites		http://pypi.python.org/packages/source/p/pyliblzma/
use_bzip2		yes
distname		pyliblzma-${version}
checksums		md5 500f61116ee1ab4063b49c121786863a \
			sha1 6240ec6f830f35f4087b8926a95c2074320b7ed5 \
			md160  b9062beec2bc745ea4fa64aef04f081a33b3d79c

if {$name != $subport} {
depends_lib-append	port:liblzma \
			port:py${python.version}-distribute

patchfiles		pyliblzma-python23.diff
}
