Skip to content

Commit

Permalink
app-admin/ansible: move the live ebuild to ansible-base
Browse files Browse the repository at this point in the history
This is what the upstream GitHub repo has been since the introduction
of collections (which have their own, separate repos in the organisation
"ansible-collections").

Signed-off-by: Marek Szuba <[email protected]>
  • Loading branch information
Marek Szuba committed Jun 15, 2021
1 parent 7912e5b commit 36062e1
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@

EAPI=7

PYTHON_COMPAT=( python3_{7..9} )
PYTHON_COMPAT=( python3_{8..9} )
DISTUTILS_USE_SETUPTOOLS=bdepend

inherit distutils-r1

DESCRIPTION="Model-driven deployment, config management, and command execution framework"
HOMEPAGE="https://ansible.com/"
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
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
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 ~x86 ~x64-macos"
S="${WORKDIR}"/${MY_P}
fi

LICENSE="GPL-3"
Expand All @@ -34,12 +37,11 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
dev-python/resolvelib[${PYTHON_USEDEP}]
net-misc/sshpass
virtual/ssh
!app-admin/ansible-base
"
DEPEND="
!app-admin/ansible-base
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
test? (
${RDEPEND}
Expand Down

0 comments on commit 36062e1

Please sign in to comment.