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.4, Repoman-3.0.1 Signed-off-by: Matthew Thode <[email protected]>
- Loading branch information
1 parent
ff410b9
commit cc3b579
Showing
2 changed files
with
70 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,2 +1,3 @@ | ||
DIST ansible-2.10.0.tar.gz 25454980 BLAKE2B 91f930518b90b36aa2c21f553092233059fada86fd1674c9c6e881484b1bd4e68a3eaa05d82e15115906e55da99c43394c3de36a898e26bb222f780b82f8a5bd SHA512 878036f06e1705e4392223bda210b2acae0232069d0cec02a47f13f6b3bc6c9538fb515a2d2dc6003695bcf0915fdd3dfc5b8dc59355e37e2ca8fa48bbd79657 | ||
DIST ansible-2.9.13.tar.gz 14261322 BLAKE2B 5de939a99cd703eaf240f536a9a4b707e3931364647782dde2bbebd5b755253594cbb1cf8c4e9f22a14fca85c9f018ee6ea26bce1cbe2145ba72e5f5ec313670 SHA512 cb08adf62df0f3650425a5d960baadd7439c7c1e95b8f9df3d08e7504f9622b9e5f7104b8700b0f1e9fe318d349a6a5728e9178f0193fb4a190456e30a2f1eb2 | ||
DIST ansible-2.9.14.tar.gz 14272261 BLAKE2B d0d631d5e3382361e1781008d3189aae028c45cdfcf8c4d19838388751da0770dc65ea186f935d6183367dea306142d4629ef01ac855676960dceb182eab875a SHA512 1c69970629619814c02ff10e9d857d36ddc3ab6b4ff3f4e66fb0ea0b9a2fd5bc2de2c9d550427bcf3c9387d9e0138aff100c9fc1b92838871d7d8fe8a5cca8bd |
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,69 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
PYTHON_COMPAT=( python3_{6,7} ) | ||
DISTUTILS_USE_SETUPTOOLS=rdepend | ||
|
||
inherit distutils-r1 eutils | ||
|
||
DESCRIPTION="Model-driven deployment, config management, and command execution framework" | ||
HOMEPAGE="https://ansible.com/" | ||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos" | ||
IUSE="doc 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}] | ||
net-misc/sshpass | ||
virtual/ssh | ||
!app-admin/ansible-base | ||
" | ||
DEPEND=" | ||
!app-admin/ansible-base | ||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}] | ||
doc? ( | ||
dev-python/sphinx[${PYTHON_USEDEP}] | ||
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}] | ||
>=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] | ||
) | ||
test? ( | ||
${RDEPEND} | ||
dev-python/nose[${PYTHON_USEDEP}] | ||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}] | ||
dev-python/passlib[${PYTHON_USEDEP}] | ||
dev-python/coverage[${PYTHON_USEDEP}] | ||
dev-python/unittest2[${PYTHON_USEDEP}] | ||
dev-vcs/git | ||
)" | ||
|
||
python_compile_all() { | ||
if use doc; then | ||
cd docs/docsite || die | ||
export CPUS=4 | ||
emake -f Makefile.sphinx html | ||
fi | ||
} | ||
|
||
python_test() { | ||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die | ||
} | ||
|
||
python_install_all() { | ||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. ) | ||
distutils-r1_python_install_all | ||
|
||
dodoc -r examples | ||
} |