git: 6f663ee4a217 - main - www/py-google-cloud-datastore: Update to 2.5.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:45:54 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6f663ee4a21741b852a79d721438aff6b90890c6
commit 6f663ee4a21741b852a79d721438aff6b90890c6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:05:20 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:19 +0000
www/py-google-cloud-datastore: Update to 2.5.1
- Add LIBCST option
Changes: https://github.com/googleapis/python-datastore/releases
---
www/py-google-cloud-datastore/Makefile | 12 ++++++++----
www/py-google-cloud-datastore/distinfo | 6 +++---
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/www/py-google-cloud-datastore/Makefile b/www/py-google-cloud-datastore/Makefile
index 858d6e5f15f2..5d3cd8203672 100644
--- a/www/py-google-cloud-datastore/Makefile
+++ b/www/py-google-cloud-datastore/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= google-cloud-datastore
-PORTVERSION= 2.4.0
+PORTVERSION= 2.5.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,14 +12,18 @@ COMMENT= Google Cloud Datastore API client library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-core>=1.28.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-core>=1.31.5<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-cloud-core>=1.4.0<3.0:www/py-google-cloud-core@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}libcst>=0.2.5:devel/py-libcst@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}proto-plus>=1.4.0:devel/py-proto-plus@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}proto-plus>=1.15.0:devel/py-proto-plus@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTIONS_DEFINE= LIBCST
+LIBCST_DESC= Fixup scripts
+
+LIBCST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>=0.2.5:devel/py-libcst@${PY_FLAVOR}
+
.include <bsd.port.mk>
diff --git a/www/py-google-cloud-datastore/distinfo b/www/py-google-cloud-datastore/distinfo
index 9dcab7edbc73..d3fa42f0ec4c 100644
--- a/www/py-google-cloud-datastore/distinfo
+++ b/www/py-google-cloud-datastore/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637073030
-SHA256 (google-cloud-datastore-2.4.0.tar.gz) = 4a6f04112f2685a0a5cd8c7cb7946572bb7e0f6ca7cbe0088514006fca8594ca
-SIZE (google-cloud-datastore-2.4.0.tar.gz) = 147306
+TIMESTAMP = 1647264704
+SHA256 (google-cloud-datastore-2.5.1.tar.gz) = d5fa56a2fb20eb4bb2006a6cf502974dda95e16a9938ec9e0c5c57f187e000c7
+SIZE (google-cloud-datastore-2.5.1.tar.gz) = 153340