mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 15:21:43 +01:00
30 lines
1002 B
Plaintext
30 lines
1002 B
Plaintext
# 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=7
|
|
pkgdesc="Bottle 'stateless' request object plugin"
|
|
options="!check" # No testsuite
|
|
url="https://github.com/turtlebender/bottle-request/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-bottle"
|
|
makedepends="py3-setuptools"
|
|
subpackages="$pkgname-pyc"
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="bd12268d703996e200dea5817f939ecf80e572e97d3686bcaf988ec048cda4e3b950122588b91ce78a06712a321e155e2e365bc75bbd2a720228a65441a67e21 bottle-request-0.2.0.tar.gz"
|