mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
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)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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', ]})
|
||||
Reference in New Issue
Block a user