dev-python/click-default-group: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-09-08 06:48:56 +02:00
parent de380332a5
commit d980560a0c
3 changed files with 0 additions and 55 deletions

View File

@@ -1,2 +1 @@
DIST click-default-group-1.2.2.gh.tar.gz 4753 BLAKE2B 919e3921ef3c6723b92cab8433032237af4e5583084badb6cc53d82971d81aa910ae6553deefea2ac46067d2618bb8f6d2003f0b2c4ced04acc5b46588012614 SHA512 6f296d154813e0c3dbf8e435c4c1b4394f51a000320c5585aeb78b81f30fe15bd27a8aad0fdbb71fccb88dc3083682519f1dd06572c8d5c35639fb9c3acf73fa
DIST click-default-group-1.2.4.gh.tar.gz 4816 BLAKE2B 06954c374c1fcdf6163b476ec9888c563493b3c6d6395cab4b7191cae335519262a5082f587752c1968c4108edd20bb87c55bde8100c8cad90b2c1d433fa7469 SHA512 0239e703421e693399e8e54e4a6bdc4a74e6f16307f008ee742788ce3e8040f633de2b1bf12997a5c448b70cb55f77ccd4f42c5b4abe3b6a05df18908daf61da

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit distutils-r1
DESCRIPTION="Extends click. Group to invoke a command without explicit subcommand name"
HOMEPAGE="
https://github.com/click-contrib/click-default-group/
https://pypi.org/project/click-default-group/
"
SRC_URI="
https://github.com/click-contrib/click-default-group/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}"/${PN}-1.2.2-tests-click-8.patch
)
distutils_enable_tests pytest

View File

@@ -1,21 +0,0 @@
https://github.com/click-contrib/click-default-group/pull/18
https://github.com/click-contrib/click-default-group/issues/16
From 9415c77d05cf7d16876e7d70a49a41a6189983b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= <dev@schuetz-co.de>
Date: Sun, 20 Jun 2021 16:11:42 +0200
Subject: [PATCH] make tests compatible with click 8
It now outputs "No such option".
--- a/test.py
+++ b/test.py
@@ -30,7 +30,7 @@ def bar():
def test_default_command_with_arguments():
assert r.invoke(cli, ['--foo', 'foooo']).output == 'foooo\n'
- assert 'no such option' in r.invoke(cli, ['-x']).output
+ assert 'no such option' in r.invoke(cli, ['-x']).output.lower()
def test_group_arguments():