[arch-commits] Commit in python-pydbus/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Oct 26 05:30:48 UTC 2019


    Date: Saturday, October 26, 2019 @ 05:30:47
  Author: felixonmars
Revision: 520104

archrelease: copy trunk to community-staging-any

Added:
  python-pydbus/repos/community-staging-any/
  python-pydbus/repos/community-staging-any/PKGBUILD
    (from rev 520101, python-pydbus/trunk/PKGBUILD)

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

Copied: python-pydbus/repos/community-staging-any/PKGBUILD (from rev 520101, python-pydbus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 05:30:47 UTC (rev 520104)
@@ -0,0 +1,40 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
+
+_name='pydbus'
+pkgname="python-${_name}"
+pkgver=0.6.0
+pkgrel=4
+pkgdesc='Pythonic D-Bus library'
+arch=('any')
+url="https://github.com/LEW21/${_name}"
+license=('LGPL')
+depends=('python' 'python-gobject')
+makedepends=('python-setuptools')
+# checkdepends=('xorg-server-xvfb' 'python-gobject')
+source=("${_name}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('dacdf0498a831c8b43a4f3d985d64f99f3093a8aaf4e2ea99981c30fdf1a42da')
+
+build() {
+    cd "${_name}-${pkgver}"
+    python setup.py build
+}
+
+# https://github.com/LEW21/pydbus/issues/85
+# check() {
+#     cd "${_name}-${pkgver}"
+#     # ./tests/run.sh
+#     # LANG='en_US.UTF-8' xvfb-run python setup.py test
+# }
+
+package() {
+    cd "${_name}-${pkgver}"
+    python setup.py install --skip-build \
+        --optimize=1 \
+        --prefix=/usr \
+        --root="${pkgdir}"
+
+    install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.rst
+}
+
+# vim:set ts=4 sw=4 et:



More information about the arch-commits mailing list