python312Packages.jaraco-functools: refactor
- enable tests - add changelog to meta
This commit is contained in:
committed by
Martin Weinelt
parent
5f49bd6b8c
commit
3fbab17e32
@@ -2,9 +2,12 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
jaraco-classes,
|
||||
more-itertools,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
setuptools-scm,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -12,20 +15,25 @@ buildPythonPackage rec {
|
||||
version = "4.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jaraco_functools";
|
||||
inherit version;
|
||||
hash = "sha256-cPfg4q4HZJjiElYjJegFIE/Akte0wX4OhslZ4klwGp0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ more-itertools ];
|
||||
dependencies = [ more-itertools ];
|
||||
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [
|
||||
jaraco-classes
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "jaraco" ];
|
||||
|
||||
@@ -34,6 +42,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Additional functools in the spirit of stdlib's functools";
|
||||
homepage = "https://github.com/jaraco/jaraco.functools";
|
||||
changelog = "https://github.com/jaraco/jaraco.functools/blob/v${version}/NEWS.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user