Merge pull request #300375 from r-ryantm/auto-update/python312Packages.cssutils
python312Packages.cssutils: 2.9.0 -> 2.10.1
This commit is contained in:
commit
b34e878675
1 changed files with 10 additions and 17 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue