Merge pull request #300375 from r-ryantm/auto-update/python312Packages.cssutils

python312Packages.cssutils: 2.9.0 -> 2.10.1
This commit is contained in:
Robert Schütz 2024-03-31 10:28:02 +00:00 committed by GitHub
commit b34e878675
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,9 +2,7 @@
, buildPythonPackage
, pythonAtLeast
, pythonOlder
, fetchpatch
, fetchPypi
, setuptools
, fetchFromGitHub
, setuptools-scm
, cssselect
, jaraco-test
@ -16,19 +14,20 @@
buildPythonPackage rec {
pname = "cssutils";
version = "2.9.0";
version = "2.10.1";
pyproject = true;
disabled = pythonOlder "3.8";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-iUd7PRfXkOl7n7Te9wh2cGEFV5Wq5vfIKuMulnyb5M0=";
src = fetchFromGitHub {
owner = "jaraco";
repo = "cssutils";
rev = "refs/tags/v${version}";
hash = "sha256-FK+EHdfsuCnWmnfUH18gyMq6CBXICBbhJj3XrscLLOA=";
};
nativeBuildInputs = [
setuptools
build-system = [
setuptools-scm
];
@ -42,14 +41,8 @@ buildPythonPackage rec {
importlib-resources
];
pytestFlagsArray = [
# pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
disabledTests = [
# access network
"test_parseUrl"
"encutils"
"website.logging"
];
@ -59,7 +52,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A CSS Cascading Style Sheets library for Python";
homepage = "https://github.com/jaraco/cssutils";
changelog = "https://github.com/jaraco/cssutils/blob/v${version}/CHANGES.rst";
changelog = "https://github.com/jaraco/cssutils/blob/${src.rev}/NEWS.rst";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};