python3Packages.portion: 2.6.1 -> 2.6.2 (#531670)

This commit is contained in:
kirillrdy
2026-06-14 20:42:45 +00:00
committed by GitHub
@@ -2,21 +2,29 @@
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
sortedcontainers,
# tests
pytest-benchmark,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "portion";
version = "2.6.1";
version = "2.6.2";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "AlexandreDecan";
repo = "portion";
tag = version;
hash = "sha256-K4mZn8Fm96ZBBdLTMfM9f1GKDdIrRwDRzk6ObaXSFG4=";
tag = finalAttrs.version;
hash = "sha256-ns9kUoSufegx0I3ag/KVl68ZviEIRx+zPA+BSWq3k80=";
};
build-system = [ hatchling ];
@@ -25,13 +33,16 @@ buildPythonPackage rec {
pythonImportsCheck = [ "portion" ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-benchmark
pytestCheckHook
];
meta = {
description = "Portion, a Python library providing data structure and operations for intervals";
description = "Python library providing data structure and operations for intervals";
homepage = "https://github.com/AlexandreDecan/portion";
changelog = "https://github.com/AlexandreDecan/portion/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/AlexandreDecan/portion/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
})