Date: Sunday, July 8, 2018 @ 15:16:04 Author: felixonmars Revision: 354978
archrelease: copy trunk to community-staging-any Added: python-srcinfo/repos/community-staging-any/ python-srcinfo/repos/community-staging-any/PKGBUILD (from rev 354977, python-srcinfo/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: python-srcinfo/repos/community-staging-any/PKGBUILD (from rev 354977, python-srcinfo/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 15:16:04 UTC (rev 354978) @@ -0,0 +1,31 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> + +pkgname=python-srcinfo +pkgver=0.0.8 +pkgrel=3 + +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 +}