aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-loopback/APKBUILD
blob: 030a81ece8056b98742912cdc344815ca80ea726 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-loopback
_pkgname=Flask-Loopback
pkgver=1.2.3
pkgrel=2
pkgdesc="A library to create requests without network connection"
url="https://pypi.python.org/pypi/Flask-Loopback"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-flask py3-requests py3-urlobject"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-flask-loopback" # Backwards compatibility
provides="py-flask-loopback=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="a206c53026645d7e7bfd168b05cce375780c4568292381269eb7bd05a2486a0c12353554509b54ec2fd46339cb9882194992bea26165eca691f5e58dedc96954  Flask-Loopback-1.2.3.tar.gz"