Date: Thursday, March 14, 2019 @ 21:06:01 Author: heftig Revision: 348111
0.18.2-1 Added: python-dbusmock/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: PKGBUILD =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-14 21:06:01 UTC (rev 348111) @@ -0,0 +1,29 @@ +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> + +pkgname=python-dbusmock +pkgver=0.18.2 +pkgrel=1 +pkgdesc="Mock D-Bus objects for tests" +url="https://github.com/martinpitt/python-dbusmock" +arch=(any) +license=(LGPL3) +depends=(python-dbus) +makedepends=(python-setuptools git) +_commit=6b978e7d00d22fa5fc04f5a2630264077ef5e626 # tags/0.18.2^0 +source=("git+https://github.com/martinpitt/python-dbusmock#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/-/+/g' +} + +build() { + cd $pkgname + python setup.py build +} + +package() { + cd $pkgname + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}
