aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-renderer/APKBUILD
blob: 2f4d905a951ee6930d09f9b255d80c7a346e8e9f (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-bottle-renderer
_pkgname=bottle-renderer
pkgver=0.1.1
pkgrel=1
pkgdesc="Bottle renderer plugin"
options="!check" # No testsuite upstream
url="https://pypi.python.org/pypi/bottle-renderer"
arch="noarch"
license="MIT"
depends="python3 py3-bottle"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

replaces="py-bottle-renderer" # Backwards compat
provides="py-bottle-renderer=$pkgver-r$pkgrel" # Backwards compat

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

md5sums="d188c368d4b0544808cb7d625522ad15  bottle-renderer-0.1.1.tar.gz"
sha256sums="fbe2809750f33e254169f7a55824a72e2c7bb367c1cb624ed9d56bc8ebc196cc  bottle-renderer-0.1.1.tar.gz"
sha512sums="1bbf5750de425afa201b525d4207d542512288fa2506053b460db9d6ffd2d5040cefe29ed663abb85e337b66025cd594d401c25181bdcdfbbe4c0cbd709f8311  bottle-renderer-0.1.1.tar.gz"