python310Packages.packaging: 21.3 -> 23.0, add SuperSandro2000 as maintainer
Removes pyparsing dependency which was already with 22.0 no longer a requiremnt.
This commit is contained in:
parent
3f1c8de711
commit
32283aa1de
@ -1,47 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyparsing
|
||||
, flit-core
|
||||
, pretend
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pretend
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
let
|
||||
packaging = buildPythonPackage rec {
|
||||
pname = "packaging";
|
||||
version = "21.3";
|
||||
version = "23.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-3UfEKSfYmrkR5gZRiQfMLTofOLvQJjhZcGQ/nFuOz+s=";
|
||||
sha256 = "sha256-tq0pf4kH3g+i/hzL0m/a84f19Hxydf7fjM6J+ZRGz5c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ pyparsing ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pretend
|
||||
];
|
||||
|
||||
# Prevent circular dependency
|
||||
# Prevent circular dependency with pytest
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "packaging" ];
|
||||
|
||||
passthru.tests = packaging.overridePythonAttrs (_: { doCheck = true; });
|
||||
|
||||
meta = with lib; {
|
||||
description = "Core utilities for Python packages";
|
||||
homepage = "https://github.com/pypa/packaging";
|
||||
license = with licenses; [ bsd2 asl20 ];
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
maintainers = with maintainers; [ bennofs SuperSandro2000 ];
|
||||
};
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user