[arch-commits] Commit in (4 files)

Eli Schwartz eschwartz at archlinux.org
Fri Jan 29 16:48:51 UTC 2021


    Date: Friday, January 29, 2021 @ 16:48:51
  Author: eschwartz
Revision: 835402

addpkg: python-dbus-deviation 0.6.1-1: needed for hotdoc

Added:
  python-dbus-deviation/
  python-dbus-deviation/repos/
  python-dbus-deviation/trunk/
  python-dbus-deviation/trunk/PKGBUILD

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

Added: python-dbus-deviation/trunk/PKGBUILD
===================================================================
--- python-dbus-deviation/trunk/PKGBUILD	                        (rev 0)
+++ python-dbus-deviation/trunk/PKGBUILD	2021-01-29 16:48:51 UTC (rev 835402)
@@ -0,0 +1,33 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dbus-deviation
+pkgname=python-dbus-deviation
+pkgver=0.6.1
+pkgrel=1
+pkgdesc="Parse D-Bus introspection XML and process it in various ways"
+arch=('any')
+url="https://github.com/pwithnall/${_pkgname}"
+license=('LGPL')
+depends=('python-lxml')
+makedepends=('python-setuptools-git' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('e06b88efe223885d2725df51cf7c9b7b463d1c6f04ea49d4690874318d0eb7a3')
+b2sums=('2042cb78bfd5ae259842001f39d8d10456c6b7aaac9bdde309895547c2e9649fac14e0a4a3a6432e3c67be562c443b2b44229e5c61e2802a10d8c66e94a544d4')
+
+build() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py test
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list