Date: Thursday, March 14, 2019 @ 21:06:16 Author: heftig Revision: 348112
archrelease: copy trunk to extra-any Added: python-dbusmock/repos/extra-any/ python-dbusmock/repos/extra-any/PKGBUILD (from rev 348111, python-dbusmock/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: python-dbusmock/repos/extra-any/PKGBUILD (from rev 348111, python-dbusmock/trunk/PKGBUILD) =================================================================== --- extra-any/PKGBUILD (rev 0) +++ extra-any/PKGBUILD 2019-03-14 21:06:16 UTC (rev 348112) @@ -0,0 +1,29 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +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 +}