Unverified Commit 68d4524f authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

python313Packages.ete3: fix build (#376914)

parents 78838880 53c5798e
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
@@ -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 ];
  };
}