[arch-commits] Commit in python-dbus-client-gen/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 04:02:47 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:02:46
Author: felixonmars
Revision: 748398
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 748395, 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 748395, python-dbus-client-gen/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:02:46 UTC (rev 748398)
@@ -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.7
+pkgrel=4
+pkgdesc='A Python Library for Generating dbus-python Client Code'
+arch=('any')
+license=('MPL2')
+url='https://stratis-storage.github.io/'
+depends=('python-dbus' 'dbus-client-gen' 'python-into-dbus')
+makedepends=('git' 'python-pylint')
+checkdepends=('python-nose')
+source=(
+ "${_srcname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${_srcname}/archive/v${pkgver}.tar.gz"
+)
+sha256sums=('9db0aa6692f5bb1496b5bd436aae1aa2b3f24cad0fb76ceceb5fae6df1594219')
+
+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