aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-cheeseshop/APKBUILD
blob: 8f80379a85d3980643c4bc8ec2b85109d48c7b11 (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-sphinxcontrib-cheeseshop
_pkgname=sphinxcontrib-cheeseshop
pkgver=0.2
pkgrel=0
pkgdesc="Sphinx cheeseshop extension"
url="https://pypi.python.org/pypi/sphinxcontrib-cheeseshop"
arch="noarch"
license="BSD"
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="56aff09d56d3e75236c024fcfe6ffa01  sphinxcontrib-cheeseshop-0.2.tar.gz"
sha256sums="d1a3bc4c1842868f959f7e14fa7390e64fa717823144286e7d15a25c3624b1ec  sphinxcontrib-cheeseshop-0.2.tar.gz"
sha512sums="5d6c88c0c43f37b94ebe6a2a62f795a6f7d5d6c407b808d6b21d54c1775fc4b5f22466c13e61adc16ac7973ba11e99a66da8650c869856f766e6bb3a6e99923b  sphinxcontrib-cheeseshop-0.2.tar.gz"