Date: Sunday, November 18, 2018 @ 09:51:48 Author: farseerfc Revision: 408667
archrelease: copy trunk to community-testing-any Added: python-hs-dbus-signature/repos/community-testing-any/ python-hs-dbus-signature/repos/community-testing-any/PKGBUILD (from rev 408666, python-hs-dbus-signature/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: python-hs-dbus-signature/repos/community-testing-any/PKGBUILD (from rev 408666, python-hs-dbus-signature/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-11-18 09:51:48 UTC (rev 408667) @@ -0,0 +1,30 @@ +# Maintainer: Jiachen YANG <farsee...@gmail.com> + +pkgname=python-hs-dbus-signature +_pkgname=hs-dbus-signature +pkgver=0.06 +pkgrel=1 +pkgdesc="dbus signature hypothesis strategy generator" +url="https://github.com/stratis-storage/hs-dbus-signature" +depends=('python-hypothesis' ) +makedepends=('python' 'python-setuptools') +checkdepends=('python-nose') +license=('MPL2') +arch=('any') +source=("https://github.com/stratis-storage/${_pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('1fa4f8cea63cabac761b32fa851cc1e85abc60a354c55fbce133412b89ee6dbd') + +check() { + cd $srcdir/${_pkgname}-${pkgver} + nosetests +} + +build() { + cd $srcdir/${_pkgname}-${pkgver} + python setup.py build +} + +package() { + cd $srcdir/${_pkgname}-${pkgver} + python setup.py install --root="$pkgdir" --optimize=1 +}