pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-fastapi: update to 0.70.0.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Thu Nov 25 13:57:31 2021 +0100
Changeset: da370f345c7d36123bd787a38883d2cff1e0cbad
Modified Files:
py-fastapi/Makefile
py-fastapi/PLIST
py-fastapi/distinfo
Removed Files:
py-fastapi/TODO
Log Message:
py-fastapi: update to 0.70.0.
Lots of development since the last release, also the CVE was fixed.
Tests need more dependencies to run, so not ready for import yet.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=da370f345c7d36123bd787a38883d2cff1e0cbad
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-fastapi/Makefile | 39 ++++++++++++++++++++++++++++++---------
py-fastapi/PLIST | 3 +++
py-fastapi/TODO | 2 --
py-fastapi/distinfo | 6 +++---
4 files changed, 36 insertions(+), 14 deletions(-)
diffs:
diff --git a/py-fastapi/Makefile b/py-fastapi/Makefile
index 689adcb597..161b3d6155 100644
--- a/py-fastapi/Makefile
+++ b/py-fastapi/Makefile
@@ -1,25 +1,46 @@
# $NetBSD$
-DISTNAME= fastapi-0.61.1
+DISTNAME= fastapi-0.70.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_PYPI:=f/fastapi/}
+MASTER_SITES= ${MASTER_SITE_PYPI:=f/fastapi/}
MAINTAINER= kamelderouiche%yahoo.com@localhost
HOMEPAGE= https://fastapi.tiangolo.com/
COMMENT= High performance, easy to learn, fast to code, ready for production
LICENSE= mit
-BUILD_DEPENDS+= ${PYPKGPREFIX}-jose>=3.1.0:../../wip/py-jose
-BUILD_DEPENDS+= ${PYPKGPREFIX}-passlib>=1.7.2:../../wip/py-passlib
-BUILD_DEPENDS+= ${PYPKGPREFIX}-autoflake>=1.3.1:../../wip/py-autoflake
-BUILD_DEPENDS+= ${PYPKGPREFIX}-flake8>=3.8.3:../../wip/py-flake8
-BUILD_DEPENDS+= ${PYPKGPREFIX}-uvicorn>=0.11.5:../../www/py-uvicorn
-BUILD_DEPENDS+= ${PYPKGPREFIX}-graphene>=2.1.8:../../wip/py-graphene
+DEPENDS+= ${PYPKGPREFIX}-dantic>=1.8.0:../../wip/py-dantic
DEPENDS+= ${PYPKGPREFIX}-starlette>=0.13.6:../../wip/py-starlette
-DEPENDS+= ${PYPKGPREFIX}-dantic>=1.0.0../../wip/py-dantic
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
+TEST_DEPENDS+= ${PYPKGPREFIX}-isort-[0-9]*:../../devel/py-isort
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-httpx-[0-9]*:../../www/py-httpx
+TEST_DEPENDS+= ${PYPKGPREFIX}-email_validator-[0-9]*:../../mail/py-email_validator
+TEST_DEPENDS+= ${PYPKGPREFIX}-sqlalchemy-[0-9]*:../../databases/py-sqlalchemy
+TEST_DEPENDS+= ${PYPKGPREFIX}-peewee-[0-9]*:../../databases/py-peewee
+#TEST_DEPENDS+= ${PYPKGPREFIX}-databases-[0-9]*:../../databases/py-databases
+#TEST_DEPENDS+= ${PYPKGPREFIX}-orjson-[0-9]*:../../wip/py-orjson
+TEST_DEPENDS+= ${PYPKGPREFIX}-ujson-[0-9]*:../../textproc/py-ujson
+TEST_DEPENDS+= ${PYPKGPREFIX}-python-multipart-[0-9]*:../../www/py-python-multipart
+TEST_DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+TEST_DEPENDS+= ${PYPKGPREFIX}-anyio-[0-9]*:../../devel/py-anyio
+#TEST_DEPENDS+= ${PYPKGPREFIX}-types-ujson-[0-9]*:../../devel/py-types-ujson
+#TEST_DEPENDS+= ${PYPKGPREFIX}-types-orjson-[0-9]*:../../devel/py-types-orjson
+TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+#TEST_DEPENDS+= ${PYPKGPREFIX}-jose-[0-9]*:../../devel/py-jose
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
+TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-fastapi/PLIST b/py-fastapi/PLIST
index 1043aef2a4..d1dec0bff3 100644
--- a/py-fastapi/PLIST
+++ b/py-fastapi/PLIST
@@ -115,6 +115,9 @@ ${PYSITELIB}/fastapi/templating.pyo
${PYSITELIB}/fastapi/testclient.py
${PYSITELIB}/fastapi/testclient.pyc
${PYSITELIB}/fastapi/testclient.pyo
+${PYSITELIB}/fastapi/types.py
+${PYSITELIB}/fastapi/types.pyc
+${PYSITELIB}/fastapi/types.pyo
${PYSITELIB}/fastapi/utils.py
${PYSITELIB}/fastapi/utils.pyc
${PYSITELIB}/fastapi/utils.pyo
diff --git a/py-fastapi/TODO b/py-fastapi/TODO
deleted file mode 100644
index 1fa755ee0d..0000000000
--- a/py-fastapi/TODO
+++ /dev/null
@@ -1,2 +0,0 @@
-This package has known vulnerabilities, please investigate and fix if possible:
- CVE-2021-32677
diff --git a/py-fastapi/distinfo b/py-fastapi/distinfo
index 55277de6db..337c90cc0f 100644
--- a/py-fastapi/distinfo
+++ b/py-fastapi/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-RMD160 (fastapi-0.61.1.tar.gz) = f87c89e50e8908257f35c4c7e562723fcdca7abb
-SHA512 (fastapi-0.61.1.tar.gz) = 5c3e3204ed8dd4d058cf0b19660004ac3e868b54ad3b7fd81d7765f82a7f552b6d8ef1eef82f38bb6d648d8d51814ee27c47f90b9eef8da5a5c1ed68eba6ecf6
-Size (fastapi-0.61.1.tar.gz) = 5031139 bytes
+BLAKE2s (fastapi-0.70.0.tar.gz) = 88c399deac9a7df6f0a56793d7033e540549fbe62e4565b6362c341d34bce34d
+SHA512 (fastapi-0.70.0.tar.gz) = 81297e6fc0300324840d165a6f682b31a3e90f0eca75ebd93b6d95048b57321d4305b8c3eb785ec12103e70eb0be3357537a2ae6ccceaaa8fc69c0fd82617341
+Size (fastapi-0.70.0.tar.gz) = 6127551 bytes
Home |
Main Index |
Thread Index |
Old Index