summaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-coffee/APKBUILD
blob: 054fac7b887fa4e41d9da952d7e7ca142c968156 (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-coffee
_pkgname=sphinxcontrib-coffee
pkgver=0.2.1
pkgrel=0
pkgdesc="Sphinx CoffeeScript extension"
url="https://pypi.python.org/pypi/sphinxcontrib-coffee"
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="e2eb216531ef36c2f050fb1ffa5fdfc9  sphinxcontrib-coffee-0.2.1.tar.gz"
sha256sums="d72085a108c80847ff413e9891a69c2df3c5527d31694c2935d1b03d8a00df69  sphinxcontrib-coffee-0.2.1.tar.gz"
sha512sums="16c1b4ff721239dd99fb935e845ce23c6265022c6a8d9ce3d335107978789b9fea7202423b758441d35be85331ecfeef5c9caef6cb2c0e83a86a4044cb22daf9  sphinxcontrib-coffee-0.2.1.tar.gz"