python313Packages.ete3: fix build

This commit is contained in:
wxt
2025-01-26 16:13:34 +08:00
parent c1bd12cda2
commit 53c5798ee9
@@ -8,34 +8,42 @@
lxml,
withXmlSupport ? false,
pyqt5,
setuptools,
legacy-cgi,
}:
buildPythonPackage rec {
pname = "ete3";
version = "3.1.3";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-BqO3+o7ZAYewdqjbvlsbYqzulCAdPG6CL1X0SWAe9vI=";
};
build-system = [
setuptools
];
doCheck = false; # Tests are (i) not 3.x compatible, (ii) broken under 2.7
pythonImportsCheck = [ "ete3" ];
propagatedBuildInputs =
dependencies =
[
six
numpy
legacy-cgi
]
++ lib.optional withTreeVisualization pyqt5
++ lib.optional withXmlSupport lxml;
meta = with lib; {
meta = {
description = "Python framework for the analysis and visualization of trees";
mainProgram = "ete3";
homepage = "http://etetoolkit.org/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ delehef ];
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ delehef ];
};
}