From 3f9a144d38a57497a44a583d11a6e3dfbe8319d5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 20 Sep 2022 23:24:40 +0100 Subject: gentoo auto-resync : 20:09:2022 - 23:24:40 --- app-text/paperwork/Manifest | 2 +- app-text/paperwork/paperwork-2.1.1-r1.ebuild | 51 ++++++++++++++++++++++++++++ app-text/paperwork/paperwork-2.1.1.ebuild | 44 ------------------------ 3 files changed, 52 insertions(+), 45 deletions(-) create mode 100644 app-text/paperwork/paperwork-2.1.1-r1.ebuild delete mode 100644 app-text/paperwork/paperwork-2.1.1.ebuild (limited to 'app-text/paperwork') diff --git a/app-text/paperwork/Manifest b/app-text/paperwork/Manifest index f28cbd07597a..9b6f0fa62bc6 100644 --- a/app-text/paperwork/Manifest +++ b/app-text/paperwork/Manifest @@ -1,5 +1,5 @@ DIST paperwork-2.1.0.tar.gz 5887310 BLAKE2B a28229c73342769fe004be38d5782c6e29d3893bf1fbdd8ccac9790057e2af0b01ef0ad6719310a40d609811efd6c13c7b3761bb9d5feab91a6127eca1526a3a SHA512 4362b7feba917017d5c04cbfaf3d77a2619b7431f2687800f112ecac2edc48604f8bca8d4e6defd09bae1c69c6dfc3e1f22327166aa3563eb6b2c575827e536c DIST paperwork-2.1.1.tar.gz 5886436 BLAKE2B 5fd5a8a5d45a39298d3bc905360544f695c8c1ffa6e4bac56f3ec7bb9f31842aa71e2dadf0c8f072da59065f15fe5e768e42b8a1574722dfb99f66cc24c5b038 SHA512 e2164dc54eacb6153182c073e15f0605ec2131e17fa1c508d4923d37c1848c286d36807994ce07de99fb9cc5da012c111d84768c2c7c876dfb163811995b10c0 EBUILD paperwork-2.1.0.ebuild 1383 BLAKE2B 3c58775d9f6c5928b554e1e0480a7cb3109b6f2d3ad6b509b25502e9426efa316e26f4efb576b013aed5b0b73551b8482547c8e6686f48a037eaa518e5bd6fa8 SHA512 a99f27e99b439393b3f1508bb74dd91db04caf4963d2e8330ef64c2bb41eda0c6d677d5926fa3b0f9913a1721d868f0c90fcd5c29294da694f59c7645ea5409a -EBUILD paperwork-2.1.1.ebuild 1337 BLAKE2B 752df624fec6347cb68c31fd835f98c90cbe26c545542ae66d948f0a2bda9f69647c48b8872845ef6c17e315cf0bf4678bea11fb984e28d7c8f4a3af358c2a12 SHA512 8caccdc35a651c4372b50f21e4df9373a3a983f40001b9dc155746216101648affb6849589ddaf0eb96581c57fefcd8a5b96adeec18307552693ed4163c66101 +EBUILD paperwork-2.1.1-r1.ebuild 1516 BLAKE2B 96ede9bba5a0ae46d71e1db2df289a32e5d8fc756e98b6b0d8b84ba89d24c1e566fc5979712b465c48dc3c486342680c11f63677dd116f93d806cf7a9f8d5057 SHA512 f0023c355abeb57f57f2dbc0eef5778d2e04f17899430c7cb4952e136856b324764653f9370d3d9dd840a725d0ca1431c4c79e3e1dedb7a72ba8aa9241fc6a01 MISC metadata.xml 720 BLAKE2B e5c9fad4e92180e274b83e4add8480c987abf6b463dcf199d7d44eccde7c03beaa9ab8066d5db72b88e7644b6714ac57b8120cac128c1c132adaeccfc569e8d3 SHA512 4449763d4603c9b94be9f6abc2addee08143fc85d886c2b1ee0d2f0cdc552ebaec9941cbd91de6f76516ac71dd1a4c33f232301713bfaf28ce096229832422d9 diff --git a/app-text/paperwork/paperwork-2.1.1-r1.ebuild b/app-text/paperwork/paperwork-2.1.1-r1.ebuild new file mode 100644 index 000000000000..cd4fb6cfa7a0 --- /dev/null +++ b/app-text/paperwork/paperwork-2.1.1-r1.ebuild @@ -0,0 +1,51 @@ +# 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 xdg + +DESCRIPTION="a personal document manager for scanned documents (and PDFs)" +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/openpaperwork-core-${PV}[${PYTHON_USEDEP}] + ~app-text/openpaperwork-gtk-${PV}[${PYTHON_USEDEP}] + ~app-text/paperwork-backend-${PV}[${PYTHON_USEDEP}] + dev-python/libpillowfight[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pyenchant[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=dev-python/pyocr-0.3.0[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + media-libs/libinsane + x11-libs/libnotify[introspection]" +DEPEND="${RDEPEND}" + +src_prepare() { + # remove dep to allow both old python-Levenshtein and new + # Levenshtein packages + sed -i -e '/python-Levenshtein/d' setup.py || die + distutils-r1_src_prepare +} + +python_install_all() { + distutils-r1_python_install_all + + # This queries tesseract languages and will fail sandbox with + # USE=opencl, bugs #793446 #830012 #852134 + addpredict /dev/dri/renderD128 + addpredict /dev/kfd + addpredict /dev/nvidiactl + + PYTHONPATH="src" "${EPYTHON}" src/paperwork_gtk/main.py install \ + --icon_base_dir="${ED}"/usr/share/icons \ + --data_base_dir="${ED}"/usr/share +} diff --git a/app-text/paperwork/paperwork-2.1.1.ebuild b/app-text/paperwork/paperwork-2.1.1.ebuild deleted file mode 100644 index 5fb6e834f6a9..000000000000 --- a/app-text/paperwork/paperwork-2.1.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# 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 xdg - -DESCRIPTION="a personal document manager for scanned documents (and PDFs)" -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/openpaperwork-core-${PV}[${PYTHON_USEDEP}] - ~app-text/openpaperwork-gtk-${PV}[${PYTHON_USEDEP}] - ~app-text/paperwork-backend-${PV}[${PYTHON_USEDEP}] - dev-python/libpillowfight[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pyenchant[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - >=dev-python/pyocr-0.3.0[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - media-libs/libinsane - x11-libs/libnotify[introspection]" -DEPEND="${RDEPEND}" - -python_install_all() { - distutils-r1_python_install_all - - # This queries tesseract languages and will fail sandbox with - # USE=opencl, bugs #793446 #830012 #852134 - addpredict /dev/dri/renderD128 - addpredict /dev/kfd - addpredict /dev/nvidiactl - - PYTHONPATH="src" "${EPYTHON}" src/paperwork_gtk/main.py install \ - --icon_base_dir="${ED}"/usr/share/icons \ - --data_base_dir="${ED}"/usr/share -} -- cgit v1.2.3