Unverified Commit a1fdfe42 authored by Gutyina Gergő's avatar Gutyina Gergő
Browse files

python3Packages.zetup: drop

parent 8271c335
Loading
Loading
Loading
Loading
+0 −51
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  nbconvert,
  path,
  pytestCheckHook,
  setuptools-scm,
  pythonAtLeast,
}:

buildPythonPackage rec {
  pname = "zetup";
  version = "0.2.64";
  format = "setuptools";

  # https://github.com/zimmermanncode/zetup/issues/4
  disabled = pythonAtLeast "3.10";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b8a9bdcfa4b705d72b55b218658bc9403c157db7b57a14158253c98d03ab713d";
  };

  # Python > 3.7 compatibility
  postPatch = ''
    substituteInPlace zetup/zetup_config.py \
      --replace "'3.7']" "'3.7', '3.8', '3.9', '3.10']"
  '';

  checkPhase = ''
    py.test test -k "not TestObject" --deselect=test/test_zetup_config.py::test_classifiers
  '';

  propagatedBuildInputs = [ setuptools-scm ];

  nativeCheckInputs = [
    path
    nbconvert
    pytestCheckHook
  ];

  pythonImportsCheck = [ "zetup" ];

  meta = {
    description = "Zimmermann's Extensible Tools for Unified Project setups";
    homepage = "https://github.com/zimmermanncode/zetup";
    license = lib.licenses.gpl3Plus;
    platforms = lib.platforms.unix;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -537,6 +537,7 @@ mapAliases {
  z3 = throw "'z3' has been renamed to/replaced by 'z3-solver'"; # Converted to throw 2025-10-29
  zc-buildout221 = throw "'zc-buildout221' has been renamed to/replaced by 'zc-buildout'"; # Converted to throw 2025-10-29
  zc_lockfile = throw "'zc_lockfile' has been renamed to/replaced by 'zc-lockfile'"; # Converted to throw 2025-10-29
  zetup = "'zetup' has been removed because it is unmaintained"; # Added 2026-01-19
  zope_component = throw "'zope_component' has been renamed to/replaced by 'zope-component'"; # Converted to throw 2025-10-29
  zope_configuration = throw "'zope_configuration' has been renamed to/replaced by 'zope-configuration'"; # Converted to throw 2025-10-29
  zope_contenttype = throw "'zope_contenttype' has been renamed to/replaced by 'zope-contenttype'"; # Converted to throw 2025-10-29
+0 −2
Original line number Diff line number Diff line
@@ -21118,8 +21118,6 @@ self: super: with self; {
  zerorpc = callPackage ../development/python-modules/zerorpc { };
  zetup = callPackage ../development/python-modules/zetup { };
  zeversolar = callPackage ../development/python-modules/zeversolar { };
  zeversolarlocal = callPackage ../development/python-modules/zeversolarlocal { };