[arch-commits] Commit in python-fastapi/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Aug 12 14:16:44 UTC 2020


    Date: Wednesday, August 12, 2020 @ 14:16:43
  Author: ffy00
Revision: 676366

upgpkg: python-fastapi 0.61.0-1

Modified:
  python-fastapi/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++----------------------
 1 file changed, 8 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-12 14:15:39 UTC (rev 676365)
+++ PKGBUILD	2020-08-12 14:16:43 UTC (rev 676366)
@@ -2,7 +2,7 @@
 
 _pkgname=fastapi
 pkgname=python-$_pkgname
-pkgver=0.60.1
+pkgver=0.61.0
 pkgrel=1
 pkgdesc='FastAPI framework, high performance, easy to learn, fast to code, ready for production'
 arch=('any')
@@ -11,21 +11,18 @@
 depends=('python-starlette' 'python-pydantic')
 optdepends=('python-requests' 'python-aiofiles' 'python-jinja' 'python-itsdangerous'
             'python-yaml' 'python-graphene' 'python-ujson' 'python-orjson'
-            'python-email-validator' 'python-async_generator')
-makedepends=('python-setuptools' 'python-dephell') # 'python-build' 'python-install' 'python-flit')
-# We can't use python-pytest-runner in PEP517 workflows so I am using python-pyproject2setuppy as a workaround
-# Relevant: https://github.com/pytest-dev/pytest/issues/7281
+            'python-email-validator' 'python-multipart')
+makedepends=('python-setuptools' 'python-dephell')
 checkdepends=('python-pytest-runner' 'python-pytest-cov' 'mypy'
               'python-requests' 'python-aiofiles' 'python-jinja' 'python-itsdangerous'
               'python-yaml' 'python-graphene' 'python-ujson' 'python-orjson'
-              'python-email-validator' 'python-async_generator' 'python-pyjwt'
-              'python-sqlalchemy' 'python-peewee' 'python-flask' 'python-passlib'
-              'python-bcrypt') # 'python-pyproject2setuppy'
+              'python-email-validator'  'python-pyjwt' 'python-sqlalchemy'
+              'python-peewee' 'python-flask' 'python-passlib'
+              'python-bcrypt' 'python-httpx' 'python-python-multipart'
+              'python-databases' 'python-aiosqlite' 'python-jose')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('6f6fa75f9de50e8d03d195d0dd32adc42e0cf7409d04a422de696b3754ee2eae6788e6abe3296700e6ee29c5213344462e1768a929a8093309a0ad5e24c176ea')
+sha512sums=('ae8e7a1bf9c9f025cb739e9640584d4f2af61eef5a0ac4dcf3074a795d97e60c8964b32397a394badedc99f87207ac9c7898cd8ec5cad7172be365830244e251')
 
-# TODO: package python-multipart
-
 prepare() {
   cd $_pkgname-$pkgver
 
@@ -33,17 +30,6 @@
 
   # don't pin starlette dependency
   sed -i 's|starlette.*"|starlette"|' pyproject.toml
-
-  # needs python-databases
-  rm tests/test_tutorial/test_async_sql_databases/test_tutorial001.py
-
-  # need python-multipart
-  rm tests/test_forms_from_non_typing_sequences.py
-  rm tests/test_security_oauth2{,_optional}.py
-  rm tests/test_tutorial/test_request_files/test_tutorial00{1,2}.py
-  rm tests/test_tutorial/test_request_forms/test_tutorial001.py
-  rm tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py
-  rm tests/test_tutorial/test_security/test_tutorial00{3,5}.py
 }
 
 build() {



More information about the arch-commits mailing list