diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 19:38:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 19:38:57 +0100 |
commit | c650f7cf611feaa59620fd8626e78108fa3b5e51 (patch) | |
tree | 31eba3ef4db85c7cef7cfb89ee87c81e732928a9 /dev-ada/e3-core/e3-core-22.1.0-r1.ebuild | |
parent | 59970d0b9cd0a564851f255aebb29a9f76e39c19 (diff) |
gentoo auto-resync : 11:10:2022 - 19:38:57
Diffstat (limited to 'dev-ada/e3-core/e3-core-22.1.0-r1.ebuild')
-rw-r--r-- | dev-ada/e3-core/e3-core-22.1.0-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-ada/e3-core/e3-core-22.1.0-r1.ebuild b/dev-ada/e3-core/e3-core-22.1.0-r1.ebuild new file mode 100644 index 000000000000..0007c62282fe --- /dev/null +++ b/dev-ada/e3-core/e3-core-22.1.0-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10} ) +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 ~x86" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/colorama[${PYTHON_USEDEP}] + dev-python/stevedore[${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + !app-editors/e3" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-python/httpretty[${PYTHON_USEDEP}] + dev-vcs/subversion + dev-python/mock[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${P}-distro.patch + "${FILESDIR}"/${P}-test.patch +) + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +src_compile() { + local PLATFORM=x86_64-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 +} |