Files
ports/graphics/py-colour/files/patch-setup.py
T
Charlie Li a5726edccf 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)
2026-03-13 10:39:20 -04:00

17 lines
306 B
Python

--- 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', ]})