[arch-commits] Commit in python-srcinfo/repos (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Dec 26 09:41:26 UTC 2016
Date: Monday, December 26, 2016 @ 09:41:25
Author: bpiotrowski
Revision: 202637
archrelease: copy trunk to community-staging-any
Added:
python-srcinfo/repos/community-staging-any/
python-srcinfo/repos/community-staging-any/PKGBUILD
(from rev 202636, python-srcinfo/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-srcinfo/repos/community-staging-any/PKGBUILD (from rev 202636, python-srcinfo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-12-26 09:41:25 UTC (rev 202637)
@@ -0,0 +1,31 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-srcinfo
+pkgver=0.0.8
+pkgrel=2
+
+pkgdesc="Simple .SRCINFO parsing library"
+url='https://github.com/kyrias/python-srcinfo'
+arch=('any')
+license=('ISC')
+
+depends=('python' 'python-setuptools' 'python-parse')
+checkdepends=('python-nose')
+
+source=("https://pypi.python.org/packages/source/s/srcinfo/srcinfo-$pkgver.tar.gz"
+ "https://pypi.python.org/packages/source/s/srcinfo/srcinfo-$pkgver.tar.gz.asc")
+
+validpgpkeys=('5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5')
+md5sums=('5905c054ac2cd080bd0dbf1df5253608'
+ 'SKIP')
+
+check() {
+ cd srcinfo-"$pkgver"
+ python setup.py test
+}
+
+package() {
+ cd srcinfo-"$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}
More information about the arch-commits
mailing list