aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-programoutput/APKBUILD
blob: e89555808ea045e9b77659284a0f15a85fe292de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-programoutput
_pkgname=sphinxcontrib-programoutput
pkgver=0.14
pkgrel=0
pkgdesc="Sphinx programoutput extension"
options="!check" # Tests try to execute python
url="https://sphinxcontrib-programoutput.readthedocs.io/en/latest/"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-sphinx"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/NextThought/$_pkgname/archive/$pkgver.tar.gz"

replaces="py-sphinxcontrib-programoutput" # Backwards compatibility
provides="py-sphinxcontrib-programoutput=$pkgver-r$pkgrel" # Backwards compatibility

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7dbc2da399778041c85e9c80ed9f717cfeebb1e4886d9f21970e060743288b19595bb3a3dc24f49683e49c8aa0c2bf04ed6cc17a254ca3109ca28347a1545981  py3-sphinxcontrib-programoutput-0.14.tar.gz"