aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinx-theme-readable/APKBUILD
blob: f4aa89d759090788fe0a9fbd0f7d1cecb514f268 (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-sphinx-theme-readable
_pkgname=sphinx-readable-theme
pkgver=1.3.0
pkgrel=1
pkgdesc="The Readable Sphinx theme"
url="https://github.com/ignacysokolowski/sphinx-readable-theme"
arch="noarch"
license="BSD"
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-sphinx-theme-readable" # Backwards compatibility
provides="py-sphinx-theme-readable=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="e0810973fe77434efd7ca442c26784f5d894322832555953ff0c900835707bd797b5ce8308510590f31fe2a5f61e0ed465b3316cd8a3fa2f5ca9b1c5f432feaf  sphinx-readable-theme-1.3.0.tar.gz"