commit:     4930210f903c9aacf7516f19aab6f21b7e86e5a9
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Jan 14 10:06:44 2025 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Jan 14 10:13:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4930210f

dev-python/odsparsator: fix RDEPEND and enable tests

Add gh suffix to distfile, which causes a Manifest change.

Closes: https://bugs.gentoo.org/944085
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-python/odsparsator/Manifest                           |  2 +-
 ...ator-1.12.1-r1.ebuild => odsparsator-1.12.1-r2.ebuild} | 15 +++++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/dev-python/odsparsator/Manifest b/dev-python/odsparsator/Manifest
index 8c9168de0..ef6d646f8 100644
--- a/dev-python/odsparsator/Manifest
+++ b/dev-python/odsparsator/Manifest
@@ -1 +1 @@
-DIST odsparsator-1.12.1.tar.gz 167385 BLAKE2B 
278236054b9dbf94c93757517e0d577c25e034b58332838c487c096b14382c92fa50eec4fcfcf5aba7ad2540939f26b0a558c3b6a090d53ba0c2a39f74173871
 SHA512 
c3c9abd8634f71826291a3a6f3b1684141c40932a8a77b01e48ef1205dfdac2863710c776c4000ff5b038960c41fa692ac67f9888dbf9e43e1405d166a1ac669
+DIST odsparsator-1.12.1.gh.tar.gz 167385 BLAKE2B 
278236054b9dbf94c93757517e0d577c25e034b58332838c487c096b14382c92fa50eec4fcfcf5aba7ad2540939f26b0a558c3b6a090d53ba0c2a39f74173871
 SHA512 
c3c9abd8634f71826291a3a6f3b1684141c40932a8a77b01e48ef1205dfdac2863710c776c4000ff5b038960c41fa692ac67f9888dbf9e43e1405d166a1ac669

diff --git a/dev-python/odsparsator/odsparsator-1.12.1-r1.ebuild 
b/dev-python/odsparsator/odsparsator-1.12.1-r2.ebuild
similarity index 59%
rename from dev-python/odsparsator/odsparsator-1.12.1-r1.ebuild
rename to dev-python/odsparsator/odsparsator-1.12.1-r2.ebuild
index 189f72666..6760d516d 100644
--- a/dev-python/odsparsator/odsparsator-1.12.1-r1.ebuild
+++ b/dev-python/odsparsator/odsparsator-1.12.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 2024-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -9,13 +9,16 @@ PYTHON_COMPAT=( python3_{12..13} )
 inherit distutils-r1
 
 DESCRIPTION="Generate a JSON file from an OpenDocument Format .ods file."
-HOMEPAGE="https://github.com/jdum/odsparsator";
-SRC_URI="https://github.com/jdum/odsparsator/archive/refs/tags/v${PV}.tar.gz 
-> odsparsator-${PV}.tar.gz"
+HOMEPAGE="
+       https://github.com/jdum/odsparsator
+       https://pypi.org/project/odsparsator/
+"
+SRC_URI="https://github.com/jdum/odsparsator/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.gh.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-RDEPEND="
-       >=dev-python/poetry-core-1.9.1
-"
+RDEPEND="dev-python/odfdo[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest

Reply via email to