python312Packages.py3to2: remove (#350661)

This commit is contained in:
Fabian Affolter
2025-01-08 09:24:08 +01:00
committed by GitHub
3 changed files with 1 additions and 37 deletions
@@ -1,35 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {
pname = "py3to2";
version = "1.1.1";
src = fetchPypi {
inherit version;
pname = "3to2";
extension = "zip";
sha256 = "fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c";
};
nativeCheckInputs = [ pytest ];
checkPhase = ''
py.test lib3to2/tests
'';
# Test failing due to upstream issue (https://bitbucket.org/amentajo/lib3to2/issues/50/testsuite-fails-with-new-python-35)
doCheck = false;
meta = {
homepage = "https://bitbucket.org/amentajo/lib3to2";
description = "Refactors valid 3.x syntax into valid 2.x syntax, if a syntactical conversion is possible";
mainProgram = "3to2";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ mt-caret ];
};
}
+1
View File
@@ -452,6 +452,7 @@ mapAliases ({
pushbullet = pushbullet-py; # Added 2022-10-15
Pweave = pweave; # added 2023-02-19
pxml = throw "pxml was removed, because it was disabled on all python version since 3.8 and last updated in 2020."; # added 2024-05-13
py3to2 = throw "py3to2 is unmaintained and source is no longer available"; # added 2024-10-23
py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07
py_stringmatching = py-stringmatching; # added 2023-11-12
py17track = throw "py17track was removed because Home Assistant switched to pyseventeentrack"; # added 2024-08-08
-2
View File
@@ -11277,8 +11277,6 @@ self: super: with self; {
py3status = callPackage ../development/python-modules/py3status { };
py3to2 = callPackage ../development/python-modules/3to2 { };
py4j = callPackage ../development/python-modules/py4j { };
pyacaia-async = callPackage ../development/python-modules/pyacaia-async { };