[arch-commits] Commit in python-fastapi/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun May 16 16:37:15 UTC 2021
Date: Sunday, May 16, 2021 @ 16:37:15
Author: ffy00
Revision: 935907
archrelease: copy trunk to community-any
Added:
python-fastapi/repos/community-any/PKGBUILD
(from rev 935906, python-fastapi/trunk/PKGBUILD)
Deleted:
python-fastapi/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 16:37:11 UTC (rev 935906)
+++ PKGBUILD 2021-05-16 16:37:15 UTC (rev 935907)
@@ -1,55 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=fastapi
-pkgname=python-$_pkgname
-pkgver=0.63.0
-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=('9fa931f913daab19294f32cb2153c9355e93783cf5765beda6e5cdb15e3f2564867c100700ac33ba5daf9779b730952afc692f9460bd41a594e101d601b10210')
-
-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 935906, python-fastapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-16 16:37:15 UTC (rev 935907)
@@ -0,0 +1,55 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=fastapi
+pkgname=python-$_pkgname
+pkgver=0.65.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=('8ddfaf4fd0daeb638d4e83dcc529be24e7f9fadcd01fb4446d93aabf86f380b1eed979589761a0b81776332bcebde4e8050bf555fd0f0ca391b5ee32a500462a')
+
+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