Merge pull request from r-ryantm/auto-update/python310Packages.svglib

python310Packages.svglib: 1.4.1 -> 1.5.1
This commit is contained in:
Fabian Affolter 2023-01-10 09:20:41 +01:00 committed by GitHub
commit e1f9232310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,15 +12,14 @@
buildPythonPackage rec {
pname = "svglib";
version = "1.4.1";
version = "1.5.1";
format = "setuptools";
disabled = pythonOlder "3.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-SMJHBsI7tCYhc7b6Seq7EK+hW4QS8UKDEgVJUXzPoxQ=";
hash = "sha256-Oudl06lAnuYMD7TSTC3raoBheqknBU9bzX/JjwaV5Yc=";
};
propagatedBuildInputs = [
@ -35,18 +34,23 @@ buildPythonPackage rec {
pytestCheckHook
];
# Ignore tests that require network access (TestWikipediaFlags and TestW3CSVG), and tests that
# require files missing in the 1.0.0 PyPI release (TestOtherFiles).
pytestFlagsArray = [
"-k 'not TestWikipediaFlags and not TestW3CSVG and not TestOtherFiles'"
disabledTests = [
# Ignore tests that require network access (TestWikipediaFlags and TestW3CSVG), and tests that
# require files missing in the 1.0.0 PyPI release (TestOtherFiles).
"TestWikipediaFlags"
"TestW3CSVG"
"TestOtherFiles"
];
pythonImportsCheck = [ "svglib.svglib" ];
pythonImportsCheck = [
"svglib.svglib"
];
meta = with lib; {
homepage = "https://github.com/deeplook/svglib";
description = "A pure-Python library for reading and converting SVG";
license = licenses.lgpl3;
homepage = "https://github.com/deeplook/svglib";
changelog = "https://github.com/deeplook/svglib/blob/v${version}/CHANGELOG.rst";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ trepetti ];
};
}