graphics/py-cairosvg: Update to 2.6.0

- Convert to USE_PYTHON=pytest

Changes:	https://github.com/Kozea/CairoSVG/releases
This commit is contained in:
Po-Chuan Hsieh 2023-01-30 20:32:27 +08:00
parent 32eed07682
commit 474aff4a33
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 11 additions and 20 deletions

View File

@ -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>

View File

@ -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

View File

@ -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