forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Matthew Thode <[email protected]>
- Loading branch information
1 parent
cab1c3c
commit 46bb7e6
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST ansible-core-2.11.7.tar.gz 7108269 BLAKE2B c5080161bfffc34382db86f3940dbbf1c8194a4413b20ef28b3c15503aec905acfffc864041496b4f6b4b77966fee3221b80e90d4b952e38513ba9ce506ee1ae SHA512 f37c925c5302eff30d17f52a04d4a5311e38ee5c1d6db4fbdb32970afa362e0522d6ec3d07bddf40137b2f5ec5fa03a2b72e7e1ed313c28c207f65490e49af92 | ||
DIST ansible-core-2.12.3.tar.gz 7757271 BLAKE2B 02c8c2c09b778de9775384471f0b485237a8074468d437d41a6879e85769444c91ed4571e17de9aa4024fb2b6c29b4e90b4c31b6714d633ef7028e9711f5ecf3 SHA512 dedac2546881442f5e904c485bdc464d0ced847520879fd10c2454a2055ada4d051416d450f01ae5a1e2f5073f1633cb4db5265855199bb32c0acb41092d6f05 | ||
DIST ansible-core-2.12.4.tar.gz 7756536 BLAKE2B f2820db0c8a3b618b8dc37670709185ed26d21dc96bb3e8ea34a011d8f2c006ca541a74cd4196ea5cf8d420f9f57efc1bc256a76320b860c1b3a8e3f4304163f SHA512 a196a4f75834b5951330a1ea201aca41581c88a3cedbdd1c9e00acd5d3f06b4fd1948ddb2acea32bc2b758587baf9bd75572d150d6d47a3a957f5d8c4fc06d2f | ||
DIST ansible-core-2.12.5.tar.gz 7757691 BLAKE2B 04be15e932221dfbc8435c703efe3803d4de5f1f94b3205c220f4ea105ffd703df5dff680a4812f1230b77f21ee78b9f6b1020122442aac333aa26304d4d62c0 SHA512 795001257d8b2ffdca00c13a018ebfc822c11f1d8a0eb83df30a1670c19bdc995325da1c87414b672a4fcf8bf57215ff8b7a7b85325ad561d5123c549b18dbe9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Copyright 1999-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
PYTHON_COMPAT=( python3_{8..10} ) | ||
DISTUTILS_USE_SETUPTOOLS=bdepend | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Model-driven deployment, config management, and command execution framework" | ||
HOMEPAGE="https://www.ansible.com/" | ||
|
||
if [[ ${PV} == 9999 ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/ansible/ansible.git" | ||
EGIT_BRANCH="devel" | ||
else | ||
MY_PN="${PN/-base/-core}" | ||
MY_P="${MY_PN}-${PV}" | ||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos" | ||
S="${WORKDIR}"/${MY_P} | ||
fi | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
IUSE="test" | ||
RESTRICT="test" | ||
|
||
RDEPEND=" | ||
dev-python/paramiko[${PYTHON_USEDEP}] | ||
dev-python/jinja[${PYTHON_USEDEP}] | ||
dev-python/pyyaml[${PYTHON_USEDEP}] | ||
dev-python/cryptography[${PYTHON_USEDEP}] | ||
dev-python/httplib2[${PYTHON_USEDEP}] | ||
dev-python/six[${PYTHON_USEDEP}] | ||
dev-python/netaddr[${PYTHON_USEDEP}] | ||
dev-python/pexpect[${PYTHON_USEDEP}] | ||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}] | ||
<dev-python/resolvelib-0.6.0[${PYTHON_USEDEP}] | ||
net-misc/sshpass | ||
virtual/ssh | ||
" | ||
DEPEND=" | ||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}] | ||
test? ( | ||
${RDEPEND} | ||
dev-python/bcrypt[${PYTHON_USEDEP}] | ||
dev-python/nose[${PYTHON_USEDEP}] | ||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}] | ||
dev-python/passlib[${PYTHON_USEDEP}] | ||
dev-python/coverage[${PYTHON_USEDEP}] | ||
dev-vcs/git | ||
)" | ||
|
||
python_compile() { | ||
export ANSIBLE_SKIP_CONFLICT_CHECK=1 | ||
distutils-r1_python_compile | ||
} | ||
|
||
python_test() { | ||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die | ||
} |