git: 474aff4a33e5 - main - graphics/py-cairosvg: Update to 2.6.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:10:13 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=474aff4a33e549c30ea058195d80704c971db99f

commit 474aff4a33e549c30ea058195d80704c971db99f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:32:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:00:07 +0000

    graphics/py-cairosvg: Update to 2.6.0
    
    - Convert to USE_PYTHON=pytest
    
    Changes:        https://github.com/Kozea/CairoSVG/releases
---
 graphics/py-cairosvg/Makefile              | 15 ++++++++-------
 graphics/py-cairosvg/distinfo              |  6 +++---
 graphics/py-cairosvg/files/patch-setup.cfg | 10 ----------
 3 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/graphics/py-cairosvg/Makefile b/graphics/py-cairosvg/Makefile
index 1f6074388e58..4bda82c9b740 100644
--- a/graphics/py-cairosvg/Makefile
+++ b/graphics/py-cairosvg/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cairosvg
-PORTVERSION=	2.5.2
+PORTVERSION=	2.6.0
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,16 +17,17 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairocffi>=0:graphics/py-cairocffi@${PY_FLAV
 		${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-isort>=0:devel/py-pytest-isort@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
 
-USES=		cpe python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+USES=		cpe python:3.7+
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
 CPE_VENDOR=	courtbouillon
 
+post-patch:
+	@${LN} -s .. ${WRKSRC}/test_non_regression/cairosvg_reference
+
 .include <bsd.port.mk>
diff --git a/graphics/py-cairosvg/distinfo b/graphics/py-cairosvg/distinfo
index 56967c33ce02..e3ad7c7ecd21 100644
--- a/graphics/py-cairosvg/distinfo
+++ b/graphics/py-cairosvg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618320220
-SHA256 (CairoSVG-2.5.2.tar.gz) = b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
-SIZE (CairoSVG-2.5.2.tar.gz) = 8397659
+TIMESTAMP = 1674589932
+SHA256 (CairoSVG-2.6.0.tar.gz) = d5ec93e90101b3b6e82aa245d0546ee9b016cfda0b6344675159830d853d5d04
+SIZE (CairoSVG-2.6.0.tar.gz) = 8398114
diff --git a/graphics/py-cairosvg/files/patch-setup.cfg b/graphics/py-cairosvg/files/patch-setup.cfg
deleted file mode 100644
index 4d84a4d2a1a9..000000000000
--- a/graphics/py-cairosvg/files/patch-setup.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
---- setup.cfg.orig	2021-01-06 14:53:17 UTC
-+++ setup.cfg
-@@ -41,7 +41,6 @@ project_urls = 
- [options]
- packages = cairosvg
- setup_requires = 
--	pytest-runner
- 	setuptools
- install_requires = 
- 	cairocffi