python3Packages.pkuseg: drop (#481993)

This commit is contained in:
dotlambda
2026-01-20 21:22:42 +00:00
committed by GitHub
3 changed files with 1 additions and 40 deletions
@@ -1,38 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
isPy3k,
pythonAtLeast,
cython,
numpy,
}:
buildPythonPackage rec {
pname = "pkuseg";
version = "0.0.25";
format = "setuptools";
disabled = !isPy3k || pythonAtLeast "3.9";
src = fetchPypi {
inherit pname version;
sha256 = "148yp0l7h8cflxag62pc1iwj5b5liyljnaxwfjaiqwl96vwjn0fx";
};
# Does not seem to have actual tests, but unittest discover
# recognizes some non-tests as tests and fails.
doCheck = false;
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ numpy ];
pythonImportsCheck = [ "pkuseg" ];
meta = {
description = "Toolkit for multi-domain Chinese word segmentation";
homepage = "https://github.com/lancopku/pkuseg-python";
license = lib.licenses.unfree;
};
}
+1
View File
@@ -314,6 +314,7 @@ mapAliases {
percol = throw "percol has been removed because it hasn't been updated since 2019"; # added 2025-05-25
pillow-avif-plugin = throw "'pillow-avif-plugin' has been removed because 'pillow' has native avif support since 11.3"; # added 2025-11-26
pizzapi = throw "pizzapi was removed because it no longer works"; # added 2025-12-03
pkuseg = throw "'pkuseg' has been removed because it was not supported on newer versions of Python"; # added 2026-01-20
plumlightpad = throw "plumlightpad has been removed because the API was shut down"; # added 2025-11-04
Polygon3 = throw "'Polygon3' has been renamed to/replaced by 'polygon3'"; # Converted to throw 2025-10-29
posix_ipc = throw "'posix_ipc' has been renamed to/replaced by 'posix-ipc'"; # Converted to throw 2025-10-29
-2
View File
@@ -12294,8 +12294,6 @@ self: super: with self; {
pkgutil-resolve-name = callPackage ../development/python-modules/pkgutil-resolve-name { };
pkuseg = callPackage ../development/python-modules/pkuseg { };
plac = callPackage ../development/python-modules/plac { };
plaid-python = callPackage ../development/python-modules/plaid-python { };