Unverified Commit c25903f2 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

python3Packages.manga-ocr: 0.1.13 -> 0.1.14 (#370137)

parents b1206c1f 3792c41d
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -8,15 +8,14 @@ with python3Packages;

buildPythonPackage rec {
  pname = "manga-ocr";
  version = "0.1.13";
  disabled = pythonOlder "3.7";
  version = "0.1.14";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "kha-white";
    repo = "manga-ocr";
    tag = "v${version}";
    hash = "sha256-0EwXDMnA9SCmSsMVXnMenSFSzs74lorFNNym9y/NNsI=";
    hash = "sha256-fCLgFeo6GYPSpCX229TK2MXTKt3p1tQV06phZYD6UeE=";
  };

  build-system = [
@@ -37,15 +36,11 @@ buildPythonPackage rec {
    unidic-lite
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "numpy<2" "numpy"
  '';

  meta = with lib; {
    mainProgram = "manga_ocr";
    description = "Optical character recognition for Japanese text, with the main focus being Japanese manga";
    homepage = "https://github.com/kha-white/manga-ocr";
    changelog = "https://github.com/kha-white/manga-ocr/releases/tag/${version}";
    changelog = "https://github.com/kha-white/manga-ocr/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ laurent-f1z1 ];
  };