dev-ada/e3-core: add 22.10.0

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-12-19 08:38:20 +01:00
parent f2128a6e11
commit eb8070e011
2 changed files with 78 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST e3-core-22.10.0.tar.gz 805122 BLAKE2B e13446ca91045aa618caee15c5d86872f07b49010033b47df88900bce84c28e7a83246f48cc82695bc46ece5a15bdc9bb8fa309b19efbc793855acc0bcb4053a SHA512 6c4e7119cab4de99eeefaf6e703c46b7773db82ae32982485393edfcdd9ee4643d370c5382ef21bfebb1c9da202694151a68a6890b7b1eea3a269c1934b62481
DIST e3-core-22.6.0.tar.gz 558104 BLAKE2B 95cc2a6d1c8570a3a0efa91676b4b1c2eac17b58e570084218e264ce36eb9662b0d7ef713afe01d4081db84d7416af608434be23179af6b7953b13400a9225ad SHA512 66707dc2d6d38f32e511587053b9c2f2457e0516ee4c98e06077abe596b77bb7c20a3a43c966f22e7f0339c6d15905649e237035e1abb012b4d5eb533f852f88
DIST e3-core-22.8.0.tar.gz 796919 BLAKE2B 41a34fa7c29ffe6eca72f42ee8152fdc5a946a26567a6b39309c36b4de3c1584359499e3d008c746500602cefc9005411d312147442311ca671a8c006d5705ba SHA512 c0b330005588b7e8989c4384f7f3ebc3f03f0bd6fe7cd2ab116b7f9743b9df86465e92898b6494dafcb0c5059fd89358efec51bbd697f991bd77c6c8c805d919

View File

@@ -0,0 +1,77 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 toolchain-funcs
DESCRIPTION="Ease the development of portable automated build systems"
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 ~arm64 ~x86"
RDEPEND="
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests-toolbelt[${PYTHON_USEDEP}]
dev-python/resolvelib[${PYTHON_USEDEP}]
dev-python/stevedore[${PYTHON_USEDEP}]
dev-python/tomlkit[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
!app-editors/e3"
DEPEND="${RDEPEND}"
BDEPEND="test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/ptyprocess[${PYTHON_USEDEP}]
dev-python/pytest-socket[${PYTHON_USEDEP}]
dev-python/requests-mock[${PYTHON_USEDEP}]
dev-python/requests-cache[${PYTHON_USEDEP}]
dev-vcs/subversion
)"
distutils_enable_tests pytest
distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/sphinx-autoapi
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
src_compile() {
local PLATFORM
if use amd64; then
PLATFORM=x86_64
elif use x86; then
PLATFORM=x86
elif use arm64; then
PLATFORM=aarch64
else
die "Not a recognized platform"
fi
PLATFORM+="-linux"
rm src/e3/os/data/rlimit* || die
$(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} \
tools/rlimit/rlimit.c ${LDFLAGS}
distutils-r1_src_compile
}
src_test() {
local EPYTEST_IGNORE=(
tests/tests_e3/python/main_test.py
)
local EPYTEST_DESELECT=(
tests/tests_e3/cve/cve_test.py::test_nvd_cve_search
tests/tests_e3/anod/spec_test.py::test_spec_check_dll_closure[arguments0-expected0]
)
distutils-r1_src_test
}