pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/py-pygal
Module Name: pkgsrc
Committed By: wiz
Date: Sat Aug 10 15:46:27 UTC 2024
Modified Files:
pkgsrc/graphics/py-pygal: Makefile distinfo
Added Files:
pkgsrc/graphics/py-pygal/patches: patch-setup.py
Log Message:
py-pygal: remove unneeded test dependency
Document test status.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/graphics/py-pygal/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/py-pygal/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/py-pygal/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/py-pygal/Makefile
diff -u pkgsrc/graphics/py-pygal/Makefile:1.17 pkgsrc/graphics/py-pygal/Makefile:1.18
--- pkgsrc/graphics/py-pygal/Makefile:1.17 Sat Dec 2 08:25:21 2023
+++ pkgsrc/graphics/py-pygal/Makefile Sat Aug 10 15:46:27 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2023/12/02 08:25:21 adam Exp $
+# $NetBSD: Makefile,v 1.18 2024/08/10 15:46:27 wiz Exp $
DISTNAME= pygal-3.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,7 +11,6 @@ COMMENT= Python SVG graph plotting libra
LICENSE= gnu-lgpl-v3
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
# png
@@ -28,6 +27,9 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+# as of 3.0.4
+# 4414 passed, 8710 warnings
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pygal_gen.py pygal_gen${PYVERSSUFFIX}.py || ${TRUE}
Index: pkgsrc/graphics/py-pygal/distinfo
diff -u pkgsrc/graphics/py-pygal/distinfo:1.10 pkgsrc/graphics/py-pygal/distinfo:1.11
--- pkgsrc/graphics/py-pygal/distinfo:1.10 Sat Dec 2 08:25:21 2023
+++ pkgsrc/graphics/py-pygal/distinfo Sat Aug 10 15:46:27 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2023/12/02 08:25:21 adam Exp $
+$NetBSD: distinfo,v 1.11 2024/08/10 15:46:27 wiz Exp $
BLAKE2s (pygal-3.0.4.tar.gz) = ccc21b8cbd50a7bb026d55601c938fab3f8fdf627aef9b502c99e34646e7edbe
SHA512 (pygal-3.0.4.tar.gz) = ed9c74a256b1155ac18a6dfc1fd9ade75b010b759f99ed33ba3c1f0e3dd6c4c19f9917aa6ce5bee300c793df74429d8fedf6ce3dbc60019be5cbe839f26abd70
Size (pygal-3.0.4.tar.gz) = 81840 bytes
+SHA1 (patch-setup.py) = adee32a5a3fd199d2f2c7931cd9e0d2c87f99ee8
Added files:
Index: pkgsrc/graphics/py-pygal/patches/patch-setup.py
diff -u /dev/null pkgsrc/graphics/py-pygal/patches/patch-setup.py:1.1
--- /dev/null Sat Aug 10 15:46:27 2024
+++ pkgsrc/graphics/py-pygal/patches/patch-setup.py Sat Aug 10 15:46:27 2024
@@ -0,0 +1,24 @@
+$NetBSD: patch-setup.py,v 1.1 2024/08/10 15:46:27 wiz Exp $
+
+https://github.com/Kozea/pygal/issues/430
+
+--- setup.py.orig 2024-08-10 15:35:48.260480748 +0000
++++ setup.py
+@@ -44,7 +44,7 @@ tests_requirements = [
+ "pyquery", "flask", 'cairosvg', 'lxml', 'pygal_maps_world', 'pygal_maps_fr',
+ 'pygal_maps_ch', 'coveralls',
+ 'flake8',
+- 'pytest-runner', 'pytest-cov', 'pytest-isort',
++ 'pytest-cov', 'pytest-isort',
+ 'pytest'
+ ]
+
+@@ -70,7 +70,7 @@ setup(
+ scripts=["pygal_gen.py"],
+ keywords=[
+ "svg", "chart", "graph", "diagram", "plot", "histogram", "kiviat"],
+- setup_requires=['pytest-runner'],
++ setup_requires=[],
+ install_requires=['importlib-metadata'], # TODO: remove this (see #545, #546)
+ cmdclass={'test': PyTest},
+ package_data={'pygal': ['css/*', 'graph/maps/*.svg']},
Home |
Main Index |
Thread Index |
Old Index