SwordArMor-gentoo-overlay/dev-python/pyeapi/pyeapi-0.8.4.ebuild
Alarig Le Lay d2bb67f1b6
dev-python/pyeapi: Switching napoleon to native sphinx
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
2022-07-05 10:29:02 +02:00

30 lines
616 B
Bash

# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
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="
doc? ( dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )
dev-python/netaddr[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
BDEPEND=""
PATCHES=(
"${FILESDIR}/${P}-doc-napoleon.patch"
)
distutils_enable_sphinx docs