blob: fea12fc5b959fc2ad60528408d2a08271d09d690 (
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
34
35
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinx_rtd_theme
_pkgname=sphinx_rtd_theme
pkgver=1.1.1
pkgrel=0
pkgdesc="Sphinx theme for readthedocs.org"
url="https://github.com/readthedocs/sphinx_rtd_theme"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
options="!check" # readthedocs_ext is missing
source="$_pkgname-$pkgver.tar.gz::https://github.com/readthedocs/sphinx_rtd_theme/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-sphinx_rtd_theme" # Backwards compatibility
provides="py-sphinx_rtd_theme=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
py.test-3
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
bde25065401de7f5ccef29859b91b768bff22708a05eabc45510878481be36e075b0a9d1ad9da97ac5d8bc62a12339778ee96a920c949ceb9972262875b3bfb1 sphinx_rtd_theme-1.1.1.tar.gz
"
|