commit:     fa4c3ff58b4474dfa4633d854f958c2d3bf62e85
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Nov 26 20:38:11 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Nov 26 20:48:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa4c3ff5

app-text/OCRmyPDF: switch to pypi tarballs

They are just as complete as GitHub ones.

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-text/OCRmyPDF/Manifest               | 2 +-
 app-text/OCRmyPDF/OCRmyPDF-16.6.2.ebuild | 6 ++++--
 app-text/OCRmyPDF/metadata.xml           | 3 ++-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index b40d48a5a..1b137b8ce 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1,2 +1,2 @@
 DIST OCRmyPDF-16.5.0.tar.gz 6693450 BLAKE2B 
b817059fa49ba26a5887cd3525a58d168c2d265a90221071dd56f4de1d4130080ecb347edc7bd66fad6f8aee8b0e1c8bbf2b0d2297df761b76cc603deacd39bb
 SHA512 
dfa30ae49a02c477423a5749718f73fa056ec759d8c1e835d04ede31a94f61c42ff8009e9ec7d06022685ef5c5469c52df00eb66b5717b3ec5cc4df935ac16cf
-DIST OCRmyPDF-16.6.2.tar.gz 6696758 BLAKE2B 
194e68eb473aae267204b5a791468e33e5c64da75cacf320ac11d6289b16fc2c407abd29b53f13f51dd1cc208508fdd1083b3962947aca1d61442dfffcf52569
 SHA512 
02455fb57f73cc9957c655d57c76b63238ce336e7bcf66925caa229823be4be90f05cd8ad3677f2114e0248402ce0e895eec3ae5d5fb46027418a0dccb8debd5
+DIST ocrmypdf-16.6.2.tar.gz 6691821 BLAKE2B 
fbca109622d01a4802f4ac70c60d89d631342341798dff4ea0f62ca33682e5e87ffde79ce93b10f4a27d16f3d6a82255894491304942c9126f3da289e160fb4e
 SHA512 
3e76430f61d3bddffef5cc96b7f8e7119992fc0177ebfa5ecf316ffc70b5a0576813aebf761774c376a58c52c616019d94523a962f65937e95bb9902def62dfa

diff --git a/app-text/OCRmyPDF/OCRmyPDF-16.6.2.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-16.6.2.ebuild
index 9792b76ba..336a9805c 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-16.6.2.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-16.6.2.ebuild
@@ -6,11 +6,10 @@ EAPI=8
 DISTUTILS_USE_PEP517=hatchling
 PYTHON_COMPAT=( python3_{11..12} )
 
-inherit distutils-r1 optfeature shell-completion
+inherit distutils-r1 optfeature pypi shell-completion
 
 DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
 HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF";
-SRC_URI="https://github.com/ocrmypdf/ocrmypdf/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="CC-BY-SA-2.5 CC-BY-SA-4.0 MIT MPL-2.0 ZLIB"
 SLOT="0"
@@ -50,6 +49,9 @@ EPYTEST_IGNORE=(
 EPYTEST_DESELECT=(
        # Fails if Tesseract was compiled with Clang
        tests/test_rotation.py::test_rotate_deskew_ocr_timeout
+
+       # XFAIL reason should be a string, not a tuple
+       tests/test_metadata.py::test_malformed_docinfo
 )
 
 distutils_enable_tests pytest

diff --git a/app-text/OCRmyPDF/metadata.xml b/app-text/OCRmyPDF/metadata.xml
index c55d39a67..4141d582a 100644
--- a/app-text/OCRmyPDF/metadata.xml
+++ b/app-text/OCRmyPDF/metadata.xml
@@ -11,8 +11,9 @@
                        <name>James R. Barlow</name>
                        <email>ja...@purplerock.ca</email>
                </maintainer>
+               <remote-id type="pypi">ocrmypdf</remote-id>
                <doc>https://ocrmypdf.readthedocs.io/</doc>
                <bugs-to>https://github.com/ocrmypdf/OCRmyPDF/issues</bugs-to>
-               
<changelog>https://github.com/ocrmypdf/OCRmyPDF/docs/release_notes.rst</changelog>
+               
<changelog>https://ocrmypdf.readthedocs.io/en/latest/release_notes.html</changelog>
        </upstream>
 </pkgmetadata>

Reply via email to