mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/sphinxcontrib-issuetracker: Add py3.6
* Port to EAPI 6 Bug: https://bugs.gentoo.org/show_bug.cgi?id=612244 Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -13,11 +14,11 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
|
||||
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=">=dev-python/requests-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
>=dev-python/requests-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
@@ -39,17 +40,17 @@ python_prepare_all() {
|
||||
-e "s:^ 'sphinx':#:" \
|
||||
-i doc/conf.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
if use doc; then
|
||||
emake -C doc html
|
||||
HTML_DOCS=( doc/_build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user