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

Filipe Laíns ffy00 at archlinux.org
Fri Nov 6 15:49:39 UTC 2020


    Date: Friday, November 6, 2020 @ 15:49:39
  Author: ffy00
Revision: 744387

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-06 15:49:26 UTC (rev 744386)
+++ PKGBUILD	2020-11-06 15:49:39 UTC (rev 744387)
@@ -1,56 +0,0 @@
-# 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
-}
-

Copied: python-fastapi/repos/community-any/PKGBUILD (from rev 744386, python-fastapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-06 15:49:39 UTC (rev 744387)
@@ -0,0 +1,56 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=fastapi
+pkgname=python-$_pkgname
+pkgver=0.61.2
+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=('87a641aa07a85b4787399c4c2497ffacdee1dd3462171a228b756a36d9cdd13335d204628b47357c22b35fa7467f671b00db741f6b681a395e6174704e1f8f25')
+
+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