aboutsummaryrefslogtreecommitdiffstats
path: root/net-misc/gandi-cli/gandi-cli-1.6.ebuild
blob: a9234ef680d38e0c0b77a3a85fe37998d0a4d012 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} pypy )

inherit distutils-r1

MY_PN="${PN//-/.}"
DESCRIPTION="CLI to easily create and manage web resources for your Gandi account."
HOMEPAGE="https://github.com/Gandi/gandi.cli"
SRC_URI="https://github.com/Gandi/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
REQUIRED_USE="
	${PYTHON_REQUIRED_USE}
"

RDEPEND="
	${PYTHON_DEPS}
	>=dev-python/click-7
	dev-python/requests
	dev-python/pyyaml
	dev-python/ipy
	dev-python/namespace-gandi
"

DEPEND="dev-python/namespace-gandi"

RESTRICT="mirror"

S=${WORKDIR}/${MY_PN}-${PV}

python_install_all() {
	distutils-r1_python_install_all
	find "${ED}" -name '*.pth' -delete || die
}