aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinx-theme-guzzle/APKBUILD
blob: b672d4de839bd298e33395b5f19efae766119978 (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-sphinx-theme-guzzle
_pkgname=guzzle_sphinx_theme
pkgver=0.2.1
pkgrel=0
pkgdesc="The Guzzle Sphinx theme"
url="https://github.com/guzzle/guzzle_sphinx_theme"
arch="noarch"
license="BSD"
depends="python py-sphinx"
depends_dev=""
makedepends="python2-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="d66821491087ad33b2a030f5f155bf31  guzzle_sphinx_theme-0.2.1.tar.gz"
sha256sums="73799d1789c07ff89a84f2c13dafce06e8d9c91ae5de9b5ce907b5f5b59fcad8  guzzle_sphinx_theme-0.2.1.tar.gz"
sha512sums="2775b47a2ee27ab42de8247322676ab1bf2c4beb67e4c574b05ba08c22a71b61d5766d4dfa955f1f0dccfd57526b8251d8cec875bbf53d86e98402ddf3d20a81  guzzle_sphinx_theme-0.2.1.tar.gz"