From 6ce25c39503cae5806f213ca58394ea6341abdf2 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 20 Sep 2022 18:14:05 +0200 Subject: app-text/paperwork-backend: Add missing test dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../paperwork-backend-2.1.1-r1.ebuild | 43 ++++++++++++++++++++++ .../paperwork-backend-2.1.1.ebuild | 33 ----------------- 2 files changed, 43 insertions(+), 33 deletions(-) create mode 100644 app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild delete mode 100644 app-text/paperwork-backend/paperwork-backend-2.1.1.ebuild (limited to 'app-text/paperwork-backend') diff --git a/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild b/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild new file mode 100644 index 000000000000..5667253b8140 --- /dev/null +++ b/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Backend part of Paperwork (Python API, no UI)" +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +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}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pycountry[${PYTHON_USEDEP}] + dev-python/pyenchant[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/whoosh[${PYTHON_USEDEP}] + sci-libs/scikit-learn[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/libpillowfight[${PYTHON_USEDEP}] + media-libs/libinsane + ) +" + +distutils_enable_tests unittest diff --git a/app-text/paperwork-backend/paperwork-backend-2.1.1.ebuild b/app-text/paperwork-backend/paperwork-backend-2.1.1.ebuild deleted file mode 100644 index f5bcf8a9e058..000000000000 --- a/app-text/paperwork-backend/paperwork-backend-2.1.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# 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 - -DESCRIPTION="Backend part of Paperwork (Python API, no UI)" -HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" -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] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/Levenshtein[${PYTHON_USEDEP}] - dev-python/natsort[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pycountry[${PYTHON_USEDEP}] - dev-python/pyenchant[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/termcolor[${PYTHON_USEDEP}] - dev-python/whoosh[${PYTHON_USEDEP}] - sci-libs/scikit-learn[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -distutils_enable_tests unittest -- cgit v1.2.3-65-gdbad