aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-request/APKBUILD
blob: 11a3aea7be0788360176254d5ad4ba93c58df088 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-bottle-request
_pkgname=bottle-request
pkgver=0.2.0
pkgrel=2
pkgdesc="Bottle 'stateless' request object plugin"
options="!check" # No testsuite
url="http://github.com/turtlebender/bottle-request/"
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"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-bottle-request" # Backwards compatibility
provides="py-bottle-request=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="bd12268d703996e200dea5817f939ecf80e572e97d3686bcaf988ec048cda4e3b950122588b91ce78a06712a321e155e2e365bc75bbd2a720228a65441a67e21  bottle-request-0.2.0.tar.gz"