Date: Saturday, September 29, 2018 @ 18:28:40 Author: farseerfc Revision: 387945
archrelease: copy trunk to community-any Added: python-dbus-signature-pyparsing/repos/community-any/ python-dbus-signature-pyparsing/repos/community-any/PKGBUILD (from rev 387944, python-dbus-signature-pyparsing/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: python-dbus-signature-pyparsing/repos/community-any/PKGBUILD (from rev 387944, python-dbus-signature-pyparsing/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-09-29 18:28:40 UTC (rev 387945) @@ -0,0 +1,35 @@ +# Maintainer: Jiachen YANG <farsee...@archlinux.org> +# Contributor: Christopher A. Williamson <h...@chrisaw.com> + +pkgname='python-dbus-signature-pyparsing' +_srcname='dbus-signature-pyparsing' +pkgver=0.03 +pkgrel=2 +pkgdesc='A Parser for a D-Bus Signature' +arch=('any') +license=('Apache') +url='stratis-storage.github.io' +makedepends=('git' 'python-pylint') +checkdepends=('python-nose' 'python-hypothesis' 'python-hs-dbus-signature') +source=( + "${_srcname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${_srcname}/archive/v${pkgver}.tar.gz" +) +sha256sums=( + '263a41161304f239213c0e1234f4afdbe28b7103e60129f0448ae14fb0e9c52b' +) + +check() { + cd "${_srcname}-${pkgver}" + nosetests +} + +package() { + cd "${_srcname}-${pkgver}" + + install -d -m 755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}" + + python setup.py install --root="${pkgdir}" --optimize=1 +} + +# vim: ts=2 sw=2 et: