Autogenerated commit at 2025-06-16 14:02:21.317489+00:00

This commit is contained in:
ahriman
2025-06-16 14:02:21 +00:00
parent 54cdb8b2bd
commit d7fb065590
3 changed files with 10 additions and 28 deletions

View File

@ -4,8 +4,8 @@
_pkgname=webargs
pkgname=python-$_pkgname
pkgver=8.6.0
pkgrel=3
pkgver=8.7.0
pkgrel=4
pkgdesc='A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks'
arch=('any')
url='https://github.com/marshmallow-code/webargs'
@ -14,8 +14,6 @@ depends=('python-marshmallow')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-flit-core'
'python-sphinx' 'python-sphinx-issues'
'python-sphinx-furo')
checkdepends=('python-pytest-runner' 'python-webtest' 'python-pytest-aiohttp' 'python-webtest-aiohttp'
'python-bottle' 'python-werkzeug' 'python-django' 'python-flask' 'python-tornado' 'python-pytest-asyncio')
optdepends=(
'python-flask'
'python-django'
@ -26,7 +24,7 @@ optdepends=(
'python-aiohttp'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('adaa90803b7f6f3cfeedf7c02b217030b5cc9d52cf7385dcb698808a565c664abe28b1bd087c1c9337669770348ba72abbb45cbb12da92edc89abdc0788efb5b')
sha512sums=('b833a4c37ad1fdf78e9142c7fef0998ff4f91ff1a4255117cfe21d91631aa04ad9811d0a752647e49bcc87216fc2f49475dc056ce23d68c57541bafe78b10db5')
prepare() {
cd $_pkgname-$pkgver
@ -49,15 +47,6 @@ build() {
make -C docs html man
}
check() {
cd $_pkgname-$pkgver
PATH="$PWD/test-env/bin:$PATH" \
PYTHONPATH="$(python -c "import site; print(site.getsitepackages()[0])")" \
python -m pytest \
--deselect tests/test_bottleparser.py::TestBottleParser::test_invalid_json
}
package() {
cd $_pkgname-$pkgver