Date: Monday, September 26, 2022 @ 19:54:26
  Author: dvzrv
Revision: 1311535

upgpkg: python-starlette 0.21.0-1: Upgrade to 0.21.0.

Add python-httpx to checkdepends and optdepends, replacing python-requests.

Modified:
  python-starlette/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-26 19:49:43 UTC (rev 1311534)
+++ PKGBUILD    2022-09-26 19:54:26 UTC (rev 1311535)
@@ -3,7 +3,7 @@
 
 _name=starlette
 pkgname=python-$_name
-pkgver=0.20.4
+pkgver=0.21.0
 pkgrel=1
 pkgdesc='The little ASGI framework that shines'
 arch=(any)
@@ -10,14 +10,7 @@
 url="https://github.com/encode/starlette";
 license=(BSD)
 depends=(python python-anyio)
-optdepends=(
-  'python-itsdangerous: for session middleware support'
-  'python-jinja: for jinja templates'
-  'python-python-multipart: for form parsing'
-  'python-pyyaml: for schema generator'
-  'python-requests: for test client'
-)
-makedepends=(python-build python-installer python-setuptools python-wheel)
+makedepends=(python-build python-installer python-hatchling python-wheel)
 checkdepends=(
   python-aiosqlite
   python-databases
@@ -29,14 +22,21 @@
   python-jinja
   python-python-multipart
   python-pyyaml
-  python-requests
+  python-httpx
 
   # not specified,but required
   python-sqlalchemy
 )
+optdepends=(
+  'python-itsdangerous: for session middleware support'
+  'python-jinja: for jinja templates'
+  'python-python-multipart: for form parsing'
+  'python-pyyaml: for schema generator'
+  'python-httpx: for test client'
+)
 source=($_name-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
-sha512sums=('481a095ada3140164abae89026da36c90657d8ccabb0a6753094bf7fdf47ce6f789320ed15e94d15dedffaf302691e204cb541c26a4c779848aa6505dfe52b2f')
-b2sums=('265ef6b88ebc5cee4361601198891cbab9e92e354942a06622bdac46dc63d2644557bef952730b455157ee83b15035016039f8a88f17e673487e9a3571d6180c')
+sha512sums=('c246862604ba807141313857321d898d996eaa771ccb197546d0928a75cbb69f0e485fe90d2c817e70323146077c487436516384e1401d815c59c0ac75845e2b')
+b2sums=('7ff818d4687757ec8699dcd0e2582af78211787b7a0f2110da045eb4f7a8760262cf144b0af7dc9f72140b5dae1e65f7a4207ee3b165db4091c5139ce0bfcc85')
 
 build() {
   cd $_name-$pkgver

Reply via email to