mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +03:00
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# 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/${_pkgname:0:1}/$_pkgname/$_pkgname-$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"
|