diff options
Diffstat (limited to 'dev-ada/e3-testsuite/e3-testsuite-26.0.ebuild')
-rw-r--r-- | dev-ada/e3-testsuite/e3-testsuite-26.0.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-ada/e3-testsuite/e3-testsuite-26.0.ebuild b/dev-ada/e3-testsuite/e3-testsuite-26.0.ebuild new file mode 100644 index 000000000000..709ac37cb7d4 --- /dev/null +++ b/dev-ada/e3-testsuite/e3-testsuite-26.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Generic testsuite framework in Python" +HOMEPAGE="https://www.adacore.com/" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="!test? ( test )" + +RDEPEND="dev-ada/e3-core[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} |