aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-restbuilder/APKBUILD
blob: 8de85713e9003c6e4f941701ad2a280d34b38491 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-restbuilder
_pkgname=sphinxcontrib-restbuilder
pkgver=0.2
pkgrel=1
pkgdesc="Sphinx restbuilder extension"
url="https://pypi.python.org/pypi/sphinxcontrib-restbuilder"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	python3 setup.py build
}

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

sha512sums="502c051c7bb2295ce1e017a767d49259d19a0aa94c4d3a84a54081cd2fa104c2e8d39f4405cfcc19a4103ffb5fd8e63ff0dbc555d5d83d7098799d1e3d083810  sphinxcontrib-restbuilder-0.2.tar.gz"