Date: Fri, 13 Mar 2026 14:39:26 +0000 From: Charlie Li <vishwin@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a5726edccf04 - main - graphics/py-colour: remove deprecated d2to1 Message-ID: <69b4219e.383d3.3fc11633@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5726edccf04ddd67b94faf342a373287a441a25 commit a5726edccf04ddd67b94faf342a373287a441a25 Author: Charlie Li <vishwin@FreeBSD.org> AuthorDate: 2026-03-13 05:48:34 +0000 Commit: Charlie Li <vishwin@FreeBSD.org> CommitDate: 2026-03-13 14:39:20 +0000 graphics/py-colour: remove deprecated d2to1 d2to1 has been deprecated and archived for years, and its functionality has been subsumed into plain setuptools. While here, switch to USE_PYTHON=pep517 PR: 293782 Approved by: Martin Neubauer (maintainer) --- graphics/py-colour/Makefile | 7 ++++--- graphics/py-colour/files/patch-setup.py | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/graphics/py-colour/Makefile b/graphics/py-colour/Makefile index bd30be61349b..cb28c6d424e3 100644 --- a/graphics/py-colour/Makefile +++ b/graphics/py-colour/Makefile @@ -1,6 +1,6 @@ PORTNAME= colour PORTVERSION= 0.1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +12,12 @@ WWW= https://github.com/vaab/colour LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}d2to1>0:devel/py-d2to1@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 NO_ARCH= yes diff --git a/graphics/py-colour/files/patch-setup.py b/graphics/py-colour/files/patch-setup.py new file mode 100644 index 000000000000..a0990b67d2d8 --- /dev/null +++ b/graphics/py-colour/files/patch-setup.py @@ -0,0 +1,16 @@ +--- setup.py.orig 2017-11-19 23:15:25 UTC ++++ setup.py +@@ -54,12 +54,4 @@ if "0.1.5".startswith("%%"): + sys.exit(errlvl) + + +-## +-## Normal d2to1 setup +-## +- +-setup( +- setup_requires=['d2to1'], +- extras_require={'test': ['nose', ]}, +- d2to1=True +-) ++setup(extras_require={'test': ['nose', ]})home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b4219e.383d3.3fc11633>
