Files
gentoo/dev-python/yaxmldiff/yaxmldiff-0.1.0.ebuild
Arthur Zamarin bdb62f7af6 dev-python/yaxmldiff: enable py3.12
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-05-27 22:31:55 +03:00

35 lines
736 B
Bash

# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Yet Another XML Differ"
HOMEPAGE="
https://pypi.org/project/yaxmldiff/
https://github.com/latk/yaxmldiff.py
"
SRC_URI="https://github.com/latk/${PN}.py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}.py-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~loong ~x86"
RDEPEND="
dev-python/lxml[${PYTHON_USEDEP}]
"
# no tests currently
RESTRICT="test"
distutils_enable_tests pytest
python_prepare_all() {
sed -i '/license_file/ d' setup.cfg || die
distutils-r1_python_prepare_all
}