Date: Tue, 21 Mar 2023 19:27:46 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0e95f67c584c - main - devel/py-more-itertools: Convert to USE_PYTHON=pep517 Message-ID: <202303211927.32LJRkwe031319@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e95f67c584c62f92e5b074235fac8cb389ecd59 commit 0e95f67c584c62f92e5b074235fac8cb389ecd59 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:44:21 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:20:45 +0000 devel/py-more-itertools: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-more-itertools/Makefile | 9 ++++----- devel/py-more-itertools/files/setup.py | 21 --------------------- 2 files changed, 4 insertions(+), 26 deletions(-) diff --git a/devel/py-more-itertools/Makefile b/devel/py-more-itertools/Makefile index 6b3fbbb33dbc..6399b51779fe 100644 --- a/devel/py-more-itertools/Makefile +++ b/devel/py-more-itertools/Makefile @@ -1,5 +1,6 @@ PORTNAME= more-itertools PORTVERSION= 8.14.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,13 +12,11 @@ WWW= https://github.com/more-itertools/more-itertools LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} + USES= python:3.5+ -USE_PYTHON= autoplist concurrent distutils unittest +USE_PYTHON= autoplist concurrent pep517 unittest NO_ARCH= yes -post-patch: - @${RM} ${WRKSRC}/pyproject.toml - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include <bsd.port.mk> diff --git a/devel/py-more-itertools/files/setup.py b/devel/py-more-itertools/files/setup.py deleted file mode 100644 index f672c20714c7..000000000000 --- a/devel/py-more-itertools/files/setup.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/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', - )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303211927.32LJRkwe031319>