Unverified Commit a8dd47d5 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

ocrodjvu: 0.13.2 -> 0.14; python3Packages.python-djvulibre: 0.9.1 -> 0.9.3 (#381285)

parents 7e17dd71 58dc404a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -20,14 +20,14 @@

python3Packages.buildPythonApplication rec {
  pname = "ocrodjvu";
  version = "0.13.2";
  version = "0.14";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "FriedrichFroebel";
    repo = "ocrodjvu";
    rev = version;
    hash = "sha256-EiMCrRFUAJbu9QLgKpFIKqigCZ77lpTDD6AvZuMbyhA=";
    tag = version;
    hash = "sha256-/TPo8YCE8JKKKBBeV12ilgTNDmuklwfy0TPI/7dBiOs=";
  };

  build-system = with python3Packages; [
+11 −14
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  python3Packages,
  fetchFromGitHub,
  cython,
  djvulibre,
  ghostscript_headless,
  packaging,
  pkg-config,
  setuptools,
  unittestCheckHook,
  wheel,
}:

buildPythonPackage rec {
python3Packages.buildPythonPackage rec {
  pname = "python-djvulibre";
  version = "0.9.1";
  version = "0.9.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "FriedrichFroebel";
    repo = "python-djvulibre";
    tag = version;
    hash = "sha256-5jOJyVPGJvR4YgxgJgyN47/OzsK3ASJXfn1Gt9y8rbs=";
    hash = "sha256-ntDRntNxVchZm+i+qBbiZlfHAXJRKMin9Hi+BoJQjTM=";
  };

  nativeBuildInputs = [
    cython
    packaging
  build-system = [
    python3Packages.cython
    djvulibre
    ghostscript_headless
    pkg-config
    setuptools
    wheel
    python3Packages.setuptools
  ];

  buildInputs = [
  dependencies = with python3Packages; [
    djvulibre
    ghostscript_headless
  ];

  preCheck = ''
    rm -rf djvu
    rm -rf tests/examples
  '';

  nativeCheckInputs = [ unittestCheckHook ];