remove old click-7.1.1

This commit is contained in:
Andreas Billmeier 2022-03-20 13:49:40 +01:00 committed by Andreas Billmeier
parent 04019ce82b
commit 73d30a7099
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
6 changed files with 2 additions and 155 deletions

View File

@ -496,14 +496,14 @@ From time to time a fresh compile test on empty boxes (one with Python 3.9 and o
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1706 Ebuilds in total, 1699 of them have in total 1707 (35 different) licenses assigned.
There are 1705 Ebuilds in total, 1698 of them have in total 1706 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1033|
|Apache-2.0|315|
|GPL-3|105|
|BSD|93|
|BSD|92|
|LGPL-3|27|
|GPL-2|22|
|LGPL-3+|17|

View File

@ -1,5 +0,0 @@
AUX click-6.7-fix-tests.patch 1971 BLAKE2B 67c0b66f8668851eb48899aab98b4437846f65cec5389957645f5dd637b6e2a0fc2934856815a85b958c8326a8c33bb1c97bdf963d1774173051eb3ea05c7096 SHA512 fb864761ae8bea93096b9d090eef9cecef7707751d58fa40f846aeccaa8f59e8e01af38f8f79624b94c6ad081b9a388bef287b33b7659bdbbc292f1ae87abda6
AUX click-6.7-support-sphinx-1.7.patch 1243 BLAKE2B d4939d49d43b50a3cddb77899ed2aae9ef6ede0941ca1e7e2d8d23d4f5afa0875df7d126adb498639839efb18790d021549018a355da3d4d71a77d4a6e80db79 SHA512 e497364ebf6243feb7281609d82ac73a73f1e399c1fcaf8a6c97a870c738d21605bcc98397adec7b4b0e1ebba209adf6eb1c6708c157e81e4baef1af1375e15d
DIST click-7.1.1.tar.gz 295672 BLAKE2B 7d9e877a82c3c246831f3bee850ca8460ee13c2e8a560c7e2831bcb6a043624792b6635511006d755ea0903eac439c9b4725087a88d693e0eaac137c8e4cf142 SHA512 955dd75569a7179c204971b868ca17c666bddbaa84201d2b23fbf53ccbd35878c1d638cf70d5c42c2785276fea0cf1f1c062ff990c5869736d6cba0d9fca1486
EBUILD click-7.1.1.ebuild 756 BLAKE2B f778b4aa666b611ed8163adc1af8d9c78e81b2e307630f4d08e474a929c4343a49ea09d072c75c6300df04103cb8acc4a69f4c45096a10434800dca14a97ac88 SHA512 41e6ecdf12c175a07bacea063d699859dbd3d65db00bb0f14f8020cb15bbf2678844159f60a37eb5269a7d62030d4de65103385a243a596fdf34d2a81ff656be
MISC metadata.xml 332 BLAKE2B a41bc7699360c666ce286a0d9a44779fab5afa6e6ce99efec2ee65a5d8d534bf3ccd65d4b23a2f5d40fc3b1c04c3c7e078a8889a3030909e7cc3992eabecfcb3 SHA512 de78734678a4bafe5175228f6df58210c65eaf016efec93e65441109b280725c4994406d0f21f2ee22ca0f9e1e27e27f76b3a1db724dbbd5b958fc8d8410126f

View File

@ -1,27 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
inherit distutils-r1
DESCRIPTION="A Python package for creating beautiful command line interfaces"
SRC_URI="https://github.com/pallets/${PN}/archive/${PV}.tar.gz -> ${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 ppc ppc64 ~s390 sparc x86"
IUSE="examples"
distutils_enable_sphinx docs \
'>=dev-python/docutils-0.14' \
dev-python/pallets-sphinx-themes
distutils_enable_tests pytest
python_install_all() {
use examples && dodoc -r examples
distutils-r1_python_install_all
}

View File

@ -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

View File

@ -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

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">click</remote-id>
</upstream>
</pkgmetadata>