From c8a92464c6eabba32e21e5f0280c30c1c0c5500e Mon Sep 17 00:00:00 2001 From: Mark Weiman Date: Thu, 7 Jan 2016 00:56:39 -0500 Subject: added rpm/yum tools --- python2-pyliblzma/.SRCINFO | 17 +++++++++++++ python2-pyliblzma/PKGBUILD | 39 ++++++++++++++++++++++++++++++ python2-pyliblzma/pyliblzma-0.5.3.tar.bz2 | Bin 0 -> 43498 bytes 3 files changed, 56 insertions(+) create mode 100644 python2-pyliblzma/.SRCINFO create mode 100644 python2-pyliblzma/PKGBUILD create mode 100644 python2-pyliblzma/pyliblzma-0.5.3.tar.bz2 (limited to 'python2-pyliblzma') diff --git a/python2-pyliblzma/.SRCINFO b/python2-pyliblzma/.SRCINFO new file mode 100644 index 0000000..776b7eb --- /dev/null +++ b/python2-pyliblzma/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = python2-pyliblzma + pkgdesc = Python 2 bindings for liblzma + pkgver = 0.5.3 + pkgrel = 7 + url = https://pypi.python.org/pypi/pyliblzma + arch = i686 + arch = x86_64 + license = LGPL3 + makedepends = python2-setuptools + depends = python2 + depends = xz + source = https://pypi.python.org/packages/source/p/pyliblzma/pyliblzma-0.5.3.tar.bz2 + sha256sums = 08d762f36d5e59fb9bb0e22e000c300b21f97e35b713321ee504cfb442667957 + sha512sums = 272983aac426e86d6d636ccba4fe78a07d7282560081df937114162bfd317bd8023814693b8d473d0f7884e38a968ebeaf8f954a5a27c1f7e5da084f3fd05c65 + +pkgname = python2-pyliblzma + diff --git a/python2-pyliblzma/PKGBUILD b/python2-pyliblzma/PKGBUILD new file mode 100644 index 0000000..0019689 --- /dev/null +++ b/python2-pyliblzma/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: William J. Bowman +# Contributor: Levente Polyak +# Contributor: Daniel Strandberg + +_relname=pyliblzma +pkgname=python2-${_relname} +pkgver=0.5.3 +pkgrel=7 +pkgdesc='Python 2 bindings for liblzma' +arch=('i686' 'x86_64') +url='https://pypi.python.org/pypi/pyliblzma' +license=('LGPL3') +depends=('python2' 'xz') +makedepends=('python2-setuptools') +source=(https://pypi.python.org/packages/source/p/${_relname}/${_relname}-${pkgver}.tar.bz2) +sha256sums=('08d762f36d5e59fb9bb0e22e000c300b21f97e35b713321ee504cfb442667957') +sha512sums=('272983aac426e86d6d636ccba4fe78a07d7282560081df937114162bfd317bd8023814693b8d473d0f7884e38a968ebeaf8f954a5a27c1f7e5da084f3fd05c65') + +prepare() { + cd ${_relname}-${pkgver} + sed -e 's/env python$/env python2/g' -i liblzma.py +} + +build() { + cd ${_relname}-${pkgver} + python2 setup.py build +} + +check() { + cd ${_relname}-${pkgver} + python2 setup.py test +} + +package() { + cd ${_relname}-${pkgver} + python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr +} + +# vim:ts=2:sw=2:et: diff --git a/python2-pyliblzma/pyliblzma-0.5.3.tar.bz2 b/python2-pyliblzma/pyliblzma-0.5.3.tar.bz2 new file mode 100644 index 0000000..3491680 Binary files /dev/null and b/python2-pyliblzma/pyliblzma-0.5.3.tar.bz2 differ -- cgit v1.3