pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-pygal py-pygal: updated to 3.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/698c5d8ba846
branches:  trunk
changeset: 387600:698c5d8ba846
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 02 10:57:29 2022 +0000

description:
py-pygal: updated to 3.0.0

3.0.0

Fixed

Remove Iterable import deprecation warning
Remove invalid escape sequence warnings in tests
Fix test failures due to removed pytest attribute
Fix linting errors with latest isort and flake8

Changed

Replace deprecated tested versions of Python (including Python 2) with
latest ones in CI

diffstat:

 graphics/py-pygal/Makefile |  25 +++++++++++++------------
 graphics/py-pygal/distinfo |   8 ++++----
 2 files changed, 17 insertions(+), 16 deletions(-)

diffs (62 lines):

diff -r e92eacddc577 -r 698c5d8ba846 graphics/py-pygal/Makefile
--- a/graphics/py-pygal/Makefile        Wed Nov 02 10:48:53 2022 +0000
+++ b/graphics/py-pygal/Makefile        Wed Nov 02 10:57:29 2022 +0000
@@ -1,32 +1,33 @@
-# $NetBSD: Makefile,v 1.14 2022/01/05 15:41:11 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2022/11/02 10:57:29 adam Exp $
 
-DISTNAME=      pygal-2.4.0
+DISTNAME=      pygal-3.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pygal/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://pygal.org/
+HOMEPAGE=      https://www.pygal.org/
 COMMENT=       Python SVG graph plotting library
 LICENSE=       gnu-lgpl-v3
 
 DEPENDS+=      ${PYPKGPREFIX}-cairosvg-[0-9]*:../../converters/py-cairosvg
 DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-pyquery-[0-9]*:../../textproc/py-pyquery
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-# more BUILD_DEPENDS needed
+TEST_DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+TEST_DEPENDS+= ${PYPKGPREFIX}-pyquery-[0-9]*:../../textproc/py-pyquery
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-pyquery
-
 USE_PKG_RESOURCES=     yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} pygal_gen.py pygal_gen${PYVERSSUFFIX}.py || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} pygal_gen.py pygal_gen${PYVERSSUFFIX}.py || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e92eacddc577 -r 698c5d8ba846 graphics/py-pygal/distinfo
--- a/graphics/py-pygal/distinfo        Wed Nov 02 10:48:53 2022 +0000
+++ b/graphics/py-pygal/distinfo        Wed Nov 02 10:57:29 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 10:46:48 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/11/02 10:57:29 adam Exp $
 
-BLAKE2s (pygal-2.4.0.tar.gz) = d4daefc7449f1d2089417c0ec5697a21b62fe4524bb4186ee96b0bdb795fe28e
-SHA512 (pygal-2.4.0.tar.gz) = 5cb95ca5c0cf74ae476953f3503154a305a0b5e42c69191b0b46f6e6cfea8c806713fe175329a69b393654d055997b2063cf3b641e91009a2b7bef219bb49ddb
-Size (pygal-2.4.0.tar.gz) = 74686 bytes
+BLAKE2s (pygal-3.0.0.tar.gz) = 6db705174241a05e379819321f664beefee43ee4304fd7298217297a44ace872
+SHA512 (pygal-3.0.0.tar.gz) = 51ad847539ef8c0a092878c51c0c7f0aea4f7f1f30d8b9487997e4d9f4ad50d1af9d51cbdfebea0144d7675539c5af921994dea412ced691a0d3bb6beae1f86d
+Size (pygal-3.0.0.tar.gz) = 80621 bytes



Home | Main Index | Thread Index | Old Index