git: 82b96cb90e01 - main - devel/py-parsley: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Apr 2024 20:20:46 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=82b96cb90e01b3b17bcf43174bfe8c27bd628ca7 commit 82b96cb90e01b3b17bcf43174bfe8c27bd628ca7 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-04-08 20:15:15 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-04-08 20:17:26 +0000 devel/py-parsley: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-parsley/Makefile | 6 +++++- devel/py-parsley/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/devel/py-parsley/Makefile b/devel/py-parsley/Makefile index c88058af7dad..7f8a4f1f3ba0 100644 --- a/devel/py-parsley/Makefile +++ b/devel/py-parsley/Makefile @@ -1,5 +1,6 @@ PORTNAME= parsley PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +13,11 @@ WWW= https://github.com/pyga/parsley LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +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 NO_ARCH= yes diff --git a/devel/py-parsley/files/patch-setup.py b/devel/py-parsley/files/patch-setup.py new file mode 100644 index 000000000000..4ca5e1336016 --- /dev/null +++ b/devel/py-parsley/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2015-09-09 02:45:25 UTC ++++ setup.py +@@ -6,7 +6,7 @@ setup( + + from distutils.core import setup + setup( +- name="Parsley", ++ name="parsley", + version="1.3", + url="http://launchpad.net/parsley", + description="Parsing and pattern matching made easy.",