git: 1367ca9f2340 - main - devel/py-aioitertools: Update to 0.10.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Mar 2022 18:16:55 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1367ca9f23403c7bc0f6ebcf6774961555deec46 commit 1367ca9f23403c7bc0f6ebcf6774961555deec46 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-07 17:52:50 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-07 18:11:02 +0000 devel/py-aioitertools: Update to 0.10.0 Changes: https://github.com/omnilib/aioitertools/blob/main/CHANGELOG.md --- devel/py-aioitertools/Makefile | 9 ++++++--- devel/py-aioitertools/distinfo | 6 +++--- devel/py-aioitertools/files/setup.py | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/devel/py-aioitertools/Makefile b/devel/py-aioitertools/Makefile index e56bc778b433..2b2990e6b2a4 100644 --- a/devel/py-aioitertools/Makefile +++ b/devel/py-aioitertools/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> PORTNAME= aioitertools -PORTVERSION= 0.8.0 +PORTVERSION= 0.10.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,8 +19,11 @@ NO_ARCH= yes .include <bsd.port.pre.mk> -.if ${PYTHON_REL} < 30800 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7:devel/py-typing-extensions@${PY_FLAVOR} +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0:devel/py-typing-extensions@${PY_FLAVOR} .endif +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include <bsd.port.post.mk> diff --git a/devel/py-aioitertools/distinfo b/devel/py-aioitertools/distinfo index ce3e5bee9fd9..2cb85836bf5f 100644 --- a/devel/py-aioitertools/distinfo +++ b/devel/py-aioitertools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1628439026 -SHA256 (aioitertools-0.8.0.tar.gz) = 8b02facfbc9b0f1867739949a223f3d3267ed8663691cc95abd94e2c1d8c2b46 -SIZE (aioitertools-0.8.0.tar.gz) = 30284 +TIMESTAMP = 1646057924 +SHA256 (aioitertools-0.10.0.tar.gz) = 7d1d1d4a03d462c5a0840787d3df098f125847e0d38b833b30f8f8cbc45a1420 +SIZE (aioitertools-0.10.0.tar.gz) = 31669 diff --git a/devel/py-aioitertools/files/setup.py b/devel/py-aioitertools/files/setup.py new file mode 100644 index 000000000000..fe0e63cbb32d --- /dev/null +++ b/devel/py-aioitertools/files/setup.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['aioitertools', 'aioitertools.tests'] + +package_data = \ +{'': ['*']} + +extras_require = \ +{":python_version < '3.10'": ['typing_extensions>=4.0']} + +setup(name='aioitertools', + version='%%PORTVERSION%%', + description='itertools and builtins for AsyncIO and mixed iterables', + author='John Reese', + author_email='john@noswap.com', + url='https://aioitertools.omnilib.dev', + packages=packages, + package_data=package_data, + extras_require=extras_require, + python_requires='>=3.6', + )