git: 74f6ce79ed8f - main - www/py-fastapi: Update to 0.74.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Feb 2022 02:07:48 UTC
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=74f6ce79ed8f33a6d20b3e2579d82978f1b729dc
commit 74f6ce79ed8f33a6d20b3e2579d82978f1b729dc
Author: Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-02-18 02:06:25 +0000
Commit: Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-02-18 02:06:25 +0000
www/py-fastapi: Update to 0.74.0
PR: 262027
Reported by: meka@tilda.center
---
www/py-fastapi/Makefile | 2 +-
www/py-fastapi/distinfo | 6 +--
www/py-fastapi/files/patch-setup.py | 76 +++++++++++++++++++++++++++++++++++++
3 files changed, 80 insertions(+), 4 deletions(-)
diff --git a/www/py-fastapi/Makefile b/www/py-fastapi/Makefile
index 66f74c25addb..e56013c19c9f 100644
--- a/www/py-fastapi/Makefile
+++ b/www/py-fastapi/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fastapi
-PORTVERSION= 0.70.0
+PORTVERSION= 0.74.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-fastapi/distinfo b/www/py-fastapi/distinfo
index 4bb001b82134..8085742b0141 100644
--- a/www/py-fastapi/distinfo
+++ b/www/py-fastapi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633985906
-SHA256 (fastapi-0.70.0.tar.gz) = 66da43cfe5185ea1df99552acffd201f1832c6b364e0f4136c0a99f933466ced
-SIZE (fastapi-0.70.0.tar.gz) = 6127551
+TIMESTAMP = 1645149061
+SHA256 (fastapi-0.74.0.tar.gz) = 5363a2cd983aa700e5a6c25d63d1b84aee0d4c94358247b4a1a947e39f654ffe
+SIZE (fastapi-0.74.0.tar.gz) = 6375770
diff --git a/www/py-fastapi/files/patch-setup.py b/www/py-fastapi/files/patch-setup.py
new file mode 100644
index 000000000000..658be69cc8a3
--- /dev/null
+++ b/www/py-fastapi/files/patch-setup.py
@@ -0,0 +1,76 @@
+--- setup.py.orig 2022-02-18 00:15:19 UTC
++++ setup.py
+@@ -0,0 +1,73 @@
++#!/usr/bin/env python
++# setup.py generated by flit for tools that don't yet use PEP 517
++
++from distutils.core import setup
++
++packages = \
++['fastapi',
++ 'fastapi.dependencies',
++ 'fastapi.middleware',
++ 'fastapi.openapi',
++ 'fastapi.security']
++
++package_data = \
++{'': ['*']}
++
++install_requires = \
++['starlette ==0.17.1',
++ 'pydantic >=1.6.2,!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0']
++
++extras_require = \
++{'all': ['requests >=2.24.0,<3.0.0',
++ 'jinja2 >=2.11.2,<4.0.0',
++ 'python-multipart >=0.0.5,<0.0.6',
++ 'itsdangerous >=1.1.0,<3.0.0',
++ 'pyyaml >=5.3.1,<6.0.0',
++ 'ujson >=4.0.1,<5.0.0',
++ 'orjson >=3.2.1,<4.0.0',
++ 'email_validator >=1.1.1,<2.0.0',
++ 'uvicorn[standard] >=0.12.0,<0.16.0'],
++ 'dev': ['python-jose[cryptography] >=3.3.0,<4.0.0',
++ 'passlib[bcrypt] >=1.7.2,<2.0.0',
++ 'autoflake >=1.4.0,<2.0.0',
++ 'flake8 >=3.8.3,<4.0.0',
++ 'uvicorn[standard] >=0.12.0,<0.16.0'],
++ 'doc': ['mkdocs >=1.1.2,<2.0.0',
++ 'mkdocs-material >=8.1.4,<9.0.0',
++ 'mdx-include >=1.4.1,<2.0.0',
++ 'mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0',
++ 'typer-cli >=0.0.12,<0.0.13',
++ 'pyyaml >=5.3.1,<6.0.0'],
++ 'test': ['pytest >=6.2.4,<7.0.0',
++ 'pytest-cov >=2.12.0,<4.0.0',
++ 'mypy ==0.910',
++ 'flake8 >=3.8.3,<4.0.0',
++ 'black ==21.9b0',
++ 'isort >=5.0.6,<6.0.0',
++ 'requests >=2.24.0,<3.0.0',
++ 'httpx >=0.14.0,<0.19.0',
++ 'email_validator >=1.1.1,<2.0.0',
++ 'sqlalchemy >=1.3.18,<1.5.0',
++ 'peewee >=3.13.3,<4.0.0',
++ 'databases[sqlite] >=0.3.2,<0.6.0',
++ 'orjson >=3.2.1,<4.0.0',
++ 'ujson >=4.0.1,<5.0.0',
++ 'python-multipart >=0.0.5,<0.0.6',
++ 'flask >=1.1.2,<3.0.0',
++ 'anyio[trio] >=3.2.1,<4.0.0',
++ 'types-ujson ==0.1.1',
++ 'types-orjson ==3.6.0'],
++ "test:python_version<'3.7'": ['types-dataclasses ==0.1.7']}
++
++setup(name='fastapi',
++ version='0.74.0',
++ description='FastAPI framework, high performance, easy to learn, fast to code, ready for production',
++ author='Sebastián RamÃrez',
++ author_email='tiangolo@gmail.com',
++ url='https://github.com/tiangolo/fastapi',
++ packages=packages,
++ package_data=package_data,
++ install_requires=install_requires,
++ extras_require=extras_require,
++ python_requires='>=3.6.1',
++ )