dev-python/odfdo: fix RDEPEND and enable tests

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

Closes: https://bugs.gentoo.org/944083
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2025-01-14 10:36:50 +01:00
parent 24c39486a3
commit 2bc25a732e
2 changed files with 13 additions and 7 deletions

View File

@@ -1 +1 @@
DIST odfdo-3.9.4.tar.gz 3857824 BLAKE2B a218e3f23470505fc8c089e33803958f6a59e9ebc70b1c7db243b83eb69a94469fec614f733b0826d935c491f12ccb37b3724ea1436bfc133e883773abe45099 SHA512 a8fe196c7eeb062d89b4f84fa04a1bec7d53b85637007ddae5a7e0655221a666c54bbfb0cc27de4858f58217e50b8a98a1fb90bea09fe356f428aaebb984a4ee
DIST odfdo-3.9.4.gh.tar.gz 3857824 BLAKE2B a218e3f23470505fc8c089e33803958f6a59e9ebc70b1c7db243b83eb69a94469fec614f733b0826d935c491f12ccb37b3724ea1436bfc133e883773abe45099 SHA512 a8fe196c7eeb062d89b4f84fa04a1bec7d53b85637007ddae5a7e0655221a666c54bbfb0cc27de4858f58217e50b8a98a1fb90bea09fe356f428aaebb984a4ee

View File

@@ -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,19 @@ PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1
DESCRIPTION="Python library for OpenDocument format (ODF)"
HOMEPAGE="https://github.com/jdum/odfdo"
SRC_URI="https://github.com/jdum/odfdo/archive/refs/tags/v${PV}.tar.gz -> odfdo-${PV}.tar.gz"
HOMEPAGE="
https://github.com/jdum/odfdo
https://pypi.org/project/odfdo/
"
SRC_URI="https://github.com/jdum/odfdo/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/poetry-core-1.9.1
"
RDEPEND=">=dev-python/lxml-5.3.0[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
# No need to test performance downstream
EPYTEST_DESELECT=( tests/test_performance.py::test_all_perf )