Date: Friday, January 29, 2021 @ 17:09:59 Author: eschwartz Revision: 835417
archrelease: copy trunk to community-x86_64 Added: hotdoc/repos/community-x86_64/ hotdoc/repos/community-x86_64/PKGBUILD (from rev 835416, hotdoc/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: hotdoc/repos/community-x86_64/PKGBUILD (from rev 835416, hotdoc/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2021-01-29 17:09:59 UTC (rev 835417) @@ -0,0 +1,37 @@ +# Maintainer: Eli Schwartz <eschwa...@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 +}