[arch-commits] Commit in python-dbus-client-gen/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 16:00:53 UTC 2021
Date: Wednesday, December 1, 2021 @ 16:00:53
Author: felixonmars
Revision: 1060582
archrelease: copy trunk to community-staging-any
Added:
python-dbus-client-gen/repos/community-staging-any/
python-dbus-client-gen/repos/community-staging-any/PKGBUILD
(from rev 1060581, python-dbus-client-gen/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-dbus-client-gen/repos/community-staging-any/PKGBUILD (from rev 1060581, python-dbus-client-gen/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 16:00:53 UTC (rev 1060582)
@@ -0,0 +1,34 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: Christopher A. Williamson <home at chrisaw.com>
+
+pkgname='python-dbus-client-gen'
+_srcname='dbus-python-client-gen'
+pkgver=0.8
+pkgrel=2
+pkgdesc='A Python Library for Generating dbus-python Client Code'
+arch=('any')
+license=('MPL2')
+url='https://stratis-storage.github.io/'
+depends=('dbus-python' 'dbus-client-gen' 'python-into-dbus')
+makedepends=('git' 'python-pylint' 'python-setuptools')
+checkdepends=('python-nose')
+source=(
+ "${_srcname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${_srcname}/archive/v${pkgver}.tar.gz"
+)
+sha256sums=('11ade54ee6b12e69369722e9327c26668e3ae2b033a16c31a02d72a75d8a4623')
+
+check() {
+ cd "${_srcname}-${pkgver}"
+ nosetests
+}
+
+package() {
+ cd "${_srcname}-${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