git: 896d87aa94f1 - main - devel/py-more-itertools: Update to 8.13.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:45:49 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=896d87aa94f189acbf9b7a212ae772128e0179fe

commit 896d87aa94f189acbf9b7a212ae772128e0179fe
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:30:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:29 +0000

    devel/py-more-itertools: Update to 8.13.0
    
    Changes:        https://github.com/more-itertools/more-itertools/releases
                    https://github.com/more-itertools/more-itertools/blob/master/docs/versions.rst
---
 devel/py-more-itertools/Makefile       |  8 ++++++--
 devel/py-more-itertools/distinfo       |  6 +++---
 devel/py-more-itertools/files/setup.py | 21 +++++++++++++++++++++
 3 files changed, 30 insertions(+), 5 deletions(-)

diff --git a/devel/py-more-itertools/Makefile b/devel/py-more-itertools/Makefile
index 2493d02c5866..2a4b6d16c500 100644
--- a/devel/py-more-itertools/Makefile
+++ b/devel/py-more-itertools/Makefile
@@ -1,7 +1,7 @@
 # Created by: William Grzybowski <wg@FreeBSD.org>
 
 PORTNAME=	more-itertools
-PORTVERSION=	8.12.0
+PORTVERSION=	8.13.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,15 @@ COMMENT=	More routines for operating on iterables, beyond itertools
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:3.6+
+USES=		python:3.5+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+post-patch:
+	@${RM} ${WRKSRC}/pyproject.toml
+	@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
 do-test:
 	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
 
diff --git a/devel/py-more-itertools/distinfo b/devel/py-more-itertools/distinfo
index 425d426b8a51..9be585c95fd6 100644
--- a/devel/py-more-itertools/distinfo
+++ b/devel/py-more-itertools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638556580
-SHA256 (more-itertools-8.12.0.tar.gz) = 7dc6ad46f05f545f900dd59e8dfb4e84a4827b97b3cfecb175ea0c7d247f6064
-SIZE (more-itertools-8.12.0.tar.gz) = 108698
+TIMESTAMP = 1652122649
+SHA256 (more-itertools-8.13.0.tar.gz) = a42901a0a5b169d925f6f217cd5a190e32ef54360905b9c39ee7db5313bfec0f
+SIZE (more-itertools-8.13.0.tar.gz) = 101264
diff --git a/devel/py-more-itertools/files/setup.py b/devel/py-more-itertools/files/setup.py
new file mode 100644
index 000000000000..f672c20714c7
--- /dev/null
+++ b/devel/py-more-itertools/files/setup.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+# setup.py generated by flit for tools that don't yet use PEP 517
+
+from distutils.core import setup
+
+packages = \
+['more_itertools']
+
+package_data = \
+{'': ['*']}
+
+setup(name='more-itertools',
+      version='%%PORTVERSION%%',
+      description='More routines for operating on iterables, beyond itertools',
+      author=None,
+      author_email='Erik Rose <erikrose@grinchcentral.com>',
+      url=None,
+      packages=packages,
+      package_data=package_data,
+      python_requires='>=3.5',
+     )