summaryrefslogtreecommitdiffstats
path: root/testing/py-sphinx-theme-bootstrap/APKBUILD
blob: 543be88df4d36fc8998ca5c16b22af83fc71bee6 (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.5
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="http://pypi.python.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="06ca1cb93aa7372e02815d43419b269c  sphinx-bootstrap-theme-0.4.5.tar.gz"
sha256sums="f36d32aeeb4d08a1b281e745db4228b5e40ddacf7928a68e26b7f909fa391d85  sphinx-bootstrap-theme-0.4.5.tar.gz"
sha512sums="e5696b8fa41d63ce97ee45c622a10bfd812b4179596024895ec2c76a3c79dbc6d7117043b001bb8caeada204052757cfc83815cfc7f1f7f7506a9c0ef4ac7c2d  sphinx-bootstrap-theme-0.4.5.tar.gz"