Files
guru/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3.ebuild
Alessandro Barbieri 90ffae5e70 dev-python/sphinxcontrib-restbuilder: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-07-04 01:55:45 +02:00

30 lines
725 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="A Sphinx builder/writer to output reStructuredText (rst) files"
HOMEPAGE="
https://github.com/sphinx-contrib/restbuilder
https://pypi.org/project/sphinxcontrib-restbuilder
"
SRC_URI="https://github.com/sphinx-contrib/restbuilder/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P/sphinxcontrib-/}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
python_install_all() {
distutils-r1_python_install_all
find "${ED}" -name '*.pth' -delete || die
}