[arch-commits] Commit in dbus-client-gen/repos (community-any community-any/PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Sat Sep 29 18:34:01 UTC 2018
Date: Saturday, September 29, 2018 @ 18:34:00
Author: farseerfc
Revision: 387953
archrelease: copy trunk to community-any
Added:
dbus-client-gen/repos/community-any/
dbus-client-gen/repos/community-any/PKGBUILD
(from rev 387952, dbus-client-gen/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: dbus-client-gen/repos/community-any/PKGBUILD (from rev 387952, dbus-client-gen/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-09-29 18:34:00 UTC (rev 387953)
@@ -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.3
+pkgrel=1
+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')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('41fc256db0adedd7489c2744b0dd09fc53c5e4b680d31775fac96a4708d62338')
+
+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