public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/click/
Date: Sun, 20 Sep 2020 10:24:16 +0000 (UTC)	[thread overview]
Message-ID: <1600597447.177b7b46f24e03cd4183c54160774c1f88522fe0.mgorny@gentoo> (raw)

commit:     177b7b46f24e03cd4183c54160774c1f88522fe0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 10:16:25 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 10:24:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=177b7b46

dev-python/click: Remove python2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{click-6.7-r1.ebuild => click-6.7-r2.ebuild}   | 24 +++-------------------
 .../{click-7.1.2.ebuild => click-7.1.2-r1.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
similarity index 60%
rename from dev-python/click/click-6.7-r1.ebuild
rename to dev-python/click/click-6.7-r2.ebuild
index 4da283791c9..d74a3ed19c0 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_{6,7} pypy3 )
+PYTHON_COMPAT=( python3_{6,7} 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
similarity index 93%
rename from dev-python/click/click-7.1.2.ebuild
rename to dev-python/click/click-7.1.2-r1.ebuild
index 803bc15a989..9b40761fda0 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=( python{2_7,3_{6,7,8,9}} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1
 


             reply	other threads:[~2020-09-20 10:24 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 10:24 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-17  4:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/click/ Michał Górny
2023-09-16 22:58 Sam James
2023-08-17 18:55 Michał Górny
2023-08-11 19:10 Michał Górny
2023-08-11 19:06 Arthur Zamarin
2023-07-19  6:57 Michał Górny
2023-07-14  5:33 Michał Górny
2023-07-07  3:15 Michał Górny
2023-05-27 17:45 Sam James
2022-05-31  7:22 Michał Górny
2022-05-31  7:08 Jakov Smolić
2022-05-11 17:54 Michał Górny
2022-05-08 12:44 Michał Górny
2022-05-01 12:56 Michał Górny
2022-04-28 18:48 Michał Górny
2022-04-26 20:28 Michał Górny
2022-04-01  7:11 Arthur Zamarin
2022-03-31 11:33 Michał Górny
2022-03-29  8:33 Michał Górny
2022-03-26 18:14 Arthur Zamarin
2022-03-26 17:36 Arthur Zamarin
2022-02-19  0:05 Michał Górny
2021-12-09 22:39 Michał Górny
2021-12-09 21:24 Sam James
2021-11-09 14:01 Michał Górny
2021-11-09 10:38 Michał Górny
2021-10-11  7:56 Michał Górny
2021-10-09  7:08 Michał Górny
2021-09-26 22:36 James Le Cuirot
2021-09-18 15:48 Arthur Zamarin
2021-08-28  8:16 Arthur Zamarin
2021-06-17 23:22 Sam James
2021-06-14 22:30 Michał Górny
2021-06-14 22:18 Sam James
2021-05-20  7:25 Michał Górny
2021-05-12  8:37 Michał Górny
2021-05-07 10:33 Michał Górny
2021-03-09  9:44 Sam James
2021-02-21 13:20 David Seifert
2020-11-28  8:27 Sam James
2020-07-08 13:08 Michał Górny
2020-07-08  7:18 Sergei Trofimovich
2020-07-08  7:11 Sergei Trofimovich
2020-07-02 17:05 Sergei Trofimovich
2020-05-26 10:42 Michał Górny
2020-05-26 10:35 Michał Górny
2020-03-07 11:06 Agostino Sarubbo
2020-03-07 11:03 Agostino Sarubbo
2020-03-07 10:58 Agostino Sarubbo
2020-03-07 10:54 Agostino Sarubbo
2020-03-07 10:50 Agostino Sarubbo
2020-03-07  9:44 Agostino Sarubbo
2020-03-07  8:59 Agostino Sarubbo
2019-12-07 23:07 Matt Turner
2019-12-03  3:02 Aaron Bauman
2019-11-25 12:35 Michał Górny
2019-11-22  7:30 Patrick McLean
2019-08-15 18:51 Sergei Trofimovich
2019-05-31  6:54 Sergei Trofimovich
2019-05-02 22:02 Mikle Kolyada
2019-04-14  2:05 Aaron Bauman
2019-03-26 18:52 Aaron Bauman
2019-03-04  1:35 Thomas Deutschmann
2019-01-04 23:10 Mikle Kolyada
2019-01-03 19:30 Sergei Trofimovich
2018-11-26 19:44 Mikle Kolyada
2018-11-07 23:03 Sergei Trofimovich
2018-10-27 18:46 Sergei Trofimovich
2018-10-18 20:02 Michał Górny
2018-08-30 15:48 Virgil Dupras
2018-08-21  2:11 Virgil Dupras
2018-08-13 12:45 Virgil Dupras
2018-08-13 12:01 Virgil Dupras
2018-06-14 14:11 Alexey Shvetsov
2018-04-14 20:36 Mart Raudsepp
2018-01-03  7:38 Sergei Trofimovich
2017-11-24  6:15 Markus Meier
2017-11-19 19:16 Sergei Trofimovich
2017-11-13  7:54 Sergei Trofimovich
2017-11-12 18:33 Sergei Trofimovich
2017-10-30  0:06 Manuel Rüger
2017-10-29 21:58 Sergei Trofimovich
2017-10-29 21:08 Thomas Deutschmann
2017-02-12 22:20 Zac Medico
2017-02-08 15:17 Manuel Rüger
2017-01-28 14:32 Mart Raudsepp
2016-09-20  0:46 Patrice Clement
2016-09-20  0:46 Patrice Clement
2016-07-17 21:03 Patrick Lauer
2016-05-26 11:58 Tobias Klausmann
2016-04-05 21:07 Manuel Rüger
2016-03-18  6:08 Markus Meier
2016-03-15 15:27 Agostino Sarubbo
2016-02-27 13:38 Jeroen Roovers
2016-02-24  8:44 Justin Lecher
2016-02-23  9:22 Justin Lecher
2016-01-25  8:31 Justin Lecher
2015-11-28  9:28 Justin Lecher
2015-11-27 14:10 Justin Lecher
2015-11-23  6:44 Jeroen Roovers
2015-11-22  8:19 Markus Meier
2015-10-14 13:40 Justin Lecher
2015-10-11 11:25 Justin Lecher
2015-10-01 18:48 Manuel Rüger
2015-09-20  9:33 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1600597447.177b7b46f24e03cd4183c54160774c1f88522fe0.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox