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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:20:52 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:20:52
  Author: felixonmars
Revision: 1058067

archrelease: copy trunk to community-staging-any

Added:
  python-dbus-signature-pyparsing/repos/community-staging-any/
  python-dbus-signature-pyparsing/repos/community-staging-any/PKGBUILD
    (from rev 1058060, python-dbus-signature-pyparsing/trunk/PKGBUILD)

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

Copied: python-dbus-signature-pyparsing/repos/community-staging-any/PKGBUILD (from rev 1058060, python-dbus-signature-pyparsing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:20:52 UTC (rev 1058067)
@@ -0,0 +1,34 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: Christopher A. Williamson <home at chrisaw.com>
+
+pkgname='python-dbus-signature-pyparsing'
+_srcname='dbus-signature-pyparsing'
+pkgver=0.04
+pkgrel=2
+pkgdesc='A Parser for a D-Bus Signature'
+arch=('any')
+license=('Apache')
+url='https://github.com/stratis-storage/dbus-signature-pyparsing/releases'
+depends=('python-pyparsing')
+makedepends=('python-setuptools' 'git')
+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=('71e10c81a72d3510c17a4283668694c9731d81cfb30d357c357ee104363bf541')
+
+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