Files
guru/dev-python/backrefs/backrefs-4.3.0.ebuild
T
Alessandro Barbieri d79be9d36b dev-python/backrefs: bdepend for docs
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2020-03-27 18:13:38 +01:00

45 lines
831 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
#DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="
Wrapper around re or regex that adds additional back references"
HOMEPAGE="
https://github.com/facelessuser/backrefs
https://pypi.org/project/backrefs
"
SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=""
DEPEND="
${RDEPEND}
test? (
dev-python/mock[${PYTHON_USEDEP}]
)
"
BDEPEND="
doc? (
>=dev-python/mkdocs-material-2.2.5[${PYTHON_USEDEP}]
dev-python/pyspelling[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_compile_all() {
use doc && mkdocs build || die
#TODO: install docs
default
}