Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/paperwork/
Date: Wed, 22 Dec 2021 13:10:01
Message-Id: 1640178573.1615e6b0688b02485e265b4193879eae2763fdf2.voyageur@gentoo
1 commit: 1615e6b0688b02485e265b4193879eae2763fdf2
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 22 12:47:11 2021 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 22 13:09:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1615e6b0
7
8 app-text/paperwork: 2.1.0 bump
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
12
13 app-text/paperwork/Manifest | 1 +
14 app-text/paperwork/paperwork-2.1.0.ebuild | 43 +++++++++++++++++++++++++++++++
15 2 files changed, 44 insertions(+)
16
17 diff --git a/app-text/paperwork/Manifest b/app-text/paperwork/Manifest
18 index 7f7bd954b947..1667cc967000 100644
19 --- a/app-text/paperwork/Manifest
20 +++ b/app-text/paperwork/Manifest
21 @@ -1,2 +1,3 @@
22 DIST paperwork-2.0.2.tar.gz 6222075 BLAKE2B 6dba798ae2b18ba81891c8f9c29e1e2bc8670f24a65e554aa169f05fbf1a89382b9ea24abaa1784da657ac5b9d9d145ffbadaff86ddc3583023f164ffb40c351 SHA512 bde28c167eac5b134b4bdf0f2ac8d93eca4f99c1881ca0edc105c33674114b3a4e3508a1f45048f45ce1c2f6b690a0f765c1b980dbe42c7e1282172f12c3a853
23 DIST paperwork-2.0.3.tar.gz 6224520 BLAKE2B 099d76893b0b89e5f7914456ec31346f28335333361a4528efed6ab4c596fa24893d375557d6c1e89f7c83f4a1acac161004138b7e1537aa2f3cb2de0460bcc3 SHA512 d5cf30ef8a6011817947c9878d4defe93a0c82f77562fd707c198d944657db754ba57d703ae3f931ac9e2d7f9f1eb7f9f9093a1d26f25dac0e336b03f9b25ed3
24 +DIST paperwork-2.1.0.tar.gz 5887310 BLAKE2B a28229c73342769fe004be38d5782c6e29d3893bf1fbdd8ccac9790057e2af0b01ef0ad6719310a40d609811efd6c13c7b3761bb9d5feab91a6127eca1526a3a SHA512 4362b7feba917017d5c04cbfaf3d77a2619b7431f2687800f112ecac2edc48604f8bca8d4e6defd09bae1c69c6dfc3e1f22327166aa3563eb6b2c575827e536c
25
26 diff --git a/app-text/paperwork/paperwork-2.1.0.ebuild b/app-text/paperwork/paperwork-2.1.0.ebuild
27 new file mode 100644
28 index 000000000000..d5656e6f06c5
29 --- /dev/null
30 +++ b/app-text/paperwork/paperwork-2.1.0.ebuild
31 @@ -0,0 +1,43 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1 xdg
39 +
40 +DESCRIPTION="a personal document manager for scanned documents (and PDFs)"
41 +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE=""
48 +
49 +RDEPEND="~app-text/openpaperwork-core-${PV}[${PYTHON_USEDEP}]
50 + ~app-text/openpaperwork-gtk-${PV}[${PYTHON_USEDEP}]
51 + ~app-text/paperwork-backend-${PV}[${PYTHON_USEDEP}]
52 + dev-python/libpillowfight[${PYTHON_USEDEP}]
53 + dev-python/pillow[${PYTHON_USEDEP}]
54 + dev-python/pycairo[${PYTHON_USEDEP}]
55 + dev-python/pyenchant[${PYTHON_USEDEP}]
56 + dev-python/pygobject:3[${PYTHON_USEDEP}]
57 + >=dev-python/pyocr-0.3.0[${PYTHON_USEDEP}]
58 + dev-python/python-dateutil[${PYTHON_USEDEP}]
59 + dev-python/pyxdg[${PYTHON_USEDEP}]
60 + media-libs/libinsane
61 + x11-libs/libnotify[introspection]"
62 +DEPEND="${RDEPEND}"
63 +
64 +python_install_all() {
65 + distutils-r1_python_install_all
66 +
67 + # This queries tesseract languages and will fail sandbox with
68 + # USE=opencl, bug #793446
69 + addpredict /dev/nvidiactl
70 +
71 + PYTHONPATH="src" "${EPYTHON}" src/paperwork_gtk/main.py install \
72 + --icon_base_dir="${ED}"/usr/share/icons \
73 + --data_base_dir="${ED}"/usr/share
74 +}