aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-webob/APKBUILD
blob: 2ee00312e442fcf704412a1d691cc652c6bc98f9 (plain) (blame)
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
32
33
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-webob
_pkgname=WebOb
pkgver=1.8.7
pkgrel=0
pkgdesc="A Python WSGI request and response objects"
url="https://webob.org/"
arch="noarch"
license="MIT"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-runner"
source="https://files.pythonhosted.org/packages/source/W/WebOb/WebOb-$pkgver.tar.gz
	python-3.9.patch"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	python3 setup.py build
}

check() {
	python3 setup.py pytest --addopts "--ignore=docs"
}

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

sha512sums="ff6a1ce796a59d9c078dc908a0d6307a080230a5c806be2278eebcbb78016bed43067e78e3e4a6d72a5f51184c137e8267ac75cbb92b057db008b51a792ff489  WebOb-1.8.7.tar.gz
5e5243dc1662805ae46787a6b2c101d2b1f7cd8124848671e84e9f2a0d7a558c0d7ae0555f9b8dc4eade9525bf842085e2b92782636d4b9d36c47485f984bbbb  python-3.9.patch"