git: 6de75e8a8555 - main - devel/py-avro: Update to 1.11.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 01 Nov 2021 13:45:47 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6de75e8a85555e8b95d25a1c80927db6398ddf8b

commit 6de75e8a85555e8b95d25a1c80927db6398ddf8b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-01 13:24:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-01 13:41:29 +0000

    devel/py-avro: Update to 1.11.0
    
    Changes:        https://github.com/apache/avro/releases
---
 devel/py-avro/Makefile | 10 ++++++++--
 devel/py-avro/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/devel/py-avro/Makefile b/devel/py-avro/Makefile
index 71019090084b..68828018eb75 100644
--- a/devel/py-avro/Makefile
+++ b/devel/py-avro/Makefile
@@ -1,7 +1,7 @@
 # Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
 
 PORTNAME=	avro
-PORTVERSION=	1.10.2
+PORTVERSION=	1.11.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -26,4 +26,10 @@ ZSTANDARD_DESC=	Zstandard support
 SNAPPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-snappy>=0:archivers/py-python-snappy@${PY_FLAVOR}
 ZSTANDARD_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zstandard>=0:archivers/py-zstandard@${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/devel/py-avro/distinfo b/devel/py-avro/distinfo
index 8242cb45ece9..5b50a6f14764 100644
--- a/devel/py-avro/distinfo
+++ b/devel/py-avro/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618320000
-SHA256 (avro-1.10.2.tar.gz) = 381b990cc4c4444743c3297348ffd46e0c3a5d7a17e15b2f4a9042f6e955c31a
-SIZE (avro-1.10.2.tar.gz) = 68176
+TIMESTAMP = 1635730915
+SHA256 (avro-1.11.0.tar.gz) = 1206365cc30ad561493f735329857dd078533459cee4e928aec2505f341ce445
+SIZE (avro-1.11.0.tar.gz) = 83374