Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:20:26 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5f6fdf1ff173 - main - graphics/py-cairosvg: Convert to USE_PYTHON=pep517
Message-ID:  <202405131420.44DEKQrS000978@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5f6fdf1ff173e41a68829b4616e15d46a741adea

commit 5f6fdf1ff173e41a68829b4616e15d46a741adea
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:01:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:01:32 +0000

    graphics/py-cairosvg: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 graphics/py-cairosvg/Makefile              | 5 ++++-
 graphics/py-cairosvg/files/patch-setup.cfg | 9 +++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/graphics/py-cairosvg/Makefile b/graphics/py-cairosvg/Makefile
index 6862549680b1..9efe71f55ccb 100644
--- a/graphics/py-cairosvg/Makefile
+++ b/graphics/py-cairosvg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cairosvg
 PORTVERSION=	2.7.1
+PORTREVISION=	1
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,6 +14,8 @@ WWW=		https://www.courtbouillon.org/cairosvg \
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairocffi>=0:graphics/py-cairocffi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cssselect2>=0:textproc/py-cssselect2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \
@@ -22,7 +25,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
 
 USES=		cpe python
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
diff --git a/graphics/py-cairosvg/files/patch-setup.cfg b/graphics/py-cairosvg/files/patch-setup.cfg
new file mode 100644
index 000000000000..2b5fb6c69dec
--- /dev/null
+++ b/graphics/py-cairosvg/files/patch-setup.cfg
@@ -0,0 +1,9 @@
+--- setup.cfg.orig	2023-08-05 09:02:26 UTC
++++ setup.cfg
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = CairoSVG
++name = cairosvg
+ url = https://courtbouillon.org/cairosvg
+ version = file: cairosvg/VERSION
+ license = LGPLv3+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131420.44DEKQrS000978>