python3Packages.trove-classifiers: 2026.5.20.19 -> 2026.6.1.19 (#541108)
This commit is contained in:
@@ -7,44 +7,41 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
let
|
||||
self = buildPythonPackage rec {
|
||||
pname = "trove-classifiers";
|
||||
version = "2026.5.20.19";
|
||||
pyproject = true;
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "trove-classifiers";
|
||||
version = "2026.6.1.19";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "trove_classifiers";
|
||||
inherit version;
|
||||
hash = "sha256-bmEZk5h8qTJpaK1wRScz2t0xRxWZ05iWBFsolwqbuB4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/test_cli.py \
|
||||
--replace-fail "BINDIR = Path(sys.executable).parent" "BINDIR = '$out/bin'"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
calver
|
||||
setuptools
|
||||
];
|
||||
|
||||
doCheck = false; # avoid infinite recursion with hatchling
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "trove_classifiers" ];
|
||||
|
||||
passthru.tests.trove-classifiers = self.overridePythonAttrs { doCheck = true; };
|
||||
|
||||
meta = {
|
||||
description = "Canonical source for classifiers on PyPI";
|
||||
homepage = "https://github.com/pypa/trove-classifiers";
|
||||
changelog = "https://github.com/pypa/trove-classifiers/releases/tag/${version}";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "trove-classifiers";
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
src = fetchPypi {
|
||||
pname = "trove_classifiers";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-xRMrS2GoKdEc+9LXLpfyCkXtbtuV5Fxe/eteAINrJ0U=";
|
||||
};
|
||||
in
|
||||
self
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/test_cli.py \
|
||||
--replace-fail "BINDIR = Path(sys.executable).parent" "BINDIR = '$out/bin'"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
calver
|
||||
setuptools
|
||||
];
|
||||
|
||||
doCheck = false; # avoid infinite recursion with hatchling
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "trove_classifiers" ];
|
||||
|
||||
passthru.tests.trove-classifiers = finalAttrs.finalPackage.overrideAttrs { doInstallCheck = true; };
|
||||
|
||||
meta = {
|
||||
description = "Canonical source for classifiers on PyPI";
|
||||
homepage = "https://github.com/pypa/trove-classifiers";
|
||||
changelog = "https://github.com/pypa/trove-classifiers/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "trove-classifiers";
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user