Unverified Commit 39016bed authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

python3Packages.zetup: drop (#481693)

parents 02ead7c3 a1fdfe42
Loading
Loading
Loading
Loading
+0 −44
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  buildPythonPackage,
  fetchPypi,
  zetup,
  six,
  moretools,
  path,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "modeled";
  version = "0.1.8";
  format = "setuptools";

  src = fetchPypi {
    extension = "zip";
    inherit pname version;
    sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
  };

  buildInputs = [ zetup ];

  propagatedBuildInputs = [
    six
    moretools
    path
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "modeled" ];

  meta = {
    broken =
      (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) || stdenv.hostPlatform.isDarwin;
    description = "Universal data modeling for Python";
    homepage = "https://github.com/modeled/modeled";
    license = lib.licenses.lgpl3Only;
    maintainers = [ ];
  };
}
+0 −42
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  six,
  path,
  zetup,
  pytest,
  decorator,
}:

buildPythonPackage rec {
  pname = "moretools";
  version = "0.1.12";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "73b0469d4f1df6d967508103473f0b1524708adbff71f8f90ef71d9a44226b22";
  };

  checkPhase = ''
    py.test test
  '';

  nativeBuildInputs = [ zetup ];
  nativeCheckInputs = [
    six
    path
    pytest
  ];
  propagatedBuildInputs = [ decorator ];

  meta = {
    description = ''
      Many more basic tools for python 2/3 extending itertools, functools, operator and collections
    '';
    homepage = "https://bitbucket.org/userzimmermann/python-moretools";
    license = lib.licenses.gpl3Plus;
    platforms = lib.platforms.unix;
  };
}
+0 −51
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  robotframework,
  moretools,
  path,
  six,
  zetup,
  modeled,
  pytestCheckHook,
}:

buildPythonPackage rec {
  version = "0.1rc4";
  format = "setuptools";
  pname = "robotframework-tools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0377ikajf6c3zcy3lc0kh4w9zmlqyplk2c2hb0yyc7h3jnfnya96";
  };

  nativeBuildInputs = [ zetup ];

  propagatedBuildInputs = [
    robotframework
    moretools
    path
    six
    modeled
  ];

  postPatch = ''
    # Remove upstream's selfmade approach to collect the dependencies
    # https://github.com/userzimmermann/robotframework-tools/issues/1
    substituteInPlace setup.py --replace \
      "setup_requires=SETUP_REQUIRES + (zfg.SETUP_REQUIRES or [])," ""
  '';

  nativeCheckInputs = [ pytestCheckHook ];
  enabledTestPaths = [ "test" ];
  pythonImportsCheck = [ "robottools" ];

  meta = {
    description = "Python Tools for Robot Framework and Test Libraries";
    homepage = "https://github.com/userzimmermann/robotframework-tools";
    license = lib.licenses.gpl3Plus;
    maintainers = [ ];
  };
}
+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;
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -277,6 +277,8 @@ mapAliases {
  mkdocs-macros = mkdocs-macros-plugin; # added 2025-09-02
  mkdocs-minify = throw "'mkdocs-minify' has been renamed to/replaced by 'mkdocs-minify-plugin'"; # Converted to throw 2025-10-29
  mne-python = throw "'mne-python' has been renamed to/replaced by 'mne'"; # Converted to throw 2025-10-29
  modeled = "'modeled' has been removed because it is unmaintained"; # Added 2026-01-19
  moretools = "'moretools' has been removed because it is unmaintained"; # Added 2026-01-19
  mpris-server = throw "mpris-server was removed because it is unused"; # added 2025-10-31
  msldap-bad = throw "'msldap-bad' has been renamed to/replaced by 'badldap'"; # added 2025-11-06
  mullvad-closest = throw "'mullvad-closest' has been removed as it was unmaintained. Consider using 'mullvad-compass' instead."; # Added 2026-01-13
@@ -441,6 +443,7 @@ mapAliases {
  retry_decorator = throw "'retry_decorator' has been renamed to/replaced by 'retry-decorator'"; # Converted to throw 2025-10-29
  retworkx = throw "'retworkx' has been renamed to/replaced by 'rustworkx'"; # Converted to throw 2025-10-29
  rki-covid-parser = throw "rki-covid-parser has been removed because it is unmaintained and broken"; # added 2025-09-20
  robotframework-tools = "'robotframework-tools' has been removed because it is unmaintained"; # Added 2026-01-19
  ROPGadget = throw "'ROPGadget' has been renamed to/replaced by 'ropgadget'"; # Converted to throw 2025-10-29
  rtslib = throw "'rtslib' has been renamed to/replaced by 'rtslib-fb'"; # Converted to throw 2025-10-29
  rtsp-to-webrtc = throw "rtsp-to-webrtc has been removed because it is unmaintained"; # added 2025-09-20
@@ -534,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
Loading