[arch-commits] Commit in python-into-dbus/repos (2 files)

Jiachen Yang farseerfc at gemini.archlinux.org
Mon Oct 4 22:47:23 UTC 2021


    Date: Monday, October 4, 2021 @ 22:47:23
  Author: farseerfc
Revision: 1027672

archrelease: copy trunk to community-testing-any

Added:
  python-into-dbus/repos/community-testing-any/
  python-into-dbus/repos/community-testing-any/PKGBUILD
    (from rev 1027671, python-into-dbus/trunk/PKGBUILD)

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

Copied: python-into-dbus/repos/community-testing-any/PKGBUILD (from rev 1027671, python-into-dbus/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-10-04 22:47:23 UTC (rev 1027672)
@@ -0,0 +1,34 @@
+# 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.08
+pkgrel=1
+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=('dbus-python' '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=('31fa9a6c41b1f77756b300a19c45fb0e9debb6c68b6b96ff79edde6c8e7adbc2')
+
+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