Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2023 16:30:43 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b548bc454f6f - main - converters/py-svglib: Update to 1.5.1
Message-ID:  <202302231630.31NGUhMx056196@gitrepo.freebsd.org>

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

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

commit b548bc454f6ffcbf278921c3535725b25be7d10f
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-02-23 16:24:57 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-02-23 16:28:54 +0000

    converters/py-svglib: Update to 1.5.1
    
    * Convert "do-test" target to USE_PYTHON=pytest while I'm here.
    
    Changelog since 1.4.1:
    
    https://github.com/deeplook/svglib/blob/v1.5.1/CHANGELOG.rst
---
 converters/py-svglib/Makefile | 9 +++------
 converters/py-svglib/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/converters/py-svglib/Makefile b/converters/py-svglib/Makefile
index aa20c8120b85..e09393c114e3 100644
--- a/converters/py-svglib/Makefile
+++ b/converters/py-svglib/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	svglib
-DISTVERSION=	1.4.1
+DISTVERSION=	1.5.1
 CATEGORIES=	converters python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,11 +15,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cssselect2>=0.2.0:textproc/py-cssselect2@${P
 		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tinycss2>=0.6.0:textproc/py-tinycss2@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		cpe python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils pytest
 CPE_VENDOR=	svglib_project
+PYTEST_IGNORED_TESTS=	test_font_family
 
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
@@ -27,7 +27,4 @@ CONFLICTS_INSTALL=	svg2pdf # bin/svg2pdf
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -k 'not test_font_family'
-
 .include <bsd.port.mk>
diff --git a/converters/py-svglib/distinfo b/converters/py-svglib/distinfo
index b585be25f43d..14f62031267f 100644
--- a/converters/py-svglib/distinfo
+++ b/converters/py-svglib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659866548
-SHA256 (svglib-1.4.1.tar.gz) = 48c24706c23bb4262173b6fa49eabb10afa15b8412f14283120549517ccfa314
-SIZE (svglib-1.4.1.tar.gz) = 913042
+TIMESTAMP = 1677150655
+SHA256 (svglib-1.5.1.tar.gz) = 3ae765d3a9409ee60c0fb4d24c2deb6a80617aa927054f5bcd7fc98f0695e587
+SIZE (svglib-1.5.1.tar.gz) = 913900



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