mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 04:37:06 -08:00
Rewrite doc and test phases to use distutils_enable_sphinx and distutils_enable_tests. Closes: https://bugs.gentoo.org/718636 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
28 lines
588 B
Bash
28 lines
588 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} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="doit tasks for python stuff"
|
|
HOMEPAGE="https://pythonhosted.org/doit-py/"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="
|
|
test? (
|
|
dev-python/pyflakes[${PYTHON_USEDEP}]
|
|
dev-python/coverage[${PYTHON_USEDEP}]
|
|
app-text/hunspell
|
|
)"
|
|
RDEPEND="
|
|
dev-python/configclass[${PYTHON_USEDEP}]"
|
|
|
|
distutils_enable_sphinx doc
|
|
distutils_enable_tests pytest
|