diff options
Diffstat (limited to 'dev-python/click')
| -rw-r--r-- | dev-python/click/click-6.7-r2.ebuild (renamed from dev-python/click/click-6.7-r1.ebuild) | 24 | ||||
| -rw-r--r-- | dev-python/click/click-7.1.2-r1.ebuild (renamed from dev-python/click/click-7.1.2.ebuild) | 2 |
2 files changed, 4 insertions, 22 deletions
diff --git a/dev-python/click/click-6.7-r1.ebuild b/dev-python/click/click-6.7-r2.ebuild index 53a02fc994ea..e1fb02292d0f 100644 --- a/dev-python/click/click-6.7-r1.ebuild +++ b/dev-python/click/click-6.7-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) inherit distutils-r1 @@ -14,15 +14,12 @@ HOMEPAGE="https://palletsprojects.com/p/click/ https://pypi.org/project/click/" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="doc examples test" +IUSE="examples test" RESTRICT="!test? ( test )" -REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" - DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" PATCHES=( # From upstream, can be removed in next release. @@ -31,26 +28,11 @@ PATCHES=( "${FILESDIR}/${PN}-6.7-support-sphinx-1.7.patch" ) -pkg_setup() { - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) -} - -python_prepare_all() { - # Prevent un-needed d'loading - sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - python_test() { emake test } python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) use examples && dodoc -r examples distutils-r1_python_install_all } diff --git a/dev-python/click/click-7.1.2.ebuild b/dev-python/click/click-7.1.2-r1.ebuild index 5f8ebf81ce29..ff42cdf87361 100644 --- a/dev-python/click/click-7.1.2.ebuild +++ b/dev-python/click/click-7.1.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) inherit distutils-r1 |
