[arch-commits] Commit in python-srcinfo/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 18:54:18 UTC 2020
Date: Thursday, November 12, 2020 @ 18:54:17
Author: foutrelis
Revision: 753247
archrelease: copy trunk to community-staging-any
Added:
python-srcinfo/repos/community-staging-any/
python-srcinfo/repos/community-staging-any/PKGBUILD
(from rev 753246, python-srcinfo/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-srcinfo/repos/community-staging-any/PKGBUILD (from rev 753246, python-srcinfo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 18:54:17 UTC (rev 753247)
@@ -0,0 +1,31 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-srcinfo
+pkgver=0.0.8
+pkgrel=5
+
+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