commit:     6ce25c39503cae5806f213ca58394ea6341abdf2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 16:14:05 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 16:55:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce25c39

app-text/paperwork-backend: Add missing test dependencies

This does not fix all of the test failures but gets some obvious ones
out of the way.

Closes: https://bugs.gentoo.org/866041
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ....1.1.ebuild => paperwork-backend-2.1.1-r1.ebuild} | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/app-text/paperwork-backend/paperwork-backend-2.1.1.ebuild 
b/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild
similarity index 74%
rename from app-text/paperwork-backend/paperwork-backend-2.1.1.ebuild
rename to app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild
index f5bcf8a9e058..5667253b8140 100644
--- a/app-text/paperwork-backend/paperwork-backend-2.1.1.ebuild
+++ b/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-DISTUTILS_USE_SETUPTOOLS=bdepend
+
 PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
@@ -14,9 +14,11 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-RDEPEND="app-text/poppler[introspection]
+RDEPEND="
+       app-text/openpaperwork-core[${PYTHON_USEDEP}]
+       app-text/openpaperwork-gtk[${PYTHON_USEDEP}]
+       app-text/poppler[introspection]
        dev-python/distro[${PYTHON_USEDEP}]
        dev-python/Levenshtein[${PYTHON_USEDEP}]
        dev-python/natsort[${PYTHON_USEDEP}]
@@ -28,6 +30,14 @@ RDEPEND="app-text/poppler[introspection]
        dev-python/pygobject:3[${PYTHON_USEDEP}]
        dev-python/termcolor[${PYTHON_USEDEP}]
        dev-python/whoosh[${PYTHON_USEDEP}]
-       sci-libs/scikit-learn[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
+       sci-libs/scikit-learn[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       ${RDEPEND}
+       test? (
+               dev-python/libpillowfight[${PYTHON_USEDEP}]
+               media-libs/libinsane
+       )
+"
+
 distutils_enable_tests unittest

Reply via email to