[arch-commits] Commit in python-starlette/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Jun 19 18:29:42 UTC 2021
Date: Saturday, June 19, 2021 @ 18:29:42
Author: ffy00
Revision: 965618
upgpkg: python-starlette 0.14.2-1
Modified:
python-starlette/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-19 17:40:11 UTC (rev 965617)
+++ PKGBUILD 2021-06-19 18:29:42 UTC (rev 965618)
@@ -2,26 +2,29 @@
_pkgname=starlette
pkgname=python-$_pkgname
-pkgver=0.13.8
-pkgrel=3
+pkgver=0.14.2
+pkgrel=1
pkgdesc='The little ASGI framework that shines'
arch=('any')
url='https://github.com/encode/starlette'
license=('BSD')
-depends=('python')
+depends=('python' 'python-anyio')
optdepends=('python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
- 'python-yaml' 'python-requests' 'python-ujson')
+ 'python-yaml' 'python-requests' 'python-ujson' 'python-python-multipart')
makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner'
+checkdepends=('python-pytest' 'python-trio' 'python-pytest-asyncio'
'python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
'python-yaml' 'python-requests' 'python-ujson'
- 'python-unidecode')
+ 'python-unidecode' 'python-python-multipart')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('362d5422868aa8541406e8d69a408bc5acdd64989c5f63e6fe3119a2e842eea248bb8646af9c9e0ac35c5c59a91ee1ff15d064c74d7f760ae536193e13ae9ced')
+sha512sums=('4321d3d1890c49dea53d7923b456772ecc9d28083d28392e0e9cd1f39f33180cc1cb28914bee443849fa8c87015dd99610ea18e03f0101b0eaf3f8df56249fab')
prepare() {
cd $_pkgname-$pkgver
+ # remove pytest-cov usage
+ sed -i '/^ --cov.*/d' setup.cfg
+
# needs python-multipart
rm tests/test_formparsers.py
@@ -41,8 +44,7 @@
check() {
cd $_pkgname-$pkgver
- # test_request_form_urlencoded needs python-multipart
- python setup.py pytest --addopts -k-test_request_form_urlencoded
+ python -m pytest -p no:warnings
}
package() {
More information about the arch-commits
mailing list