[arch-commits] Commit in (hotdoc hotdoc/repos hotdoc/trunk hotdoc/trunk/PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Fri Jan 29 17:06:00 UTC 2021


    Date: Friday, January 29, 2021 @ 17:06:00
  Author: eschwartz
Revision: 835416

addpkg: hotdoc 0.13.1-1: checkdepends for meson

(and very useful for meson's CI runner running on Arch)

Added:
  hotdoc/
  hotdoc/repos/
  hotdoc/trunk/
  hotdoc/trunk/PKGBUILD

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

Added: hotdoc/trunk/PKGBUILD
===================================================================
--- hotdoc/trunk/PKGBUILD	                        (rev 0)
+++ hotdoc/trunk/PKGBUILD	2021-01-29 17:06:00 UTC (rev 835416)
@@ -0,0 +1,37 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=hotdoc
+pkgname=hotdoc
+pkgver=0.13.1
+pkgrel=1
+pkgdesc="the tastiest API documentation system"
+arch=('x86_64')
+url="https://github.com/${_pkgname}/${_pkgname}"
+license=('LGPL')
+_py_deps=('appdirs' 'cchardet' 'dbus-deviation' 'lxml' 'networkx' 'pkgconfig'
+          'schema' 'toposort' 'wheezy-template' 'yaml')
+depends=("${_py_deps[@]/#/python-}" 'json-glib')
+makedepends=('python-setuptools' 'cmake')
+optdepends=('clang: for the C extension'
+            'llvm: for the C extension')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('caec543e575835dcaab46c39cfbe4ac9c8f9bfbd1951fabbe8fd19fa6add5c2b')
+b2sums=('a9d316258ed629168fa482bfc8b2d97c745f8cfbeb728277c8accf863eb4ab080faaa795cae5258d8ffb2b08c63ce2c7e4c0f778bdbc2e7e55a1e18418653cef')
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${pkgname}-${pkgver}/build/lib.linux-$CARCH-3*
+
+    python -m unittest
+}
+
+package() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list