aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-manpage/APKBUILD
blob: 06346f3bd3ff211c11171c8b1237ff53967e3160 (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-manpage
_pkgname=sphinxcontrib-manpage
pkgver=0.4
pkgrel=0
pkgdesc="Sphinx manpage extension"
url="https://pypi.python.org/pypi/sphinxcontrib-manpage"
arch="noarch"
license="ASL 2.0"
depends="python py-sphinx py-nwdiag"
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="54d16e1a2c3d6c6541b68f641df7ffb6  sphinxcontrib-manpage-0.4.tar.gz"
sha256sums="3bb6d050111b40585af13fec14386ced20b7524c3fc07d9f7394b42f090d3e6f  sphinxcontrib-manpage-0.4.tar.gz"
sha512sums="471ab6045f0bf1178f0bb5a1b27497af030cd6d3bd140bc3505d1bd31263d48a55314cb238ff6b06ca9a1a322374c0db414ed666dd843e6e2b7ca89191b71747  sphinxcontrib-manpage-0.4.tar.gz"