diff options
author | Cilyan Olowen | 2021-01-06 17:30:15 +0100 |
---|---|---|
committer | Cilyan Olowen | 2021-01-06 17:33:33 +0100 |
commit | f5e9385e3052c52b9809f1bd8e878112d699f40a (patch) | |
tree | a38a914921d448490067af258e450733399aa3d4 | |
download | aur-python-sphinxcontrib-needs.tar.gz |
Upstream version 0.6.0
Signed-off-by: Cilyan Olowen <gaknar@gmail.com>
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ea6b7ea18091 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python-sphinxcontrib-needs + pkgdesc = Sphinx needs extension for managing needs/requirements and specifications + pkgver = 0.6.0 + pkgrel = 1 + url = http://github.com/useblocks/sphinxcontrib-needs + arch = any + license = MIT + depends = python-sphinx + depends = python-matplotlib + depends = python-six + optdepends = python-sphinxcontrib-plantuml: for needflow + source = https://files.pythonhosted.org/packages/source/s/sphinxcontrib-needs/sphinxcontrib-needs-0.6.0.tar.gz + source = https://raw.githubusercontent.com/useblocks/sphinxcontrib-needs/0.6.0/LICENSE + sha256sums = fb7c163410e32b286435f53e4ce06cf91f9de59262abc7ae7b6170373105060e + sha256sums = fe4ddb344f410de4b564938d0c3eb76905142764ccd9835ee6c3674b0f288e00 + +pkgname = python-sphinxcontrib-needs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8a3ad0f5ae6f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Cilyan Olowen <gaknar@gmail.com> +pkgname=python-sphinxcontrib-needs +_name=${pkgname#python-} +pkgver=0.6.0 +pkgrel=1 +pkgdesc="Sphinx needs extension for managing needs/requirements and specifications" +arch=("any") +url="http://github.com/useblocks/sphinxcontrib-needs" +license=('MIT') +depends=('python-sphinx' 'python-matplotlib' 'python-six') +makedepends=() +optdepends=('python-sphinxcontrib-plantuml: for needflow') +source=( + "https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz" + "https://raw.githubusercontent.com/useblocks/$_name/$pkgver/LICENSE" +) +sha256sums=('fb7c163410e32b286435f53e4ce06cf91f9de59262abc7ae7b6170373105060e' + 'fe4ddb344f410de4b564938d0c3eb76905142764ccd9835ee6c3674b0f288e00') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname "$srcdir"/LICENSE +} |