aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-cldomain/APKBUILD
blob: 3e264166945cbf4ee1b2abdacf764c738277c78b (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-cldomain
_pkgname=sphinxcontrib-cldomain
pkgver=0.7
pkgrel=0
pkgdesc="Sphinx cldomain extension"
url="https://pypi.python.org/pypi/sphinxcontrib-cldomain"
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="f6c79668eb575e0dc2b41dff7de3d28f  sphinxcontrib-cldomain-0.7.tar.gz"
sha256sums="fab5288a1327131caa8ef11e1dc38b6827c367bff4aac0b00f7632a02041eef1  sphinxcontrib-cldomain-0.7.tar.gz"
sha512sums="53532be59d3b9af3fb9fdd89a361a4702e57c8e7e0667c0b53c7c6731357616ff6e28e5af2759de9778b3a9d4eb3df356374bd50520d4ffb20808adf300d7561  sphinxcontrib-cldomain-0.7.tar.gz"