git: aeab2156126b - main - www/py-aioh2: Update to 0.2.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Oct 2023 16:01:35 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=aeab2156126bf2e6b207cb2d254fec1926814b8f commit aeab2156126bf2e6b207cb2d254fec1926814b8f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-10-16 15:19:18 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-10-16 15:59:53 +0000 www/py-aioh2: Update to 0.2.3 Changes: https://github.com/decentfox/aioh2/commits/master --- www/py-aioh2/Makefile | 3 +-- www/py-aioh2/distinfo | 6 +++--- www/py-aioh2/files/patch-aioh2-helper.py | 8 -------- www/py-aioh2/files/patch-aioh2-protocol.py | 11 ----------- 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/www/py-aioh2/Makefile b/www/py-aioh2/Makefile index ca2fa4c58e2f..6d6470f68d37 100644 --- a/www/py-aioh2/Makefile +++ b/www/py-aioh2/Makefile @@ -1,6 +1,5 @@ PORTNAME= aioh2 -PORTVERSION= 0.2.2 -PORTREVISION= 1 +PORTVERSION= 0.2.3 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-aioh2/distinfo b/www/py-aioh2/distinfo index edd537732cdc..a6ea27557b9a 100644 --- a/www/py-aioh2/distinfo +++ b/www/py-aioh2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1530050618 -SHA256 (aioh2-0.2.2.tar.gz) = 8da7b49261d9bbfe71b3b9e994eca1fcc53890c7868fc96eb6b9027e3f27220e -SIZE (aioh2-0.2.2.tar.gz) = 24585 +TIMESTAMP = 1697463142 +SHA256 (aioh2-0.2.3.tar.gz) = 9f6ed71db16c410abf74dbe900def8f11429ba19edcf1037b865fc03668d3bd7 +SIZE (aioh2-0.2.3.tar.gz) = 24688 diff --git a/www/py-aioh2/files/patch-aioh2-helper.py b/www/py-aioh2/files/patch-aioh2-helper.py deleted file mode 100644 index 1df8af12a2a2..000000000000 --- a/www/py-aioh2/files/patch-aioh2-helper.py +++ /dev/null @@ -1,8 +0,0 @@ ---- aioh2/helper.py.orig 2018-02-05 02:31:19 UTC -+++ aioh2/helper.py -@@ -86,4 +86,4 @@ if hasattr(socket, 'AF_UNIX'): - if hasattr(asyncio, 'ensure_future'): # Python >= 3.5 - async_task = asyncio.ensure_future - else: -- async_task = asyncio.async -+ async_task = getattr(asyncio, "async") diff --git a/www/py-aioh2/files/patch-aioh2-protocol.py b/www/py-aioh2/files/patch-aioh2-protocol.py deleted file mode 100644 index 1bad65b74c6b..000000000000 --- a/www/py-aioh2/files/patch-aioh2-protocol.py +++ /dev/null @@ -1,11 +0,0 @@ ---- aioh2/protocol.py.orig 2017-12-03 09:08:55 UTC -+++ aioh2/protocol.py -@@ -380,7 +380,7 @@ class H2Protocol(asyncio.Protocol): - if self._handler: - raise Exception('Handler was already set') - if handler: -- self._handler = asyncio.async(handler, loop=self._loop) -+ self._handler = async_task(handler, loop=self._loop) - - def close_connection(self): - self._transport.close()