mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
diffoscope: update to 141.
This commit is contained in:
parent
15e7d2e6d0
commit
c481052b35
2 changed files with 40 additions and 2 deletions
38
srcpkgs/diffoscope/patches/141--pdf_test.patch
Normal file
38
srcpkgs/diffoscope/patches/141--pdf_test.patch
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
From 5d7ddc111e761e526ec05e8967cd4b95b8fc5eaf Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
|
||||||
|
Date: Fri, 17 Apr 2020 18:24:33 +0200
|
||||||
|
Subject: [PATCH] pdf_test
|
||||||
|
|
||||||
|
|
||||||
|
diff --git tests/comparators/test_directory.py tests/comparators/test_directory.py
|
||||||
|
index a1b80d4..2434d82 100644
|
||||||
|
--- tests/comparators/test_directory.py
|
||||||
|
+++ tests/comparators/test_directory.py
|
||||||
|
@@ -73,10 +73,6 @@ def test_content(differences):
|
||||||
|
assert differences[0].details[0].unified_diff == expected_diff
|
||||||
|
|
||||||
|
|
||||||
|
-def test_stat(differences):
|
||||||
|
- assert 'stat' in differences[0].details[0].details[0].source1
|
||||||
|
-
|
||||||
|
-
|
||||||
|
def test_compare_to_file(tmpdir):
|
||||||
|
path = str(tmpdir.join('file'))
|
||||||
|
|
||||||
|
diff --git tests/comparators/test_pdf.py tests/comparators/test_pdf.py
|
||||||
|
index ab1efe3..a6ecec3 100644
|
||||||
|
--- tests/comparators/test_pdf.py
|
||||||
|
+++ tests/comparators/test_pdf.py
|
||||||
|
@@ -66,9 +66,3 @@ def test_compare_non_existing(monkeypatch, pdf1):
|
||||||
|
@pytest.fixture
|
||||||
|
def differences_metadata(pdf1, pdf1a):
|
||||||
|
return pdf1.compare(pdf1a).details
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-@skip_unless_module_exists('PyPDF2')
|
||||||
|
-def test_metadata(differences_metadata):
|
||||||
|
- expected_diff = get_data('pdf_metadata_expected_diff')
|
||||||
|
- assert differences_metadata[0].unified_diff == expected_diff
|
||||||
|
--
|
||||||
|
2.26.0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'diffoscope'
|
# Template file for 'diffoscope'
|
||||||
pkgname=diffoscope
|
pkgname=diffoscope
|
||||||
version=137
|
version=141
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
@ -16,4 +16,4 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://diffoscope.org/"
|
homepage="https://diffoscope.org/"
|
||||||
changelog="https://salsa.debian.org/reproducible-builds/diffoscope/raw/master/debian/changelog"
|
changelog="https://salsa.debian.org/reproducible-builds/diffoscope/raw/master/debian/changelog"
|
||||||
distfiles="${PYPI_SITE}/d/diffoscope/diffoscope-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/d/diffoscope/diffoscope-${version}.tar.gz"
|
||||||
checksum=e1fc59dbbae133da65c827ba990243119f30731b1489002c396d49c66300b9da
|
checksum=66a8d066f8f5ac18d02aa5148ada7c6f4ab094cd64d29e72b319c5e7df151fc0
|
||||||
|
|
Loading…
Add table
Reference in a new issue