commit:     17cf06c74e9fff600e9ad9432b5a06e01f735256
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Wed Apr 15 18:11:38 2020 +0000
Commit:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
CommitDate: Wed Apr 15 18:27:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17cf06c7

app-text/OCRmyPDF: Removing dev-python/pytest-runner dep

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>

 app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
index 2837fc8..36d918e 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
@@ -33,9 +33,13 @@ RDEPEND="
        virtual/python-cffi[${PYTHON_USEDEP}]
        jbig2enc? ( media-libs/jbig2enc )
 "
-BDEPEND="
-       dev-python/pytest-runner[${PYTHON_USEDEP}]
-"
+
+python_prepare_all() {
+       # do not depend on deprecated dep
+       sed -i -e '/pytest-runner/d' setup.py || die
+
+       distutils-r1_python_prepare_all
+}
 
 src_install() {
        distutils-r1_src_install

Reply via email to