commit:     46889afcbac8a9d2682078d2bc8705c906824a10
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar 28 10:24:43 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 28 11:00:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46889afc

dev-python/backrefs: fix docs

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/backrefs/backrefs-4.3.0.ebuild | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/dev-python/backrefs/backrefs-4.3.0.ebuild 
b/dev-python/backrefs/backrefs-4.3.0.ebuild
index 3ca978f..15281ce 100644
--- a/dev-python/backrefs/backrefs-4.3.0.ebuild
+++ b/dev-python/backrefs/backrefs-4.3.0.ebuild
@@ -3,13 +3,11 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
-#DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 
-DESCRIPTION="
-Wrapper around re or regex that adds additional back references"
+DESCRIPTION="Wrapper around re or regex that adds additional back references"
 HOMEPAGE="
        https://github.com/facelessuser/backrefs
        https://pypi.org/project/backrefs
@@ -19,26 +17,27 @@ 
SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.
 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}]
+               >=dev-python/mkdocs-material-2.2.5
+               dev-python/pyspelling
        )
 "
 
 distutils_enable_tests pytest
 
 python_compile_all() {
-       use doc && mkdocs build || die
-       #TODO: install docs
        default
+       if use doc; then
+               mkdocs build || die "failed to make docs"
+               HTML_DOCS="site"
+       fi
 }

Reply via email to