[arch-commits] Commit in python-into-dbus/repos (community-any community-any/PKGBUILD)

Jiachen Yang farseerfc at archlinux.org
Sat Sep 29 18:31:48 UTC 2018


    Date: Saturday, September 29, 2018 @ 18:31:47
  Author: farseerfc
Revision: 387948

archrelease: copy trunk to community-any

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

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

Copied: python-into-dbus/repos/community-any/PKGBUILD (from rev 387946, python-into-dbus/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-09-29 18:31:47 UTC (rev 387948)
@@ -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=3
+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='stratis-storage.github.io'
+depends=('python-dbus' 'python-dbus-signature-pyparsing')
+makedepends=('git' 'python-pylint')
+checkdepends=('python-nose' 'python-hypothesis')
+source=(
+  "${_srcname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${_srcname}/archive/v${pkgver}.tar.gz"
+)
+sha256sums=(
+  'e2ec6496e55d1bc560db1075ad2038b760e01b9ad425c8d8632e6b0873b588cb'
+)
+
+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