aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-httpdomain/APKBUILD
blob: e03aede266415998adca33d8d326fea967e8b390 (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-httpdomain
_pkgname=sphinxcontrib-httpdomain
pkgver=1.3.0
pkgrel=0
pkgdesc="Sphinx httpdomain extension"
url="https://pypi.python.org/pypi/sphinxcontrib-httpdomain"
arch="noarch"
license="BSD"
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="ad7ea42bd4c7c0ee57b1cb25bbf24aab  sphinxcontrib-httpdomain-1.3.0.tar.gz"
sha256sums="ba8fbe82eddc96cfa9d7b975b0422801a14ace9d7e051b8b2c725b92ea6137b5  sphinxcontrib-httpdomain-1.3.0.tar.gz"
sha512sums="2f6df6375337d651f4ed26c2aaf20929a4b31fae881ebc68fcab5cd085f52661c00a943872a9e7199d5af893b3f77434346fd493925cd148681da048aead20af  sphinxcontrib-httpdomain-1.3.0.tar.gz"