python312Packages.portion: 2.4.2 -> 2.5.0 (#342739)

This commit is contained in:
Nick Cao 2024-09-18 08:46:07 -04:00 committed by GitHub
commit 302bad4ac8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,32 +1,25 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
wheel,
sortedcontainers,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "portion";
version = "2.4.2";
version = "2.5.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "AlexandreDecan";
repo = "portion";
rev = "refs/tags/${version}";
hash = "sha256-URoyuE0yivUqPjJZbvATkAnTxicY4F2eiJ16rIUdY3Y=";
hash = "sha256-sNOieFenrWh6iDXCyCBedx+qIsS+daAr+WVBpkc8yVQ=";
};
build-system = [
setuptools
wheel
];
build-system = [ setuptools ];
dependencies = [ sortedcontainers ];
@ -34,11 +27,11 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
meta = {
description = "Portion, a 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";
license = licenses.lgpl3;
maintainers = with maintainers; [ GaetanLepage ];
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}