python3Packages.ansiwrap: drop

Has been marked broken for at least a full release cycle.

Dropping per RFC 180.
This commit is contained in:
Michael Daniels
2025-10-03 08:50:13 -04:00
parent 0feef16e61
commit f5eea94db2
3 changed files with 1 additions and 54 deletions
@@ -1,52 +0,0 @@
{
lib,
ansicolors,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
setuptools,
textwrap3,
}:
buildPythonPackage rec {
pname = "ansiwrap";
version = "0.8.4";
pyproject = true;
disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-ygx0BzTN5Zv5Gfj/LDhvdPmjaYGM3GDv6UiT0B6o2bc=";
};
postPatch = ''
# https://github.com/jonathaneunice/ansiwrap/issues/18
substituteInPlace test/test_ansiwrap.py \
--replace-fail "set(range(20, 120)).difference(LINE_LENGTHS)" "sorted(set(range(20, 120)).difference(LINE_LENGTHS))" \
--replace-fail "set(range(120, 400)).difference(LINE_LENGTHS)" "sorted(set(range(120, 400)).difference(LINE_LENGTHS))"
'';
build-system = [ setuptools ];
dependencies = [ textwrap3 ];
nativeCheckInputs = [
ansicolors
pytestCheckHook
];
pythonImportsCheck = [ "ansiwrap" ];
meta = with lib; {
description = "Textwrap, but savvy to ANSI colors and styles";
homepage = "https://github.com/jonathaneunice/ansiwrap";
changelog = "https://github.com/jonathaneunice/ansiwrap/blob/master/CHANGES.yml";
license = licenses.asl20;
maintainers = [ ];
broken = true;
};
}
+1
View File
@@ -72,6 +72,7 @@ mapAliases ({
aionotify = throw "aionotify has been removed because is unmaintained and incompatible with python3.11."; # Added 2023-10-27
aiosenseme = throw "aiosenseme has been removed, because it does no longer work with the latest firmware and has become unmaintained"; # Added 2023-07-05
aioquic-mitmproxy = throw "aioquic-mitmproxy has been removed because mitmproxy no longer uses it"; # Added 2024-01-16
ansiwrap = throw "ansiwrap has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-03
amazon_kclpy = amazon-kclpy; # added 2023-08-08
ambiclimate = throw "ambiclimate has been removed, because the service has been terminated after 2024-03-31."; # Added 2024-06-07
ambee = throw "ambee has been removed because the upstream repository was archived in 2022"; # Added 2024-10-04
-2
View File
@@ -745,8 +745,6 @@ self: super: with self; {
ansitable = callPackage ../development/python-modules/ansitable { };
ansiwrap = callPackage ../development/python-modules/ansiwrap { };
anthemav = callPackage ../development/python-modules/anthemav { };
anthropic = callPackage ../development/python-modules/anthropic { };