blob: 4d71f43dea7867b7cad1837e2d06fd6700e70d1a (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-bottle-rest
_pkgname=bottle-rest
pkgver=0.5.0
pkgrel=1
pkgdesc="A decorator for REST in Bottle"
options="!check" # Has no github tarballs with tests
url="https://pypi.python.org/pypi/bottle-rest/"
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-rest" # Backwards compat
provides="py-bottle-rest=$pkgver-r$pkgrel" # Backwards compat
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="a4cd4717417109dad42b2f5da2a0bdb54c07e54920113c07d1fb00338e5927bd793997a8eea960d718a43d15aa3083c9ef4fb1e8e271a34900acfc59d63c6cf9 bottle-rest-0.5.0.tar.gz"
|