* update python-starlette to 0.38.5-1

This commit is contained in:
Alexander Baldeck 2024-09-24 16:11:30 +02:00
parent 86b3f4aac4
commit b19abb655d
2 changed files with 15 additions and 9 deletions

View File

@ -1,7 +1,7 @@
pkgbase = python-starlette
pkgdesc = The little ASGI framework that shines
pkgver = 0.37.2
pkgrel = 5
pkgver = 0.38.5
pkgrel = 1
url = https://github.com/encode/starlette
arch = any
license = BSD-3-Clause
@ -26,8 +26,8 @@ pkgbase = python-starlette
optdepends = python-python-multipart: for form parsing
optdepends = python-pyyaml: for schema generator
optdepends = python-httpx: for test client
source = starlette-0.37.2.tar.gz::https://github.com/encode/starlette/archive/0.37.2.tar.gz
sha512sums = 27240c706553e610da05cfc92f818c61e97a891ea7c960fef925a122100a61931cbca973a0995aa1e79d192cda2250139f471929a3f4a7b0f4600d00b6287744
b2sums = 489fe0d3148f8f006d32d3e52e82cc2c07d9b1a8e3a3cadabe2aa2eb9dd7e00b35e2093dc1de0cb4a6a4606395ed4d19b26778686216a7f8b55a15e61701c9da
source = starlette-0.38.5.tar.gz::https://github.com/encode/starlette/archive/0.38.5.tar.gz
sha512sums = 1ad5ddb497eb35c8b0b2569218b7e98cb4bee0fc2497912aa86bc75fd894264f8d30c886313cc4aa6dd02a24197d71dbd0640b7e2f0a472ce1002ee5cba5ae59
b2sums = 9ad32478b22cc743652eda43ad71e6b43af9a1c9b42614a16b5fbae282cfdf5e1c092717bb35711d256e75249cf8705d3545289236c78382673f87a9706b7599
pkgname = python-starlette

View File

@ -5,8 +5,8 @@
_name=starlette
pkgname=python-$_name
pkgver=0.37.2
pkgrel=5
pkgver=0.38.5
pkgrel=1
pkgdesc='The little ASGI framework that shines'
arch=(any)
url="https://github.com/encode/starlette"
@ -45,8 +45,14 @@ optdepends=(
'python-httpx: for test client'
)
source=($_name-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha512sums=('27240c706553e610da05cfc92f818c61e97a891ea7c960fef925a122100a61931cbca973a0995aa1e79d192cda2250139f471929a3f4a7b0f4600d00b6287744')
b2sums=('489fe0d3148f8f006d32d3e52e82cc2c07d9b1a8e3a3cadabe2aa2eb9dd7e00b35e2093dc1de0cb4a6a4606395ed4d19b26778686216a7f8b55a15e61701c9da')
sha512sums=('1ad5ddb497eb35c8b0b2569218b7e98cb4bee0fc2497912aa86bc75fd894264f8d30c886313cc4aa6dd02a24197d71dbd0640b7e2f0a472ce1002ee5cba5ae59')
b2sums=('9ad32478b22cc743652eda43ad71e6b43af9a1c9b42614a16b5fbae282cfdf5e1c092717bb35711d256e75249cf8705d3545289236c78382673f87a9706b7599')
prepare() {
cd $_name-$pkgver
# Ignore new warnings from python-anyio 4.4.0 making check() fails
sed -i '/"error"/d' pyproject.toml
}
build() {
cd $_name-$pkgver