[arch-commits] Commit in dbus-client-gen/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 20:19:52 UTC 2020


    Date: Monday, November 9, 2020 @ 20:19:52
  Author: foutrelis
Revision: 748180

archrelease: copy trunk to community-staging-any

Added:
  dbus-client-gen/repos/community-staging-any/
  dbus-client-gen/repos/community-staging-any/PKGBUILD
    (from rev 748179, dbus-client-gen/trunk/PKGBUILD)

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

Copied: dbus-client-gen/repos/community-staging-any/PKGBUILD (from rev 748179, dbus-client-gen/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 20:19:52 UTC (rev 748180)
@@ -0,0 +1,31 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: Christopher A. Williamson <home at chrisaw.com>
+
+pkgname='dbus-client-gen'
+pkgver=0.4
+pkgrel=4
+pkgdesc='A library for generating some simple classes and functions useful for a Python D-Bus client'
+arch=('any')
+license=('MPL2')
+url='https://stratis-storage.github.io/'
+depends=('python-dbus')
+makedepends=('python-pylint')
+checkdepends=('python-nose' 'python-hypothesis' 'python-hs-dbus-signature')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('be2d7518238044f1ca148a5fff8504cc1324ee41dabec8b6e6a9ca2be3e93e7b')
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  nosetests
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  install -d -m 755 "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list