summaryrefslogtreecommitdiff
path: root/dev-python/odfdo/odfdo-3.18.2.ebuild
blob: 5dddcf0b23fc68d89e58b763647f3ff8817be0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=uv-build
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1

DESCRIPTION="Python library for OpenDocument format (ODF)"
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/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 )