From f52bc964cb4bc4d8efefe859bcd024f9bdccb3ce Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 13 May 2024 22:01:14 +0800 Subject: [PATCH] devel/py-xstatic-mdi: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-xstatic-mdi/Makefile | 7 +++++-- devel/py-xstatic-mdi/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 devel/py-xstatic-mdi/files/patch-setup.py diff --git a/devel/py-xstatic-mdi/Makefile b/devel/py-xstatic-mdi/Makefile index 6a93a0ca4f79..5fa8eb6c7597 100644 --- a/devel/py-xstatic-mdi/Makefile +++ b/devel/py-xstatic-mdi/Makefile @@ -1,6 +1,6 @@ PORTNAME= xstatic-mdi PORTVERSION= 1.6.50.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,8 +13,11 @@ WWW= https://pictogrammers.com/library/mdi/ \ LICENSE= MIT +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-xstatic-mdi/files/patch-setup.py b/devel/py-xstatic-mdi/files/patch-setup.py new file mode 100644 index 000000000000..65b1c19bfe41 --- /dev/null +++ b/devel/py-xstatic-mdi/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2019-02-14 06:40:32 UTC ++++ setup.py +@@ -6,7 +6,7 @@ setup( + long_description = open('README.txt').read() + + setup( +- name=xs.PACKAGE_NAME, ++ name='xstatic-mdi', + version=xs.PACKAGE_VERSION, + description=xs.DESCRIPTION, + long_description=long_description,