git: 705ae32ce7c7 - main - www/py-starlette: Update to 0.16.0
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jul 21 18:13:41 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=705ae32ce7c7f7fadd0f605c6163c3546ca47042
commit 705ae32ce7c7f7fadd0f605c6163c3546ca47042
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-21 17:17:49 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-21 18:11:55 +0000
www/py-starlette: Update to 0.16.0
Changes: https://github.com/encode/starlette/blob/master/docs/release-notes.md
https://www.starlette.io/release-notes/
---
www/py-starlette/Makefile | 12 +++++++++---
www/py-starlette/distinfo | 6 +++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/www/py-starlette/Makefile b/www/py-starlette/Makefile
index 1c9ff5e4219a..4d30b31c5ac4 100644
--- a/www/py-starlette/Makefile
+++ b/www/py-starlette/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
PORTNAME= starlette
-PORTVERSION= 0.15.0
+PORTVERSION= 0.16.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.0.0<4:devel/py-anyio@${PY_FLAVOR}
-USES= python:3.6+
+USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
@@ -30,4 +30,10 @@ FULL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphene>=0:devel/py-graphene@${PY_FLAV
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/py-starlette/distinfo b/www/py-starlette/distinfo
index 42b14ae9c01b..a20b1b723b21 100644
--- a/www/py-starlette/distinfo
+++ b/www/py-starlette/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624630130
-SHA256 (starlette-0.15.0.tar.gz) = 5c6e71fe8a11f690f78ab13363b0993eb7e5446986d3549902a81505afdaa08b
-SIZE (starlette-0.15.0.tar.gz) = 50334
+TIMESTAMP = 1626714626
+SHA256 (starlette-0.16.0.tar.gz) = e1904b5d0007aee24bdd3c43994be9b3b729f4f58e740200de1d623f8c3a8870
+SIZE (starlette-0.16.0.tar.gz) = 51329
More information about the dev-commits-ports-all
mailing list