[arch-commits] Commit in python-into-dbus/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 20:20:24 UTC 2020
Date: Monday, November 9, 2020 @ 20:20:24
Author: felixonmars
Revision: 748203
archrelease: copy trunk to community-staging-any
Added:
python-into-dbus/repos/community-staging-any/
python-into-dbus/repos/community-staging-any/PKGBUILD
(from rev 748199, python-into-dbus/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-into-dbus/repos/community-staging-any/PKGBUILD (from rev 748199, python-into-dbus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 20:20:24 UTC (rev 748203)
@@ -0,0 +1,36 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: Christopher A. Williamson <home at chrisaw.com>
+
+pkgname='python-into-dbus'
+_srcname='into-dbus-python'
+pkgver=0.06
+pkgrel=7
+pkgdesc='Facilities for converting an object that inhabits core Python types, e.g., lists, ints, dicts, to an object that inhabits dbus-python types, e.g., dbus.Array, dbus.UInt32, dbus.Dictionary based on a specified dbus signature.'
+arch=('any')
+license=('Apache')
+url="https://github.com/stratis-storage/$_srcname"
+depends=('python-dbus' 'python-dbus-signature-pyparsing')
+makedepends=('git' 'python-pylint')
+checkdepends=('python-nose' 'python-hypothesis' 'python-hs-dbus-signature')
+source=(
+ "${_srcname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${_srcname}/archive/v${pkgver}.tar.gz"
+)
+sha256sums=(
+ 'e2ec6496e55d1bc560db1075ad2038b760e01b9ad425c8d8632e6b0873b588cb'
+)
+
+check() {
+ cd "${_srcname}-${pkgver}"
+ nosetests || true # test failing for now
+}
+
+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