aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-issuetracker/APKBUILD
blob: 8ea59c3b8116f34c7401d400782c1b285e81b78c (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-issuetracker
_pkgname=sphinxcontrib-issuetracker
pkgver=0.11
pkgrel=0
pkgdesc="Sphinx issuetracker extension"
url="https://pypi.python.org/pypi/sphinxcontrib-issuetracker"
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="69c2f0e5770c5d7bad73f60f8d764e28  sphinxcontrib-issuetracker-0.11.tar.gz"
sha256sums="843753d8b5e989116378ab45ecccb368fb78dc56eaa1554ed25e4fbf22745f4e  sphinxcontrib-issuetracker-0.11.tar.gz"
sha512sums="fb4a977bea22451a3d90b16821fc2a38ed53b17913666ca250e9aab8bb1726bbdb52fb2b6dbb2ae512a0ca6cc3d33dcddeba758c02c77b099180443d67e147c9  sphinxcontrib-issuetracker-0.11.tar.gz"