diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-01 09:04:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-01 09:04:22 +0000 |
commit | d88834e7a12432c4e2d04ca7e938a66e25811f89 (patch) | |
tree | 9e31e0c72268908e8433ccfd6384a039525c1a32 /app-text/paperwork-backend | |
parent | 7414e061f0ef8e77eaa6de051a83181cddbef1dc (diff) |
gentoo auto-resync : 01:02:2023 - 09:04:21
Diffstat (limited to 'app-text/paperwork-backend')
-rw-r--r-- | app-text/paperwork-backend/Manifest | 6 | ||||
-rw-r--r-- | app-text/paperwork-backend/metadata.xml | 1 | ||||
-rw-r--r-- | app-text/paperwork-backend/paperwork-backend-2.1.2.ebuild (renamed from app-text/paperwork-backend/paperwork-backend-2.1.0.ebuild) | 31 |
3 files changed, 29 insertions, 9 deletions
diff --git a/app-text/paperwork-backend/Manifest b/app-text/paperwork-backend/Manifest index 38525eee608a..73041f9dc608 100644 --- a/app-text/paperwork-backend/Manifest +++ b/app-text/paperwork-backend/Manifest @@ -1,5 +1,5 @@ -DIST paperwork-backend-2.1.0.tar.gz 1352553 BLAKE2B 84bf9f34be50c2cd762c1afb496e4625bed50018242e94925ad4d5428228fadc9ac8d3866f8fbb9f0a78d049599048db62c6d7201852638cc5ad0674ebc791f0 SHA512 72cf3176091d899433a50d8a166a2505f0be9e5917df311a6f5139af472363df427102dcde99e6097b11f6aa26571bdaba06047fafd2365b4dedec0d3a47da7a DIST paperwork-backend-2.1.1.tar.gz 1383107 BLAKE2B 0e814a829581fe6322cc0ae44e9e3a20a2fc066e9be5de038c4d08b9d85218961ca87777271ebc646b03425e78017109ddf35c05a4b11e8fcc3bb4b6d10a6273 SHA512 ab75aaf01571eaa52a283ac6e1b9ff080d09e2514e1efb98bc96e9986acf85ec2ab2d94fc27ba15230370c642e39fddf6e11922a3d18b16af38f4281ff9c628f -EBUILD paperwork-backend-2.1.0.ebuild 959 BLAKE2B bca29a82375465f26d93bb4ec3ac00e095272ecf848cf18721e0e85247bef8e4ad2ba1eba7c1359b4183ec50dd1819702dcba2b16e14d06f6423cf79cec4b5f0 SHA512 65ed8fa0b495ab7955cae99307a7b8f277a737665cf8d175aa23c41a8e89e9522f99cebcd11f8cbb0d68e6b4d28cea83cdd3e57a2ad25ac92799f00f386534fc +DIST paperwork-backend-2.1.2.tar.gz 1346499 BLAKE2B daf8c6dee97b0bdf814bcf7e9c83a80ab878250994a770f5fa6be4c0b4e23f0def51e22c0a8652a19e9294f3fab0b522b25c2a91c306ad760d568faf76a78610 SHA512 0156baa658a9fe26680bf6d146af3f03b98da307ee1cfaf4803f8b70a2ffdb0010fe23c4d4f9b5a572919c4be94a1aad4fd070220849248cdb18c5b1c4bc478b EBUILD paperwork-backend-2.1.1-r1.ebuild 1312 BLAKE2B 2e44f4f10b445c03679e290e6d5141652d2e3699dad829be1b006641cc43d93656c962d16f9c4913d71007d69ff8f9e8b6645adf672bd5e6ab41a6351ffb5467 SHA512 763cf674c45ad4e845b71e12ad3f1b684305d43f70cb3f57d04b2b19f87b57e4b3d3548987cb11458f7dce98c9dbc1dc298dcfb46c872d4e62a2d2388f7384e0 -MISC metadata.xml 343 BLAKE2B c205d91c4a58119baa58d40a20915a1cbf44ee65b05d2e42150b45010c0802512008c53c487b1622f6370c46f741082347ec6241290ff1ec93142ad8fb4a9081 SHA512 e0b32b862f07314143878a643d0c8475b1d17ccf7eaddeb9cf77a787e68ebd231ccb4176c71a65ac47eefa97af2a04fedce0cb4efda24c08452c63d390a4dd8f +EBUILD paperwork-backend-2.1.2.ebuild 1344 BLAKE2B e08ad2534d207cde143ea2c12f7e1f55a0061aab1931a6b8270b2614fa7c36fe47fc52c5ca0f18dfe944d656df7cbb76c94abe79ad832f6c58b8275bdbe5d3b8 SHA512 79d0d69ed0e66ac16534f3527e51082d280d56061f681cb5c1cedc8f2f1042f6237c0c04a53436731a9f3731cb5db4b5f0b5dc9bdd68ca4a98e0bb9914daaf4e +MISC metadata.xml 410 BLAKE2B c6ed41347886699086f69694dbaa5134e9ebfb02cbc157909e02971cce01cc562e82f31c15bb5ae1ee261d79d6e5a9ece81c1cf7fa48a9839ddf467c06fab392 SHA512 01bf86e9c8fd1b9e1d514edca46992609eb8789fe95ea914914ef4fc43c7b3f0fcaffaa712bb5c72e3936679b44749837b0ba73c2b62c1b0bc52f318fcc8e31f diff --git a/app-text/paperwork-backend/metadata.xml b/app-text/paperwork-backend/metadata.xml index f6e9749123d3..20c7c0afde7f 100644 --- a/app-text/paperwork-backend/metadata.xml +++ b/app-text/paperwork-backend/metadata.xml @@ -6,6 +6,7 @@ <name>Bernard Cafarelli</name> </maintainer> <upstream> + <remote-id type="gnome-gitlab">World/OpenPaperwork</remote-id> <remote-id type="pypi">paperwork-backend</remote-id> </upstream> </pkgmetadata> diff --git a/app-text/paperwork-backend/paperwork-backend-2.1.0.ebuild b/app-text/paperwork-backend/paperwork-backend-2.1.2.ebuild index c17ccf43fd48..a9afa9ad51d7 100644 --- a/app-text/paperwork-backend/paperwork-backend-2.1.0.ebuild +++ b/app-text/paperwork-backend/paperwork-backend-2.1.2.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_SETUPTOOLS=bdepend -PYTHON_COMPAT=( python3_{9..10} ) + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 @@ -14,9 +15,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,5 +31,21 @@ 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 + +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 +} |