aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinx-theme-bootstrap/APKBUILD
blob: cf7f9c21e8d4058ad80534d5ad9260c1fdbc9200 (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
36
37
38
39
40
41
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-sphinx-theme-bootstrap
_pkgname=sphinx-bootstrap-theme
pkgver=0.4.7
pkgrel=0
pkgdesc="The Bootstrap Sphinx theme"
url="http://ryan-roemer.github.com/sphinx-bootstrap-theme"
arch="noarch"
license="MIT"
depends="python py-sphinx"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="957291ab737c8c2a39494f68e13ba8b5  sphinx-bootstrap-theme-0.4.7.tar.gz"
sha256sums="ee76d8c75f20bccf6dc54df2cd75e7f012cbb82f32edb7b088635d5765519120  sphinx-bootstrap-theme-0.4.7.tar.gz"
sha512sums="bf12c4b950b344df6d7c4b4c026389538476f13bc612f5c3deefc4a2ae3a2e8eda7223794e34dc022898e808d90639b3c58e2cfa810eac64790f9c6b11c63113  sphinx-bootstrap-theme-0.4.7.tar.gz"