[arch-commits] Commit in python-sphinxcontrib-autoprogram/repos (3 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 14:53:03 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:53:03
Author: foutrelis
Revision: 1059462
archrelease: copy trunk to community-staging-any
Added:
python-sphinxcontrib-autoprogram/repos/community-staging-any/
python-sphinxcontrib-autoprogram/repos/community-staging-any/LICENSE
(from rev 1059459, python-sphinxcontrib-autoprogram/trunk/LICENSE)
python-sphinxcontrib-autoprogram/repos/community-staging-any/PKGBUILD
(from rev 1059459, python-sphinxcontrib-autoprogram/trunk/PKGBUILD)
----------+
LICENSE | 26 ++++++++++++++++++++++++++
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
Copied: python-sphinxcontrib-autoprogram/repos/community-staging-any/LICENSE (from rev 1059459, python-sphinxcontrib-autoprogram/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE (rev 0)
+++ community-staging-any/LICENSE 2021-12-01 14:53:03 UTC (rev 1059462)
@@ -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.
Copied: python-sphinxcontrib-autoprogram/repos/community-staging-any/PKGBUILD (from rev 1059459, python-sphinxcontrib-autoprogram/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:53:03 UTC (rev 1059462)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sphinxcontrib-autoprogram
+pkgver=0.1.7
+pkgrel=2
+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=('81679a8bed93274193efb5ac784d72280db32f37156aca5a422af6c8e8abd6d4e4a22e070ee73e9b3194eacf22a8228be0df3329f6fd6a0ff2408a3c7973c8a7'
+ '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/
+}
More information about the arch-commits
mailing list