Date: Mon, 13 May 2024 14:18:42 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: 6cd87c52f9f3 - main - devel/py-simpleparse: Convert to USE_PYTHON=pep517 Message-ID: <202405131418.44DEIg0g088667@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=6cd87c52f9f38eda8d28e86480ac557d5f4beac0 commit 6cd87c52f9f38eda8d28e86480ac557d5f4beac0 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-13 14:00:18 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-13 14:00:18 +0000 devel/py-simpleparse: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-simpleparse/Makefile | 6 +++++- devel/py-simpleparse/files/patch-setup.py | 9 ++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/devel/py-simpleparse/Makefile b/devel/py-simpleparse/Makefile index 9dccf5d47696..6befcdeb590c 100644 --- a/devel/py-simpleparse/Makefile +++ b/devel/py-simpleparse/Makefile @@ -1,5 +1,6 @@ PORTNAME= simpleparse PORTVERSION= 2.2.4 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,8 +11,11 @@ COMMENT= Python EBNF parser generator (with mx.TextTools derivative) WWW= https://simpleparse.sourceforge.net/ \ https://github.com/mcfletch/simpleparse +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + diff --git a/devel/py-simpleparse/files/patch-setup.py b/devel/py-simpleparse/files/patch-setup.py index 2d4d816a280e..dfff3fbbdab9 100644 --- a/devel/py-simpleparse/files/patch-setup.py +++ b/devel/py-simpleparse/files/patch-setup.py @@ -1,11 +1,14 @@ ---- setup.py.orig 2020-03-07 01:30:49 UTC +--- setup.py.orig 2020-03-07 01:41:28 UTC +++ setup.py -@@ -29,7 +29,7 @@ if sys.platform == 'win32': +@@ -29,9 +29,9 @@ if __name__ == "__main__": )['define'] = 'BAD_STATIC_FORWARD' if __name__ == "__main__": - packages = find_packages(HERE) + packages = find_packages(exclude=['examples*', 'tests*']) setup ( - name = "SimpleParse", +- name = "SimpleParse", ++ name = "simpleparse", version = findVersion(), + description = "A Parser Generator for Python (w/mxTextTools derivative)", + author = "Mike C. Fletcher",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131418.44DEIg0g088667>