[arch-commits] Commit in python-dbusmock/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:15:19 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:15:18
  Author: foutrelis
Revision: 400624

archrelease: copy trunk to staging-any

Added:
  python-dbusmock/repos/staging-any/
  python-dbusmock/repos/staging-any/PKGBUILD
    (from rev 400623, python-dbusmock/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-dbusmock/repos/staging-any/PKGBUILD (from rev 400623, python-dbusmock/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-11-12 17:15:18 UTC (rev 400624)
@@ -0,0 +1,29 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=python-dbusmock
+pkgver=0.19
+pkgrel=2
+pkgdesc="Mock D-Bus objects for tests"
+url="https://github.com/martinpitt/python-dbusmock"
+arch=(any)
+license=(LGPL3)
+depends=(python-dbus python-gobject)
+makedepends=(python-setuptools git)
+_commit=38982927a6db9008cd5349fd0f03b90972abbaba  # tags/0.19^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
+}



More information about the arch-commits mailing list