summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-07-16 04:00:48 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-07-16 04:00:48 (GMT)
commit1495d71d035815f3c126686ac5132125078f4899 (patch)
tree939b0ce3ac0feecee1e1bbd665248a7e4ee6f28c
parentac9c198d1bc3c7d0befde254cad5f616a0c78024 (diff)
downloadlinhes_pkgbuild-1495d71d035815f3c126686ac5132125078f4899.zip
linhes_pkgbuild-1495d71d035815f3c126686ac5132125078f4899.tar.gz
linhes_pkgbuild-1495d71d035815f3c126686ac5132125078f4899.tar.bz2
python2-pynzb: initial inclusion. dep of flexget
-rw-r--r--abs/core/python_modules/python2-pynzb/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/python_modules/python2-pynzb/PKGBUILD b/abs/core/python_modules/python2-pynzb/PKGBUILD
new file mode 100644
index 0000000..e88097b
--- /dev/null
+++ b/abs/core/python_modules/python2-pynzb/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer : vorpalblade77@gmail.com
+# Contributor : Daniel Neve <the.mephit@googlemail.com>
+pkgshort=pynzb
+pkgname=python2-$pkgshort
+pkgver=0.1.0
+pkgrel=3
+pkgdesc="A unified API for parsing NZB files"
+arch=('any')
+url="http://pypi.python.org/pypi/pynzb/"
+license=('BSD')
+depends=('python2' 'expat')
+makedepends=('python2-distribute')
+conflicts=('pynzb')
+optdepends=('python-lxml: Use lxml instead of expat')
+source=(http://pypi.python.org/packages/source/p/$pkgshort/$pkgshort-$pkgver.tar.gz
+ https://www.github.com/ericflo/$pkgshort/raw/master/LICENSE.txt)
+md5sums=('63c74a36348ac28aa99732dcb8be8c59'
+ '87d87599921bae943f981b28ecfc3cc1')
+
+build() {
+ cd $srcdir/$pkgshort-$pkgver
+ python2 setup.py build
+}
+package() {
+ cd $srcdir/$pkgshort-$pkgver
+ python2 setup.py install --root="${pkgdir}" \
+ --prefix=/usr \
+ --compile -O1
+ install -D -m644 $srcdir/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
+}