From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70E9A138351 for ; Thu, 16 Apr 2020 17:14:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEC54E096A; Thu, 16 Apr 2020 17:14:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 842B1E096A for ; Thu, 16 Apr 2020 17:14:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A311834F1FE for ; Thu, 16 Apr 2020 17:14:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22B9D1D4 for ; Thu, 16 Apr 2020 17:14:01 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1587057166.93eeab55e0620e22831f22dfb61bd4ac75fcee3a.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/OCRmyPDF/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-text/OCRmyPDF/Manifest app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild X-VCS-Directories: app-text/OCRmyPDF/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 93eeab55e0620e22831f22dfb61bd4ac75fcee3a X-VCS-Branch: master Date: Thu, 16 Apr 2020 17:14:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 28234182-eb84-4242-a2ee-7c7627f09e22 X-Archives-Hash: a5d8a901b72a2532cf6d8728e6cd7c70 commit: 93eeab55e0620e22831f22dfb61bd4ac75fcee3a Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Apr 16 17:12:46 2020 +0000 Commit: Andrew Ammerlaan riseup 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB053138350 for ; Thu, 16 Apr 2020 17:13:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF8CBE094E; Thu, 16 Apr 2020 17:13:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF6ECE094E for ; Thu, 16 Apr 2020 17:13:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3DA1D34E3F9 for ; Thu, 16 Apr 2020 17:13:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF6721C5 for ; Thu, 16 Apr 2020 17:13:02 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1587057166.93eeab55e0620e22831f22dfb61bd4ac75fcee3a.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/OCRmyPDF/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-text/OCRmyPDF/Manifest app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild app-text/OCRmyPDF/OCRmyPDF-9.7.2.ebuild X-VCS-Directories: app-text/OCRmyPDF/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 93eeab55e0620e22831f22dfb61bd4ac75fcee3a X-VCS-Branch: dev Date: Thu, 16 Apr 2020 17:13:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2625a48b-eb19-4e03-8cd5-c63ab8117c3d X-Archives-Hash: 3a5054f16e892a9ab4cb7ab6cdec4e22 Message-ID: <20200416171302.R47ZETmDywxLyKTzZ613-AVULo8on4QUEuJJpwvkaJo@z> commit: 93eeab55e0620e22831f22dfb61bd4ac75fcee3a Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Apr 16 17:12:46 2020 +0000 Commit: Andrew Ammerlaan riseup 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 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