Skip to content

Commit

Permalink
graphics/py-cairosvg: Update to 2.6.0
Browse files Browse the repository at this point in the history
- Convert to USE_PYTHON=pytest

Changes:	https://github.com/Kozea/CairoSVG/releases
  • Loading branch information
sunpoet committed Jan 30, 2023
1 parent 32eed07 commit 474aff4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
15 changes: 8 additions & 7 deletions 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}
Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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
10 changes: 0 additions & 10 deletions graphics/py-cairosvg/files/patch-setup.cfg

This file was deleted.

0 comments on commit 474aff4

Please sign in to comment.