summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-26 09:28:25 +0100
committerMichał Górny <mgorny@gentoo.org>2021-03-26 10:41:27 +0100
commitbb415c24e54982e01005448a29442e62099354a9 (patch)
treecc4aa402805c4102fe630db0d0b7f9354839b4a7 /dev-python/click
parentpackage.mask: Last rite dev-python/elasticsearch-curator (diff)
downloadgentoo-bb415c24e54982e01005448a29442e62099354a9.tar.gz
gentoo-bb415c24e54982e01005448a29442e62099354a9.tar.bz2
gentoo-bb415c24e54982e01005448a29442e62099354a9.zip
dev-python/click: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/click')
-rw-r--r--dev-python/click/Manifest1
-rw-r--r--dev-python/click/click-6.7-r2.ebuild31
-rw-r--r--dev-python/click/click-6.7-r3.ebuild38
-rw-r--r--dev-python/click/files/click-6.7-fix-tests.patch65
-rw-r--r--dev-python/click/files/click-6.7-support-sphinx-1.7.patch44
5 files changed, 0 insertions, 179 deletions
diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest
index 4b245a92bcef..a1e3db9c7a82 100644
--- a/dev-python/click/Manifest
+++ b/dev-python/click/Manifest
@@ -1,2 +1 @@
-DIST click-6.7.tar.gz 279019 BLAKE2B cc1e59d0a34ccb4ce50c8a2982b308d23cd525ceb44d84a493c0fe9b5a6f7f616e8a4c440ae211fca811a2bf904ddb75d93618f3c6ac7bbe6b1ed022710dab1f SHA512 d454369fe1acb01c2210a61e15f45ac9cc77102c93345257f4ef3090bd8f31f1ccc49d9fd6ea670cddca9f715ad5db29368b4eecd95abff50d1033c4f7a967d6
DIST click-7.1.2.tar.gz 295757 BLAKE2B aea76d5378cfa49fe58a83132737d609d48b3d3a71ec65c0a8a144c7a0e244b5bdf0196ffe2150889b82edda20c3f1faa3c84a227fc9ef459a5a9646cff86129 SHA512 d0caf2fb0a258774a18a7b8f83bdfa73abeb70196a70b45a6cc35befaeb862d068d2f2cce4e27201ab2e3adcd02e7e2f099d6c37c497a507010eefa10ad16eba
diff --git a/dev-python/click/click-6.7-r2.ebuild b/dev-python/click/click-6.7-r2.ebuild
deleted file mode 100644
index 4a02313d5fb2..000000000000
--- a/dev-python/click/click-6.7-r2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A Python package for creating beautiful command line interfaces"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-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="examples"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- # From upstream, can be removed in next release.
- "${FILESDIR}"/${PN}-6.7-fix-tests.patch
- # From upstream, can be removed in next release.
- "${FILESDIR}"/${PN}-6.7-support-sphinx-1.7.patch
-)
-
-python_install_all() {
- use examples && dodoc -r examples
- distutils-r1_python_install_all
-}
diff --git a/dev-python/click/click-6.7-r3.ebuild b/dev-python/click/click-6.7-r3.ebuild
deleted file mode 100644
index 6a6ff97cc066..000000000000
--- a/dev-python/click/click-6.7-r3.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A Python package for creating beautiful command line interfaces"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-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="examples test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-
-PATCHES=(
- # From upstream, can be removed in next release.
- "${FILESDIR}/${PN}-6.7-fix-tests.patch"
- # From upstream, can be removed in next release.
- "${FILESDIR}/${PN}-6.7-support-sphinx-1.7.patch"
-)
-
-python_test() {
- emake test
-}
-
-python_install_all() {
- use examples && dodoc -r examples
- distutils-r1_python_install_all
-}
diff --git a/dev-python/click/files/click-6.7-fix-tests.patch b/dev-python/click/files/click-6.7-fix-tests.patch
deleted file mode 100644
index 8a305e3665dd..000000000000
--- a/dev-python/click/files/click-6.7-fix-tests.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 20b4b1c0d1564ab4ef44b7d27d5b650735e28be3 Mon Sep 17 00:00:00 2001
-From: Armin Ronacher <armin.ronacher@active-4.com>
-Date: Sat, 23 Dec 2017 09:27:57 +0100
-Subject: [PATCH] Updated tests to work with newer pytest versions
-
----
- tests/test_basic.py | 2 +-
- tests/test_compat.py | 9 +++++----
- tests/test_options.py | 2 +-
- 3 files changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/tests/test_basic.py b/tests/test_basic.py
-index 045f608..960cd32 100644
---- a/tests/test_basic.py
-+++ b/tests/test_basic.py
-@@ -357,7 +357,7 @@ def test_required_option(runner):
- def test_evaluation_order(runner):
- called = []
-
-- def memo(ctx, value):
-+ def memo(ctx, param, value):
- called.append(value)
- return value
-
-diff --git a/tests/test_compat.py b/tests/test_compat.py
-index e4ecdc8..9dacc21 100644
---- a/tests/test_compat.py
-+++ b/tests/test_compat.py
-@@ -1,4 +1,5 @@
- import click
-+import pytest
-
-
- if click.__version__ >= '3.0':
-@@ -11,10 +12,10 @@ if click.__version__ >= '3.0':
- def cli(foo):
- click.echo(foo)
-
-- result = runner.invoke(cli, ['--foo', 'wat'])
-- assert result.exit_code == 0
-- assert 'WAT' in result.output
-- assert 'Invoked legacy parameter callback' in result.output
-+ with pytest.warns(Warning, match='Invoked legacy parameter callback'):
-+ result = runner.invoke(cli, ['--foo', 'wat'])
-+ assert result.exit_code == 0
-+ assert 'WAT' in result.output
-
-
- def test_bash_func_name():
-diff --git a/tests/test_options.py b/tests/test_options.py
-index 9dd8cdf..8bdda1f 100644
---- a/tests/test_options.py
-+++ b/tests/test_options.py
-@@ -199,7 +199,7 @@ def test_nargs_envvar(runner):
-
-
- def test_custom_validation(runner):
-- def validate_pos_int(ctx, value):
-+ def validate_pos_int(ctx, param, value):
- if value < 0:
- raise click.BadParameter('Value needs to be positive')
- return value
---
-2.16.4
-
diff --git a/dev-python/click/files/click-6.7-support-sphinx-1.7.patch b/dev-python/click/files/click-6.7-support-sphinx-1.7.patch
deleted file mode 100644
index 1076c2decad1..000000000000
--- a/dev-python/click/files/click-6.7-support-sphinx-1.7.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 2c7929511114494350e26d7b0c790fb8ca82f605 Mon Sep 17 00:00:00 2001
-From: Daw-Ran Liou <dawran6@gmail.com>
-Date: Mon, 14 May 2018 13:34:23 -0400
-Subject: [PATCH] Support Sphinx 1.7+
-
-Move: from sphinx.util.compat import Directive
-To: from docutils.parsers.rst import Directive
----
- docs/clickdoctools.py | 2 +-
- setup.py | 5 +++++
- 2 files changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/docs/clickdoctools.py b/docs/clickdoctools.py
-index c3db195..1dd47d3 100644
---- a/docs/clickdoctools.py
-+++ b/docs/clickdoctools.py
-@@ -15,7 +15,7 @@ from docutils import nodes
- from docutils.statemachine import ViewList
-
- from sphinx.domains import Domain
--from sphinx.util.compat import Directive
-+from docutils.parsers.rst import Directive
-
- PY2 = sys.version_info[0] == 2
-
-diff --git a/setup.py b/setup.py
-index b78403e..f1bcdcf 100644
---- a/setup.py
-+++ b/setup.py
-@@ -24,6 +24,11 @@ setup(
- maintainer_email='contact@palletsprojects.com',
- long_description=readme,
- packages=['click'],
-+ extras_require={
-+ 'docs': [
-+ 'sphinx',
-+ ],
-+ },
- description='A simple wrapper around optparse for '
- 'powerful command line utilities.',
- license='BSD',
---
-2.16.4
-