diff options
author | Taylor Smock | 2015-06-08 15:14:10 -0400 |
---|---|---|
committer | Taylor Smock | 2015-06-08 15:14:10 -0400 |
commit | 47ee0831310c9a7496e270a254e74430c3bf5f6f (patch) | |
tree | 92f87e4dcf6f2cb9e1a2c261045cd363b6cfad4a | |
download | aur-47ee0831310c9a7496e270a254e74430c3bf5f6f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..74c48c125ce3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = python2-pynzb + pkgdesc = A unified API for parsing NZB files + pkgver = 0.1.0 + pkgrel = 3 + url = http://pypi.python.org/pypi/pynzb/ + arch = any + license = BSD + makedepends = python2-distribute + depends = python2 + depends = expat + optdepends = python-lxml: Use lxml instead of expat + conflicts = pynzb + source = http://pypi.python.org/packages/source/p/pynzb/pynzb-0.1.0.tar.gz + source = https://www.github.com/ericflo/pynzb/raw/master/LICENSE.txt + md5sums = 63c74a36348ac28aa99732dcb8be8c59 + md5sums = 87d87599921bae943f981b28ecfc3cc1 + +pkgname = python2-pynzb + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e88097b77ace --- /dev/null +++ b/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 +} |