From abc3bfc07d931f667a0f50cf607f1c8a49af879f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 27 Sep 2024 01:25:47 +0100 Subject: gentoo auto-resync : 27:09:2024 - 01:25:47 --- app-text/Manifest.gz | Bin 50250 -> 50250 bytes app-text/openpaperwork-core/Manifest | 4 +- .../openpaperwork-core-2.2.2.ebuild | 32 ---------- .../openpaperwork-core-2.2.5.ebuild | 32 ++++++++++ app-text/openpaperwork-gtk/Manifest | 4 +- .../openpaperwork-gtk-2.2.2.ebuild | 37 ------------ .../openpaperwork-gtk-2.2.5.ebuild | 37 ++++++++++++ app-text/paperwork-backend/Manifest | 7 +-- .../files/paperwork-backend-2.2.2-scipy.patch | 55 ----------------- .../paperwork-backend-2.2.2.ebuild | 63 -------------------- .../paperwork-backend-2.2.5.ebuild | 57 ++++++++++++++++++ app-text/paperwork/Manifest | 6 +- app-text/paperwork/paperwork-2.2.2.ebuild | 65 --------------------- app-text/paperwork/paperwork-2.2.5.ebuild | 65 +++++++++++++++++++++ 14 files changed, 201 insertions(+), 263 deletions(-) delete mode 100644 app-text/openpaperwork-core/openpaperwork-core-2.2.2.ebuild create mode 100644 app-text/openpaperwork-core/openpaperwork-core-2.2.5.ebuild delete mode 100644 app-text/openpaperwork-gtk/openpaperwork-gtk-2.2.2.ebuild create mode 100644 app-text/openpaperwork-gtk/openpaperwork-gtk-2.2.5.ebuild delete mode 100644 app-text/paperwork-backend/files/paperwork-backend-2.2.2-scipy.patch delete mode 100644 app-text/paperwork-backend/paperwork-backend-2.2.2.ebuild create mode 100644 app-text/paperwork-backend/paperwork-backend-2.2.5.ebuild delete mode 100644 app-text/paperwork/paperwork-2.2.2.ebuild create mode 100644 app-text/paperwork/paperwork-2.2.5.ebuild (limited to 'app-text') diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz index 5c83fe24e23b..f006a61e7bc7 100644 Binary files a/app-text/Manifest.gz and b/app-text/Manifest.gz differ diff --git a/app-text/openpaperwork-core/Manifest b/app-text/openpaperwork-core/Manifest index 4db3f8a340ce..d280d71cadb3 100644 --- a/app-text/openpaperwork-core/Manifest +++ b/app-text/openpaperwork-core/Manifest @@ -1,5 +1,5 @@ -DIST paperwork-2.2.2.tar.bz2 2531134 BLAKE2B 760d5fdc949ed44993c9845232e3f92b26b8dcb84ef82b08be7dbb0b262461feaf06f930f3fce0b94fdd8412a8264969bac117e3ea7aef70e1b47436a9dba3c0 SHA512 e0d3c24a0d611ffea231e129461d2925dc8318aaade185e83361bca8d1757e4601510db6122dc412863e617a387eb1c6008d0974c2b37be7ac4e4c3e68bc450b DIST paperwork-2.2.3.tar.bz2 2531208 BLAKE2B 6259a9b7a916ad71fc0f0747ce0c17e874dbff962c3d8b46c4c25c2a119de6d27f0ce7ce262dfbf7290fa436726fc538d9bead2664d7f158d51634eece768620 SHA512 68bad3ccc9ed2fdea2b1336945ca4f11de5b0a2249d5f043dc34d620ae5bf6627c0255d4776a5c19e9d266972403023f0b63eb3bf694d7a33051b53239c017bf -EBUILD openpaperwork-core-2.2.2.ebuild 777 BLAKE2B a43a4470e712e81d64ad23c26f0900d7382d56d5eba57302eb56219cf41e4f739eb0df8cc3a5d982f6f85d5df7ff7cd5b0cb57c9174ca4a4f14d4b90ba07a21e SHA512 c0f5d4ba3192a66a4902ec8042613633a409524736f16edbcbcb0b23b80ba958ad701c0042f27ea2a1ea41bb26133ca6c4b2e5276fc5463a79aab7919fef39cf +DIST paperwork-2.2.5.tar.bz2 2515993 BLAKE2B 3d4e6607d06efc40939fb1d6df72937acb58d54200be96f8c276efe2564ec3e67cafde11e1d8733ff7fd9647b3f30410f9eb584569d56efc3ea5bff21b25acb1 SHA512 60e8acc439bd935f402871208b6acccda033c6324b734aac7adde45716c0e44770902bf97499c10d11af171be5c8bd8ab832b714a972bac27cd274ff5b9fb8ef EBUILD openpaperwork-core-2.2.3.ebuild 777 BLAKE2B 5019b0fa39a96a637383127b33d6cfc3831ea1738c42204c472a471674c95238ea647e12c6e491497e41b024f79a7da1b840d1e30e80605a4e279dd72b352297 SHA512 222fc5c3cebf15b2cf8b3af13b8bf7733045d9ae1b887abb51d0104707c362635000b0c126324eca786101e6daf76bd8c114caf7f01991466a3c1c5994af255d +EBUILD openpaperwork-core-2.2.5.ebuild 777 BLAKE2B 5019b0fa39a96a637383127b33d6cfc3831ea1738c42204c472a471674c95238ea647e12c6e491497e41b024f79a7da1b840d1e30e80605a4e279dd72b352297 SHA512 222fc5c3cebf15b2cf8b3af13b8bf7733045d9ae1b887abb51d0104707c362635000b0c126324eca786101e6daf76bd8c114caf7f01991466a3c1c5994af255d MISC metadata.xml 411 BLAKE2B 3b2c93ec0ef42b0af9ef95f4ddaa408bccbcad56b10358ee781b828274e00fc309be763a3193e411ca0886f9a96450fb6a52a86bf796713408cc1fdccf743d59 SHA512 43487d9ab1dd7bf0076cbd43b55f3ac30c53ec05d16fd8250d344af06528be0bc9aae1099530c342239b795d98398c4154ce03b7f5354b09b2632db62e5a81b3 diff --git a/app-text/openpaperwork-core/openpaperwork-core-2.2.2.ebuild b/app-text/openpaperwork-core/openpaperwork-core-2.2.2.ebuild deleted file mode 100644 index f921425cccd0..000000000000 --- a/app-text/openpaperwork-core/openpaperwork-core-2.2.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) - -inherit distutils-r1 - -DESCRIPTION="Core part of Paperwork (plugin management)" -HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" -SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2" -S=${WORKDIR}/paperwork-${PV}/${PN} - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-python/distro[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] - sys-apps/which - sys-devel/gettext" - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_compile() { - emake l10n_compile - - distutils-r1_python_compile -} diff --git a/app-text/openpaperwork-core/openpaperwork-core-2.2.5.ebuild b/app-text/openpaperwork-core/openpaperwork-core-2.2.5.ebuild new file mode 100644 index 000000000000..73f4d76b2a24 --- /dev/null +++ b/app-text/openpaperwork-core/openpaperwork-core-2.2.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..13} ) + +inherit distutils-r1 + +DESCRIPTION="Core part of Paperwork (plugin management)" +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" +SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2" +S=${WORKDIR}/paperwork-${PV}/${PN} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/distro[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] + sys-apps/which + sys-devel/gettext" + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_compile() { + emake l10n_compile + + distutils-r1_python_compile +} diff --git a/app-text/openpaperwork-gtk/Manifest b/app-text/openpaperwork-gtk/Manifest index d95e5bd78c41..86429f7a1ff0 100644 --- a/app-text/openpaperwork-gtk/Manifest +++ b/app-text/openpaperwork-gtk/Manifest @@ -1,5 +1,5 @@ -DIST paperwork-2.2.2.tar.bz2 2531134 BLAKE2B 760d5fdc949ed44993c9845232e3f92b26b8dcb84ef82b08be7dbb0b262461feaf06f930f3fce0b94fdd8412a8264969bac117e3ea7aef70e1b47436a9dba3c0 SHA512 e0d3c24a0d611ffea231e129461d2925dc8318aaade185e83361bca8d1757e4601510db6122dc412863e617a387eb1c6008d0974c2b37be7ac4e4c3e68bc450b DIST paperwork-2.2.3.tar.bz2 2531208 BLAKE2B 6259a9b7a916ad71fc0f0747ce0c17e874dbff962c3d8b46c4c25c2a119de6d27f0ce7ce262dfbf7290fa436726fc538d9bead2664d7f158d51634eece768620 SHA512 68bad3ccc9ed2fdea2b1336945ca4f11de5b0a2249d5f043dc34d620ae5bf6627c0255d4776a5c19e9d266972403023f0b63eb3bf694d7a33051b53239c017bf -EBUILD openpaperwork-gtk-2.2.2.ebuild 930 BLAKE2B 25f58dae5ab0922c3225be31d25f4388b96c70cf5ba482cdeaacdcdd77b7a3f7829d7bb66d042a819f3f68891e6128f3350fee2d19d5857f7b370316b4ad7be4 SHA512 54e221e1a6c9ae50d667d555e9b731a52a302e854fdcffcd5de438535f82daf36d7df97eb4250df63b5d34152d9497f5e61b3cfd0b88cafb5a2f4d9c80b16ed3 +DIST paperwork-2.2.5.tar.bz2 2515993 BLAKE2B 3d4e6607d06efc40939fb1d6df72937acb58d54200be96f8c276efe2564ec3e67cafde11e1d8733ff7fd9647b3f30410f9eb584569d56efc3ea5bff21b25acb1 SHA512 60e8acc439bd935f402871208b6acccda033c6324b734aac7adde45716c0e44770902bf97499c10d11af171be5c8bd8ab832b714a972bac27cd274ff5b9fb8ef EBUILD openpaperwork-gtk-2.2.3.ebuild 930 BLAKE2B 7b03423d56c345dd42118c5244149ed31236cafd2e0957b7630748bd83bc8d9d4e4bde1774913ccc1bf23b72afa7bab48c8e7cf7474ddd9568cc4ac2a6e119e1 SHA512 893913242965f833865c0346c89cad2678073c97f2b182e813f93c33e64bf10f1d6e3e1c7b52c37655a09a1befd8f3e3f6d28dae8180562ba9bc3ab7144a405f +EBUILD openpaperwork-gtk-2.2.5.ebuild 930 BLAKE2B 7b03423d56c345dd42118c5244149ed31236cafd2e0957b7630748bd83bc8d9d4e4bde1774913ccc1bf23b72afa7bab48c8e7cf7474ddd9568cc4ac2a6e119e1 SHA512 893913242965f833865c0346c89cad2678073c97f2b182e813f93c33e64bf10f1d6e3e1c7b52c37655a09a1befd8f3e3f6d28dae8180562ba9bc3ab7144a405f MISC metadata.xml 410 BLAKE2B 13172be1299a64f5856e03791df45398d802340ece2eb41856623f3d5649efc0fe26aefda55ed180b5e042bd9d14ad88298e5c2383c3ea64a29c8748b74a18eb SHA512 90faa39c2bfe806ba21302a6daaa9a7a01f6489e1fb8756a3dcc0f47d4cfeef52b51d8eb785b61c1b734d691a15c55764590736ea1e56c8102139b7b72424baf diff --git a/app-text/openpaperwork-gtk/openpaperwork-gtk-2.2.2.ebuild b/app-text/openpaperwork-gtk/openpaperwork-gtk-2.2.2.ebuild deleted file mode 100644 index 9537e32fc587..000000000000 --- a/app-text/openpaperwork-gtk/openpaperwork-gtk-2.2.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) - -inherit distutils-r1 - -DESCRIPTION="Paperwork plugins" -HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" -SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2" -S=${WORKDIR}/paperwork-${PV}/${PN} - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="app-text/openpaperwork-core[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - gui-libs/libhandy - x11-libs/gtk+:3[introspection]" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] - sys-apps/which - sys-devel/gettext" - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_compile() { - emake l10n_compile - - distutils-r1_python_compile -} diff --git a/app-text/openpaperwork-gtk/openpaperwork-gtk-2.2.5.ebuild b/app-text/openpaperwork-gtk/openpaperwork-gtk-2.2.5.ebuild new file mode 100644 index 000000000000..bfb9af9c2fcf --- /dev/null +++ b/app-text/openpaperwork-gtk/openpaperwork-gtk-2.2.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..13} ) + +inherit distutils-r1 + +DESCRIPTION="Paperwork plugins" +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" +SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2" +S=${WORKDIR}/paperwork-${PV}/${PN} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="app-text/openpaperwork-core[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + gui-libs/libhandy + x11-libs/gtk+:3[introspection]" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] + sys-apps/which + sys-devel/gettext" + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_compile() { + emake l10n_compile + + distutils-r1_python_compile +} diff --git a/app-text/paperwork-backend/Manifest b/app-text/paperwork-backend/Manifest index 24ba1a45d886..4bd33ce133e7 100644 --- a/app-text/paperwork-backend/Manifest +++ b/app-text/paperwork-backend/Manifest @@ -1,8 +1,7 @@ -AUX paperwork-backend-2.2.2-scipy.patch 2408 BLAKE2B 6873642022f7757f30954e8e68fbd34e83bc12c80fa88ec394993d6fed28ba90cca440a06b32ee5e9de55cba0bb72e6cd47012e6acbf870208c32f8c52cb342f SHA512 ad6dea4df8f3cea3b465d7df2afbab17bccdafec3ca6555022487929626e01df4e0dab25a84e1cc5f7404189ca072011f9dc08a6ee1f07a978fb552410ba72ab -DIST paperwork-2.2.2.tar.bz2 2531134 BLAKE2B 760d5fdc949ed44993c9845232e3f92b26b8dcb84ef82b08be7dbb0b262461feaf06f930f3fce0b94fdd8412a8264969bac117e3ea7aef70e1b47436a9dba3c0 SHA512 e0d3c24a0d611ffea231e129461d2925dc8318aaade185e83361bca8d1757e4601510db6122dc412863e617a387eb1c6008d0974c2b37be7ac4e4c3e68bc450b DIST paperwork-2.2.3.tar.bz2 2531208 BLAKE2B 6259a9b7a916ad71fc0f0747ce0c17e874dbff962c3d8b46c4c25c2a119de6d27f0ce7ce262dfbf7290fa436726fc538d9bead2664d7f158d51634eece768620 SHA512 68bad3ccc9ed2fdea2b1336945ca4f11de5b0a2249d5f043dc34d620ae5bf6627c0255d4776a5c19e9d266972403023f0b63eb3bf694d7a33051b53239c017bf -DIST paperwork-data-2.2.2.tar.gz 5206588 BLAKE2B 7dd15d31b0b3b59900556d78b271f36cc1cab533d273948a7d0eb364028ec0d1c26b2743a10565e2fc1d65786a11a1589c776c2ec1df6030efe8a79b2fba53a0 SHA512 aaf8e4174504eed7b33b2a0d3ad1b0af489d70bd9a425cf9363011fc6e24dd42a6822a5d078898279e78bbe15b4e36075c5a57a5ec74eabb3c2af7b9c3cc3e76 +DIST paperwork-2.2.5.tar.bz2 2515993 BLAKE2B 3d4e6607d06efc40939fb1d6df72937acb58d54200be96f8c276efe2564ec3e67cafde11e1d8733ff7fd9647b3f30410f9eb584569d56efc3ea5bff21b25acb1 SHA512 60e8acc439bd935f402871208b6acccda033c6324b734aac7adde45716c0e44770902bf97499c10d11af171be5c8bd8ab832b714a972bac27cd274ff5b9fb8ef DIST paperwork-data-2.2.3.tar.gz 5206588 BLAKE2B 7dd15d31b0b3b59900556d78b271f36cc1cab533d273948a7d0eb364028ec0d1c26b2743a10565e2fc1d65786a11a1589c776c2ec1df6030efe8a79b2fba53a0 SHA512 aaf8e4174504eed7b33b2a0d3ad1b0af489d70bd9a425cf9363011fc6e24dd42a6822a5d078898279e78bbe15b4e36075c5a57a5ec74eabb3c2af7b9c3cc3e76 -EBUILD paperwork-backend-2.2.2.ebuild 1665 BLAKE2B f633dc588a88838cda338225292cfcb3f7d38b2eba79340dcd93c70b5a7d30c0ff362195e3eda96a2336f3e858e7b702106f8d071db94193f09bbecdc71c3deb SHA512 33509abb778d1c577efb16e7d1e15327575501e269671e23eefbd3b8231565c986e588d4ebca8dbe97e69be46688a9c9d2dbdc7544e5ac66cedcdd9bb7928bc6 +DIST paperwork-data-2.2.5.tar.gz 5206588 BLAKE2B 7dd15d31b0b3b59900556d78b271f36cc1cab533d273948a7d0eb364028ec0d1c26b2743a10565e2fc1d65786a11a1589c776c2ec1df6030efe8a79b2fba53a0 SHA512 aaf8e4174504eed7b33b2a0d3ad1b0af489d70bd9a425cf9363011fc6e24dd42a6822a5d078898279e78bbe15b4e36075c5a57a5ec74eabb3c2af7b9c3cc3e76 EBUILD paperwork-backend-2.2.3.ebuild 1558 BLAKE2B 8ddfdded6f3f9e859aa807fe32e4f44df258f45296d3dba5643d8c1e95e3aaa95b0a18ef5e63e6ef0059ec3517af02a2a64b076a31c41590bd067fac09a79dd1 SHA512 b28a03086688353c38c92f0056ad069089ec862b805d5330821359c99db0a88a9cd702581c45837e318f411d5e9c751d7859e9c53073f367383ae6b7b18d6032 +EBUILD paperwork-backend-2.2.5.ebuild 1558 BLAKE2B 8ddfdded6f3f9e859aa807fe32e4f44df258f45296d3dba5643d8c1e95e3aaa95b0a18ef5e63e6ef0059ec3517af02a2a64b076a31c41590bd067fac09a79dd1 SHA512 b28a03086688353c38c92f0056ad069089ec862b805d5330821359c99db0a88a9cd702581c45837e318f411d5e9c751d7859e9c53073f367383ae6b7b18d6032 MISC metadata.xml 410 BLAKE2B c6ed41347886699086f69694dbaa5134e9ebfb02cbc157909e02971cce01cc562e82f31c15bb5ae1ee261d79d6e5a9ece81c1cf7fa48a9839ddf467c06fab392 SHA512 01bf86e9c8fd1b9e1d514edca46992609eb8789fe95ea914914ef4fc43c7b3f0fcaffaa712bb5c72e3936679b44749837b0ba73c2b62c1b0bc52f318fcc8e31f diff --git a/app-text/paperwork-backend/files/paperwork-backend-2.2.2-scipy.patch b/app-text/paperwork-backend/files/paperwork-backend-2.2.2-scipy.patch deleted file mode 100644 index 9add28626a23..000000000000 --- a/app-text/paperwork-backend/files/paperwork-backend-2.2.2-scipy.patch +++ /dev/null @@ -1,55 +0,0 @@ -From abcebfe9714644d4e259e53b10e0e9417b5b864f Mon Sep 17 00:00:00 2001 -From: Jerome Flesch -Date: Sun, 21 Apr 2024 13:31:03 +0200 -Subject: [PATCH] backend/guesswork/labels/sklearn: fix use of - scipy.sparse.hstack() + numpy.zeros() - -Closes #1111 ---- - .../paperwork_backend/guesswork/label/sklearn/__init__.py | 5 +++-- - paperwork-backend/src/paperwork_backend/model/fake.py | 6 ++++++ - 2 files changed, 9 insertions(+), 2 deletions(-) - -diff --git a/paperwork-backend/src/paperwork_backend/guesswork/label/sklearn/__init__.py b/paperwork-backend/src/paperwork_backend/guesswork/label/sklearn/__init__.py -index b2af4350..8633211f 100644 ---- a/paperwork-backend/src/paperwork_backend/guesswork/label/sklearn/__init__.py -+++ b/paperwork-backend/src/paperwork_backend/guesswork/label/sklearn/__init__.py -@@ -191,7 +191,8 @@ class UpdatableVectorizer(object): - ) - if required_padding > 0: - doc_vector = numpy.hstack([ -- doc_vector, numpy.zeros((required_padding,)) -+ doc_vector, -+ numpy.zeros((required_padding,)) - ]) - if sum_features is None: - sum_features = doc_vector -@@ -339,7 +340,7 @@ class Corpus(object): - if required_padding > 0: - doc_vector = scipy.sparse.hstack([ - scipy.sparse.csr_matrix(doc_vector), -- numpy.zeros((required_padding,)) -+ numpy.zeros((1, required_padding)) - ]) - else: - doc_vector = scipy.sparse.csr_matrix(doc_vector) -diff --git a/paperwork-backend/src/paperwork_backend/model/fake.py b/paperwork-backend/src/paperwork_backend/model/fake.py -index 29beae97..f06fe18e 100644 ---- a/paperwork-backend/src/paperwork_backend/model/fake.py -+++ b/paperwork-backend/src/paperwork_backend/model/fake.py -@@ -125,6 +125,12 @@ class Plugin(openpaperwork_core.PluginBase): - if doc['url'] == doc_url: - out.update(doc['labels']) - -+ def doc_has_labels_by_url(self, doc_url): -+ for doc in self.docs: -+ if doc['url'] == doc_url: -+ return True if len(doc["labels"]) > 0 else None -+ return None -+ - def doc_add_label_by_url(self, doc_url, label, color=None): - if color is None: - all_labels = set() --- -GitLab - diff --git a/app-text/paperwork-backend/paperwork-backend-2.2.2.ebuild b/app-text/paperwork-backend/paperwork-backend-2.2.2.ebuild deleted file mode 100644 index 738513e7b1a6..000000000000 --- a/app-text/paperwork-backend/paperwork-backend-2.2.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Backend part of Paperwork (Python API, no UI)" -HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" -# Update from release hash at: -# https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/tags -REL_HASH="3f51346f" -SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2 - https://download.openpaper.work/data/paperwork/master_${REL_HASH}/data.tar.gz -> paperwork-data-${PV}.tar.gz" -S=${WORKDIR}/paperwork-${PV}/${PN} - -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/pillow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pycountry[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/scikit-learn[${PYTHON_USEDEP}] - dev-python/termcolor[${PYTHON_USEDEP}] - dev-python/whoosh[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - dev-python/setuptools-scm[${PYTHON_USEDEP}] - sys-apps/which - sys-devel/gettext - test? ( - dev-python/libpillowfight[${PYTHON_USEDEP}] - media-libs/libinsane - ) -" - -distutils_enable_tests unittest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - default - cd "${WORKDIR}"/paperwork-${PV} || die - eapply "${FILESDIR}"/${P}-scipy.patch -} - -python_compile() { - emake l10n_compile - - distutils-r1_python_compile -} diff --git a/app-text/paperwork-backend/paperwork-backend-2.2.5.ebuild b/app-text/paperwork-backend/paperwork-backend-2.2.5.ebuild new file mode 100644 index 000000000000..122954f5aaab --- /dev/null +++ b/app-text/paperwork-backend/paperwork-backend-2.2.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Backend part of Paperwork (Python API, no UI)" +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" +# Update from release hash at: +# https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/tags +REL_HASH="3f51346f" +SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2 + https://download.openpaper.work/data/paperwork/master_${REL_HASH}/data.tar.gz -> paperwork-data-${PV}.tar.gz" +S=${WORKDIR}/paperwork-${PV}/${PN} + +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/pillow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pycountry[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/scikit-learn[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/whoosh[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + dev-python/setuptools-scm[${PYTHON_USEDEP}] + sys-apps/which + sys-devel/gettext + test? ( + dev-python/libpillowfight[${PYTHON_USEDEP}] + media-libs/libinsane + ) +" + +distutils_enable_tests unittest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_compile() { + emake l10n_compile + + distutils-r1_python_compile +} diff --git a/app-text/paperwork/Manifest b/app-text/paperwork/Manifest index 1dcb901699a9..95958bbb7d57 100644 --- a/app-text/paperwork/Manifest +++ b/app-text/paperwork/Manifest @@ -1,7 +1,7 @@ -DIST paperwork-2.2.2.tar.bz2 2531134 BLAKE2B 760d5fdc949ed44993c9845232e3f92b26b8dcb84ef82b08be7dbb0b262461feaf06f930f3fce0b94fdd8412a8264969bac117e3ea7aef70e1b47436a9dba3c0 SHA512 e0d3c24a0d611ffea231e129461d2925dc8318aaade185e83361bca8d1757e4601510db6122dc412863e617a387eb1c6008d0974c2b37be7ac4e4c3e68bc450b DIST paperwork-2.2.3.tar.bz2 2531208 BLAKE2B 6259a9b7a916ad71fc0f0747ce0c17e874dbff962c3d8b46c4c25c2a119de6d27f0ce7ce262dfbf7290fa436726fc538d9bead2664d7f158d51634eece768620 SHA512 68bad3ccc9ed2fdea2b1336945ca4f11de5b0a2249d5f043dc34d620ae5bf6627c0255d4776a5c19e9d266972403023f0b63eb3bf694d7a33051b53239c017bf -DIST paperwork-data-2.2.2.tar.gz 5206588 BLAKE2B 7dd15d31b0b3b59900556d78b271f36cc1cab533d273948a7d0eb364028ec0d1c26b2743a10565e2fc1d65786a11a1589c776c2ec1df6030efe8a79b2fba53a0 SHA512 aaf8e4174504eed7b33b2a0d3ad1b0af489d70bd9a425cf9363011fc6e24dd42a6822a5d078898279e78bbe15b4e36075c5a57a5ec74eabb3c2af7b9c3cc3e76 +DIST paperwork-2.2.5.tar.bz2 2515993 BLAKE2B 3d4e6607d06efc40939fb1d6df72937acb58d54200be96f8c276efe2564ec3e67cafde11e1d8733ff7fd9647b3f30410f9eb584569d56efc3ea5bff21b25acb1 SHA512 60e8acc439bd935f402871208b6acccda033c6324b734aac7adde45716c0e44770902bf97499c10d11af171be5c8bd8ab832b714a972bac27cd274ff5b9fb8ef DIST paperwork-data-2.2.3.tar.gz 5206588 BLAKE2B 7dd15d31b0b3b59900556d78b271f36cc1cab533d273948a7d0eb364028ec0d1c26b2743a10565e2fc1d65786a11a1589c776c2ec1df6030efe8a79b2fba53a0 SHA512 aaf8e4174504eed7b33b2a0d3ad1b0af489d70bd9a425cf9363011fc6e24dd42a6822a5d078898279e78bbe15b4e36075c5a57a5ec74eabb3c2af7b9c3cc3e76 -EBUILD paperwork-2.2.2.ebuild 1940 BLAKE2B 9e49cbf5772681e2622d5dd42f2ce7484f9db3f162523f0a0d2b3f476ea9b5e7b5b7be12646f5562fef6caa6a4aaecccf7bf16f2b43ab3da0a913c1f2964a0dd SHA512 f23de2e9c2c7db3bf6fa2f049d18905053b27049afc6b2b8bd0cbb4fb773857267f5e5cb2956ccc0fd41dc6811256d6f83f97d706248ae88851fff1a5a30abcb +DIST paperwork-data-2.2.5.tar.gz 5206588 BLAKE2B 7dd15d31b0b3b59900556d78b271f36cc1cab533d273948a7d0eb364028ec0d1c26b2743a10565e2fc1d65786a11a1589c776c2ec1df6030efe8a79b2fba53a0 SHA512 aaf8e4174504eed7b33b2a0d3ad1b0af489d70bd9a425cf9363011fc6e24dd42a6822a5d078898279e78bbe15b4e36075c5a57a5ec74eabb3c2af7b9c3cc3e76 EBUILD paperwork-2.2.3.ebuild 1940 BLAKE2B f4a1422746cf2015fd269924e1a5a30f9358d253714f595110a030b6622ba5fad3b48aeb812dcd5f397cbcb6a9c3a48b4b73f2974b6e0b1f0595c71f052837b1 SHA512 617531d2afe3aaa33a086cf21a2b02f42c2b0726c31a31b57fbd8fd2a0f094e361224d8ca8fc37028326f34836b688a68ec3b6d4d3228e6f871e2d7a16ffad87 +EBUILD paperwork-2.2.5.ebuild 1940 BLAKE2B f4a1422746cf2015fd269924e1a5a30f9358d253714f595110a030b6622ba5fad3b48aeb812dcd5f397cbcb6a9c3a48b4b73f2974b6e0b1f0595c71f052837b1 SHA512 617531d2afe3aaa33a086cf21a2b02f42c2b0726c31a31b57fbd8fd2a0f094e361224d8ca8fc37028326f34836b688a68ec3b6d4d3228e6f871e2d7a16ffad87 MISC metadata.xml 795 BLAKE2B eaa7ea613cab3ed3e9d3a009b5fba74f1424ae26d68321ab6e2942a16ccf154e5ff8db1559e7ab97864b7b979b97215a553bf2be97a0d0049feae4156ef66803 SHA512 2fd9d23d6b951b3d993b4acc6a6107ed907cd2cad4bfe88b40e72eaf9bc69d85c60a3192628658db9d2dc7dc2bf94d61b09816b7343bf8f2d72ee310b66dcc12 diff --git a/app-text/paperwork/paperwork-2.2.2.ebuild b/app-text/paperwork/paperwork-2.2.2.ebuild deleted file mode 100644 index 1f2fc150f5b4..000000000000 --- a/app-text/paperwork/paperwork-2.2.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) - -inherit distutils-r1 xdg - -DESCRIPTION="a personal document manager for scanned documents (and PDFs)" -HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" -# Update from release hash at: -# https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/tags -REL_HASH="3f51346f" -SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2 - https://download.openpaper.work/data/paperwork/master_${REL_HASH}/data.tar.gz -> paperwork-data-${PV}.tar.gz" -S=${WORKDIR}/paperwork-${PV}/${PN}-gtk - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -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/pygobject:3[${PYTHON_USEDEP}] - >=dev-python/pyocr-0.3.0[${PYTHON_USEDEP}] - >=dev-python/pyxdg-0.25[${PYTHON_USEDEP}] - media-libs/libinsane - x11-libs/libnotify[introspection]" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] - sys-apps/which - sys-devel/gettext" - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - default - cp -a "${WORKDIR}"/${PN}-gtk "${WORKDIR}"/paperwork-${PV}/ -} - -python_compile() { - emake l10n_compile - - distutils-r1_python_compile -} - -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.2.5.ebuild b/app-text/paperwork/paperwork-2.2.5.ebuild new file mode 100644 index 000000000000..9ab2b91ff373 --- /dev/null +++ b/app-text/paperwork/paperwork-2.2.5.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 xdg + +DESCRIPTION="a personal document manager for scanned documents (and PDFs)" +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" +# Update from release hash at: +# https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/tags +REL_HASH="620eb580" +SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2 + https://download.openpaper.work/data/paperwork/master_${REL_HASH}/data.tar.gz -> paperwork-data-${PV}.tar.gz" +S=${WORKDIR}/paperwork-${PV}/${PN}-gtk + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +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/pygobject:3[${PYTHON_USEDEP}] + >=dev-python/pyocr-0.3.0[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.25[${PYTHON_USEDEP}] + media-libs/libinsane + x11-libs/libnotify[introspection]" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] + sys-apps/which + sys-devel/gettext" + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_prepare() { + default + cp -a "${WORKDIR}"/${PN}-gtk "${WORKDIR}"/paperwork-${PV}/ +} + +python_compile() { + emake l10n_compile + + distutils-r1_python_compile +} + +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