Date: Thursday, March 19, 2020 @ 17:27:27 Author: felixonmars Revision: 600977
addpkg: python-sphinxcontrib-autoprogram 0.1.5-1 Added: python-sphinxcontrib-autoprogram/ python-sphinxcontrib-autoprogram/repos/ python-sphinxcontrib-autoprogram/trunk/ python-sphinxcontrib-autoprogram/trunk/LICENSE python-sphinxcontrib-autoprogram/trunk/PKGBUILD ----------+ LICENSE | 26 ++++++++++++++++++++++++++ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) Added: python-sphinxcontrib-autoprogram/trunk/LICENSE =================================================================== --- python-sphinxcontrib-autoprogram/trunk/LICENSE (rev 0) +++ python-sphinxcontrib-autoprogram/trunk/LICENSE 2020-03-19 17:27:27 UTC (rev 600977) @@ -0,0 +1,26 @@ +Copyright (c) 2014–2018 Hong Minhee <https://hongminhee.org/> +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those +of the authors and should not be interpreted as representing official policies, +either expressed or implied, of the sphinxcontrib-autoprogram project. Added: python-sphinxcontrib-autoprogram/trunk/PKGBUILD =================================================================== --- python-sphinxcontrib-autoprogram/trunk/PKGBUILD (rev 0) +++ python-sphinxcontrib-autoprogram/trunk/PKGBUILD 2020-03-19 17:27:27 UTC (rev 600977) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <[email protected]> + +pkgname=python-sphinxcontrib-autoprogram +pkgver=0.1.5 +pkgrel=1 +pkgdesc="Documenting CLI programs" +url="https://github.com/sphinx-contrib/autoprogram" +license=('BSD') +arch=('any') +depends=('python-sphinx' 'python-six') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/sphinx-contrib/autoprogram/archive/$pkgver.tar.gz" + LICENSE) +sha512sums=('a2eed32adcd6834331d0015146345b998257c90d25534edd97baa81605fa41ec4c6d42bd536d2e09b62cb09df36bf2d0f621453f0646200481109bacc84cef85' + '48e8c1f6e914f9e45281fca9d2cbcdc860751413cc255111f2dc560a15e26d34dce3fbb41b83ad42e717124bc9e43f63eb737ac217295b2fad180214b9f9e498') + +build() { + cd autoprogram-$pkgver + python setup.py build +} + +check() { + cd autoprogram-$pkgver + python setup.py test +} + +package() { + cd autoprogram-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}
