python3Packages.pyfribidi: drop (#567448)

This commit is contained in:
Leona Maroni
2026-09-27 12:10:35 +00:00
committed by GitHub
4 changed files with 1 additions and 50 deletions

View File

@@ -1,31 +0,0 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
isPyPy,
six,
}:
buildPythonPackage rec {
version = "0.12.0";
format = "setuptools";
pname = "pyfribidi";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "64726a4a56783acdc79c6b9b3a15f16e6071077c897a0b999f3b43f744bc621c";
};
patches = lib.optional stdenv.cc.isClang ./pyfribidi-clang.patch;
propagatedBuildInputs = [ six ];
meta = {
description = "Simple wrapper around fribidi";
homepage = "https://github.com/pediapress/pyfribidi";
license = lib.licenses.gpl2;
};
}

View File

@@ -1,17 +0,0 @@
diff --git a/pyfribidi.c b/pyfribidi.c
index 9a0120d..238134a 100644
--- a/pyfribidi.c
+++ b/pyfribidi.c
@@ -148,10 +148,11 @@ init_pyfribidi (void)
{
#if PY_MAJOR_VERSION >= 3
PyObject *module = PyModule_Create (&pyfribidi_moduledef);
+ if (module == NULL) return NULL;
#else
PyObject *module = Py_InitModule ("_pyfribidi", PyfribidiMethods);
+ if (module == NULL) return;
#endif
- if (module == NULL) return NULL;
PyModule_AddIntConstant (module, "RTL", (long) FRIBIDI_TYPE_RTL);
PyModule_AddIntConstant (module, "LTR", (long) FRIBIDI_TYPE_LTR);

View File

@@ -534,6 +534,7 @@ mapAliases {
pyfantom = throw "pyfantom has been removed because it does not work with python3 and has not been updated for 12 years"; # added 2025-03-25
pyflick = throw "pyflick was removed because Flick Electric no longer exists"; # added 2025-12-03
pyflunearyou = throw "'pyflunearyou' has been renamed to/replaced by 'pyoutbreaksnearme'"; # Converted to throw 2025-10-29
pyfribidi = throw "'pyfribidi' has been removed because it is unmaintained upstream"; # added 2026-09-27
pygame_sdl2 = throw "'pygame_sdl2' has been renamed to/replaced by 'pygame-sdl2'"; # Converted to throw 2025-10-29
PyGithub = throw "'PyGithub' has been renamed to/replaced by 'pygithub'"; # Converted to throw 2025-10-29
pygls_2 = pygls; # added 2026-01-05

View File

@@ -15012,8 +15012,6 @@ self: super: with self; {
pyfreshr = callPackage ../development/python-modules/pyfreshr { };
pyfribidi = callPackage ../development/python-modules/pyfribidi { };
pyfritzhome = callPackage ../development/python-modules/pyfritzhome { };
pyfronius = callPackage ../development/python-modules/pyfronius { };