python310Packages.findimports: 2.2.0 -> 2.3.0

Changelog: https://github.com/mgedmin/findimports/blob/2.3.0/CHANGES.rst
This commit is contained in:
Fabian Affolter 2023-05-14 23:34:27 +02:00
parent e68bb9dc1e
commit 37ea427cd8

View File

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "findimports";
version = "2.2.0";
version = "2.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -15,8 +15,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "mgedmin";
repo = pname;
rev = version;
hash = "sha256-p13GVDXDOzOiTnRgtF7UxN1vwZRMa7wVEXJQrFQV7RU=";
rev = "refs/tags/${version}";
hash = "sha256-yA1foeGhgOXZArc/nZfS1tbGyONXJZ9lW+Zcx7hCedM=";
};
pythonImportsCheck = [
@ -24,6 +24,9 @@ buildPythonPackage rec {
];
checkPhase = ''
# Tests fails
rm tests/cmdline.txt
runHook preCheck
${python.interpreter} testsuite.py
runHook postCheck
@ -32,6 +35,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Module for the analysis of Python import statements";
homepage = "https://github.com/mgedmin/findimports";
changelog = "https://github.com/mgedmin/findimports/blob/${version}/CHANGES.rst";
license = with licenses; [ gpl2Only /* or */ gpl3Only ];
maintainers = with maintainers; [ fab ];
};