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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 16:00:52 UTC 2019


    Date: Saturday, October 26, 2019 @ 16:00:51
  Author: foutrelis
Revision: 520414

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 520413, python-into-dbus/trunk/PKGBUILD)

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

Copied: python-into-dbus/repos/community-staging-any/PKGBUILD (from rev 520413, python-into-dbus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 16:00:51 UTC (rev 520414)
@@ -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=5
+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