[arch-commits] Commit in python-fastapi/repos/community-any (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat Aug 29 15:39:04 UTC 2020


    Date: Saturday, August 29, 2020 @ 15:39:04
  Author: ffy00
Revision: 692224

archrelease: copy trunk to community-any

Added:
  python-fastapi/repos/community-any/PKGBUILD
    (from rev 692223, python-fastapi/trunk/PKGBUILD)
Deleted:
  python-fastapi/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-29 15:38:53 UTC (rev 692223)
+++ PKGBUILD	2020-08-29 15:39:04 UTC (rev 692224)
@@ -1,56 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=fastapi
-pkgname=python-$_pkgname
-pkgver=0.61.0
-pkgrel=2
-pkgdesc='FastAPI framework, high performance, easy to learn, fast to code, ready for production'
-arch=('any')
-url='https://github.com/tiangolo/fastapi'
-license=('MIT')
-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-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-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=('ae8e7a1bf9c9f025cb739e9640584d4f2af61eef5a0ac4dcf3074a795d97e60c8964b32397a394badedc99f87207ac9c7898cd8ec5cad7172be365830244e251')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  dephell deps convert --from pyproject.toml --to setup.py
-
-  # don't pin starlette dependency
-  sed -i 's|starlette.*"|starlette"|' pyproject.toml
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  python setup.py pytest
-
-  mypy -p fastapi
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-fastapi/repos/community-any/PKGBUILD (from rev 692223, python-fastapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-29 15:39:04 UTC (rev 692224)
@@ -0,0 +1,56 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=fastapi
+pkgname=python-$_pkgname
+pkgver=0.61.1
+pkgrel=1
+pkgdesc='FastAPI framework, high performance, easy to learn, fast to code, ready for production'
+arch=('any')
+url='https://github.com/tiangolo/fastapi'
+license=('MIT')
+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-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-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=('f2f0490c58705e4828b7be289845a144bb89f4cd4b4bc477a457caf85de921622a7fbd6468b7a0edb67229de4099bd3dc828eaef21f6be6291d5cf966ef2f731')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  dephell deps convert --from pyproject.toml --to setup.py
+
+  # don't pin starlette dependency
+  sed -i 's|starlette.*"|starlette"|' pyproject.toml
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python setup.py pytest
+
+  mypy -p fastapi
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list