2022-07-05 10:29:02 +02:00
|
|
|
# Copyright 2021-2022 Gentoo Authors
|
2021-09-22 11:42:22 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2023-03-17 15:03:38 +01:00
|
|
|
PYTHON_COMPAT=( python3_{9..11} )
|
2021-09-22 11:42:22 +02:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Python Client for eAPI"
|
|
|
|
HOMEPAGE="https://pypi.org/project/pyeapi/
|
|
|
|
https://github.com/arista-eosplus/pyeapi"
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
|
|
|
DEPEND="
|
2023-03-10 13:02:42 +01:00
|
|
|
doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
|
2021-09-22 11:42:22 +02:00
|
|
|
dev-python/netaddr[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
2021-09-22 15:51:10 +02:00
|
|
|
|
2022-07-05 10:29:02 +02:00
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}/${P}-doc-napoleon.patch"
|
|
|
|
)
|
|
|
|
|
2021-09-22 15:51:10 +02:00
|
|
|
distutils_enable_sphinx docs
|