aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-spelling/APKBUILD
blob: 27ee3c479b861bb365f8450141c3fd37d72da1db (plain) (blame)
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-spelling
_pkgname=sphinxcontrib-spelling
pkgver=0.2
pkgrel=0
pkgdesc="Sphinx spelling extension"
url="https://pypi.python.org/pypi/sphinxcontrib-spelling"
arch="noarch"
license="BSD"
depends="python py-sphinx py-enchant"
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="a538063c6be177975fa08d1cb0975f20  sphinxcontrib-spelling-0.2.tar.gz"
sha256sums="24c4805d92f0b0c507834475a11e685d17e3e79a16ac7e789155fcab1e7cc338  sphinxcontrib-spelling-0.2.tar.gz"
sha512sums="2a4fc6056e68c8f0b7d7989b12d3eeb9ddc92a022831a57dd1116e1a3964a7bac792e734eb70f6a1416fb0af71ff264cc31b765d311a5bf8af92dec68521e1e5  sphinxcontrib-spelling-0.2.tar.gz"