Autogenerated commit at 2025-06-16 14:02:21.317489+00:00
This commit is contained in:
@ -1,20 +1,10 @@
|
||||
pkgbase = python-webargs
|
||||
pkgdesc = A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks
|
||||
pkgver = 8.6.0
|
||||
pkgrel = 3
|
||||
pkgver = 8.7.0
|
||||
pkgrel = 4
|
||||
url = https://github.com/marshmallow-code/webargs
|
||||
arch = any
|
||||
license = MIT
|
||||
checkdepends = python-pytest-runner
|
||||
checkdepends = python-webtest
|
||||
checkdepends = python-pytest-aiohttp
|
||||
checkdepends = python-webtest-aiohttp
|
||||
checkdepends = python-bottle
|
||||
checkdepends = python-werkzeug
|
||||
checkdepends = python-django
|
||||
checkdepends = python-flask
|
||||
checkdepends = python-tornado
|
||||
checkdepends = python-pytest-asyncio
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-wheel
|
||||
@ -30,7 +20,7 @@ pkgbase = python-webargs
|
||||
optdepends = python-pyramid
|
||||
optdepends = python-falcon
|
||||
optdepends = python-aiohttp
|
||||
source = python-webargs-8.6.0.tar.gz::https://github.com/marshmallow-code/webargs/archive/8.6.0.tar.gz
|
||||
sha512sums = adaa90803b7f6f3cfeedf7c02b217030b5cc9d52cf7385dcb698808a565c664abe28b1bd087c1c9337669770348ba72abbb45cbb12da92edc89abdc0788efb5b
|
||||
source = python-webargs-8.7.0.tar.gz::https://github.com/marshmallow-code/webargs/archive/8.7.0.tar.gz
|
||||
sha512sums = b833a4c37ad1fdf78e9142c7fef0998ff4f91ff1a4255117cfe21d91631aa04ad9811d0a752647e49bcc87216fc2f49475dc056ce23d68c57541bafe78b10db5
|
||||
|
||||
pkgname = python-webargs
|
||||
|
3
python-webargs/.nvchecker.toml
Normal file
3
python-webargs/.nvchecker.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[python-webargs]
|
||||
source="pypi"
|
||||
pypi="webargs"
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user