public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/
Date: Thu, 16 Apr 2020 17:14:01 +0000 (UTC)	[thread overview]
Message-ID: <1587057166.93eeab55e0620e22831f22dfb61bd4ac75fcee3a.andrewammerlaan@gentoo> (raw)

commit:     93eeab55e0620e22831f22dfb61bd4ac75fcee3a
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Apr 16 17:12:46 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 16 17:12:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93eeab55

app-text/OCRmyPDF: enable doc building support

also tried to enable tests, but man does it use a lot of RAM
not worth the trouble IMO

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 app-text/OCRmyPDF/Manifest                            |  2 +-
 .../{OCRmyPDF-9.7.1.ebuild => OCRmyPDF-9.7.2.ebuild}  | 19 ++++++++++++++++---
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index f969020..419878a 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1 +1 @@
-DIST OCRmyPDF-9.7.1.tar.gz 7859333 BLAKE2B 5f366d8655c55dafe911d2f1feaad84c4f032252454015693b314515d6bd308e91f93626cb3229d2956354e2c60df8420fb4d7a2023ca0a78636ea5c40d7ff56 SHA512 daf5f636afa2704c9163f4f0d49f944358919c2af229030d78bb29f10d0a8acf3e219060542d52982bc02180b410c6dca771c54f4d3239250365397707bccf6c
+DIST OCRmyPDF-9.7.2.tar.gz 7859735 BLAKE2B 2744c893f6dd0f23ada9a11570fdf007842d01bcd84a1892f01bb828ca5e4d62e25724adf8124f3c75186c6eb56b19ef3bbfcbd6f4c1f9fa5821b0d59a19be33 SHA512 03dd14940cafc74dbfbf4c4ec569ca5de4cd588a1e7da11fda65a48ddb40b0a0613a7d6bd6520b07b2b9dc705c4f0e744076c7826d9789d782014b4d1dacc16e

diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
similarity index 75%
rename from app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
rename to app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
index 3209a63..b397cce 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
@@ -2,7 +2,10 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+
+PYTHON_COMPAT=( python3_{6,7} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit bash-completion-r1 distutils-r1
 
 DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
@@ -13,11 +16,18 @@ SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${PN}/archive/v${PV}.tar.gz -> $
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
+
+# This uses *a lot* of RAM, I have 32gb and these tests tried to use it all
+RESTRICT="test"
 IUSE="jbig2enc"
 
-DEPEND=""
+DEPEND="test? (
+	dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
+	dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
+)"
+
 RDEPEND="
-	${DEPEND}
 	app-text/ghostscript-gpl
 	app-text/tesseract
 	app-text/unpaper
@@ -34,6 +44,9 @@ RDEPEND="
 	jbig2enc? ( media-libs/jbig2enc )
 "
 
+distutils_enable_tests pytest
+distutils_enable_sphinx docs --no-autodoc
+
 python_prepare_all() {
 	# do not depend on deprecated dep
 	sed -i -e '/pytest-runner/d' setup.py || die


WARNING: multiple messages have this Message-ID (diff)
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/OCRmyPDF/
Date: Thu, 16 Apr 2020 17:13:02 +0000 (UTC)	[thread overview]
Message-ID: <1587057166.93eeab55e0620e22831f22dfb61bd4ac75fcee3a.andrewammerlaan@gentoo> (raw)
Message-ID: <20200416171302.R47ZETmDywxLyKTzZ613-AVULo8on4QUEuJJpwvkaJo@z> (raw)

commit:     93eeab55e0620e22831f22dfb61bd4ac75fcee3a
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Apr 16 17:12:46 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 16 17:12:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93eeab55

app-text/OCRmyPDF: enable doc building support

also tried to enable tests, but man does it use a lot of RAM
not worth the trouble IMO

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 app-text/OCRmyPDF/Manifest                            |  2 +-
 .../{OCRmyPDF-9.7.1.ebuild => OCRmyPDF-9.7.2.ebuild}  | 19 ++++++++++++++++---
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest
index f969020..419878a 100644
--- a/app-text/OCRmyPDF/Manifest
+++ b/app-text/OCRmyPDF/Manifest
@@ -1 +1 @@
-DIST OCRmyPDF-9.7.1.tar.gz 7859333 BLAKE2B 5f366d8655c55dafe911d2f1feaad84c4f032252454015693b314515d6bd308e91f93626cb3229d2956354e2c60df8420fb4d7a2023ca0a78636ea5c40d7ff56 SHA512 daf5f636afa2704c9163f4f0d49f944358919c2af229030d78bb29f10d0a8acf3e219060542d52982bc02180b410c6dca771c54f4d3239250365397707bccf6c
+DIST OCRmyPDF-9.7.2.tar.gz 7859735 BLAKE2B 2744c893f6dd0f23ada9a11570fdf007842d01bcd84a1892f01bb828ca5e4d62e25724adf8124f3c75186c6eb56b19ef3bbfcbd6f4c1f9fa5821b0d59a19be33 SHA512 03dd14940cafc74dbfbf4c4ec569ca5de4cd588a1e7da11fda65a48ddb40b0a0613a7d6bd6520b07b2b9dc705c4f0e744076c7826d9789d782014b4d1dacc16e

diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
similarity index 75%
rename from app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
rename to app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
index 3209a63..b397cce 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild
@@ -2,7 +2,10 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+
+PYTHON_COMPAT=( python3_{6,7} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit bash-completion-r1 distutils-r1
 
 DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
@@ -13,11 +16,18 @@ SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${PN}/archive/v${PV}.tar.gz -> $
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
+
+# This uses *a lot* of RAM, I have 32gb and these tests tried to use it all
+RESTRICT="test"
 IUSE="jbig2enc"
 
-DEPEND=""
+DEPEND="test? (
+	dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
+	dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
+)"
+
 RDEPEND="
-	${DEPEND}
 	app-text/ghostscript-gpl
 	app-text/tesseract
 	app-text/unpaper
@@ -34,6 +44,9 @@ RDEPEND="
 	jbig2enc? ( media-libs/jbig2enc )
 "
 
+distutils_enable_tests pytest
+distutils_enable_sphinx docs --no-autodoc
+
 python_prepare_all() {
 	# do not depend on deprecated dep
 	sed -i -e '/pytest-runner/d' setup.py || die


             reply	other threads:[~2020-04-16 17:14 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-16 17:14 Andrew Ammerlaan [this message]
2020-04-16 17:13 ` [gentoo-commits] repo/proj/guru:dev commit in: app-text/OCRmyPDF/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2024-10-14 11:30 Florian Schmaus
2024-10-14 11:30 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-10-14 11:30 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-10-14 11:30 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-06-25  9:52 David Roman
2024-06-17 23:08 Julien Roy
2024-06-17 23:08 Julien Roy
2023-06-07  7:04 Viorel Munteanu
2023-04-28 17:52 Arthur Zamarin
2023-04-13  7:02 Florian Schmaus
2023-02-06  8:21 Viorel Munteanu
2022-11-16 19:33 Florian Schmaus
2022-11-16 19:33 Florian Schmaus
2022-11-05 15:26 Arthur Zamarin
2022-11-01  2:55 Ronny Gutbrod
2022-11-01  2:55 Ronny Gutbrod
2022-10-29  5:54 Arthur Zamarin
2022-07-05  7:14 Florian Schmaus
2022-07-05  7:14 Florian Schmaus
2022-07-05  7:14 Florian Schmaus
2022-06-01 11:17 Andrew Ammerlaan
2022-06-01 11:17 Andrew Ammerlaan
2022-05-29 18:29 Andrew Ammerlaan
2022-03-25 11:24 Ronny Gutbrod
2022-02-23  0:33 Ronny Gutbrod
2022-02-01 10:38 Florian Schmaus
2021-07-03  9:59 Andrew Ammerlaan
2021-04-28  8:08 Andrew Ammerlaan
2021-04-28  8:08 Andrew Ammerlaan
2021-03-27 15:38 Andrew Ammerlaan
2021-03-02  9:02 Theo Anderson
2021-03-02  9:00 [gentoo-commits] repo/proj/guru:dev " Theo Anderson
2021-03-02  9:02 ` [gentoo-commits] repo/proj/guru:master " Theo Anderson
2021-02-16 21:10 Theo Anderson
2021-02-16 21:10 Theo Anderson
2021-02-09 14:46 Andrew Ammerlaan
2021-02-09 14:46 Andrew Ammerlaan
2021-01-11  7:13 Andrew Ammerlaan
2021-01-11  7:13 Andrew Ammerlaan
2021-01-10 11:31 Andrew Ammerlaan
2021-01-10 11:31 Andrew Ammerlaan
2021-01-04  9:34 Andrew Ammerlaan
2021-01-04  9:34 Andrew Ammerlaan
2021-01-04  9:34 Andrew Ammerlaan
2021-01-01 13:14 Andrew Ammerlaan
2020-12-18 19:05 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-18 19:05 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-16 19:45 Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587057166.93eeab55e0620e22831f22dfb61bd4ac75fcee3a.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox