Files
guru/dev-python/bracex/bracex-2.0.0.ebuild
Andrew Ammerlaan 2876188f58 dev-python/bracex: fix doc
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2020-03-28 12:00:13 +01:00

40 lines
750 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Bash style brace expansion for Python"
HOMEPAGE="
https://github.com/facelessuser/bracex
https://pypi.org/project/bracex
"
SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
BDEPEND="
doc? (
dev-python/mkdocs-git-revision-date-localized-plugin
dev-python/mkdocs_pymdownx_material_extras
dev-python/pyspelling
)
"
distutils_enable_tests pytest
python_compile_all() {
default
if use doc; then
mkdocs build || die "failed to make docs"
HTML_DOCS="site"
fi
}