Unverified Commit c07476ce authored by octvs's avatar octvs
Browse files

papis: 0.14.1 -> 0.15.0

Remove the patch taken from upstream between two releases.
parent 44b6c166
Loading
Loading
Loading
Loading
+6 −12
Original line number Diff line number Diff line
@@ -2,8 +2,6 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch2,
  pythonAtLeast,

  # build-system
  hatchling,
@@ -51,22 +49,14 @@

buildPythonPackage (finalAttrs: {
  pname = "papis";
  version = "0.14.1";
  version = "0.15.0";
  pyproject = true;

  patches = [
    (fetchpatch2 {
      name = "fix-support-new-click-in-papisrunner.patch";
      url = "https://github.com/papis/papis/commit/0e3ffff4bd1b62cdf0a9fdc7f54d6a2e2ab90082.patch?full_index=1";
      hash = "sha256-KUw5U5izTTWqXHzGWLibtqHWAsVxla6SA8x6SJ07/zU=";
    })
  ];

  src = fetchFromGitHub {
    owner = "papis";
    repo = "papis";
    tag = "v${finalAttrs.version}";
    hash = "sha256-V4YswLNYwfBYe/Td0PEeDG++ClZoF08yxXjUXuyppPI=";
    hash = "sha256-G+ryUMBUEbGxUG+u2YwZbT04IAzOmajtIPXP12MaXsY=";
  };

  build-system = [ hatchling ];
@@ -129,6 +119,10 @@ buildPythonPackage (finalAttrs: {

  disabledTests = [
    # Require network access
    "test_add_folder_name_cli"
    "test_add_link_cli"
    "test_get_matching_importers_by_name"
    "test_matching_importers_by_uri"
    "test_yaml_unicode_dump"
    # FileNotFoundError: Command not found: 'init'
    "test_git_cli"