From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26E60158041 for ; Tue, 7 Sep 2021 12:17:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A30EE0864; Tue, 7 Sep 2021 12:17:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C57FE0864 for ; Tue, 7 Sep 2021 12:17:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42FBB33E5E4 for ; Tue, 7 Sep 2021 12:17:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ADC4E50 for ; Tue, 7 Sep 2021 12:17:25 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1631017034.763be25dcbe872d8fc44b4850cd5aee011b84b1d.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/argparse-manpage/, dev-python/argparse-manpage/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/argparse-manpage/argparse-manpage-1.5.ebuild dev-python/argparse-manpage/files/argparse-manpage-1.5-remove-six-dep.patch X-VCS-Directories: dev-python/argparse-manpage/ dev-python/argparse-manpage/files/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 763be25dcbe872d8fc44b4850cd5aee011b84b1d X-VCS-Branch: master Date: Tue, 7 Sep 2021 12:17:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 48692edc-7d65-4d27-ba13-f2e54579c1f2 X-Archives-Hash: 466ab0c021a45ac85e11dcf9b0800975 commit: 763be25dcbe872d8fc44b4850cd5aee011b84b1d Author: Arthur Zamarin gentoo org> AuthorDate: Tue Sep 7 12:17:14 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Sep 7 12:17:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=763be25d dev-python/argparse-manpage: patch out six dep Closes: https://bugs.gentoo.org/811969 Signed-off-by: Arthur Zamarin gentoo.org> .../argparse-manpage/argparse-manpage-1.5.ebuild | 4 ++++ .../files/argparse-manpage-1.5-remove-six-dep.patch | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/dev-python/argparse-manpage/argparse-manpage-1.5.ebuild b/dev-python/argparse-manpage/argparse-manpage-1.5.ebuild index f1f23c8c017..749cf578346 100644 --- a/dev-python/argparse-manpage/argparse-manpage-1.5.ebuild +++ b/dev-python/argparse-manpage/argparse-manpage-1.5.ebuild @@ -14,4 +14,8 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" +PATCHES=( + "${FILESDIR}/${P}-remove-six-dep.patch" +) + distutils_enable_tests pytest diff --git a/dev-python/argparse-manpage/files/argparse-manpage-1.5-remove-six-dep.patch b/dev-python/argparse-manpage/files/argparse-manpage-1.5-remove-six-dep.patch new file mode 100644 index 00000000000..7a5aa777739 --- /dev/null +++ b/dev-python/argparse-manpage/files/argparse-manpage-1.5-remove-six-dep.patch @@ -0,0 +1,19 @@ +--- a/examples/copr/copr_cli/main.py ++++ b/examples/copr/copr_cli/main.py +@@ -8,15 +8,11 @@ import argparse + import sys + import datetime + import time +-import six + import simplejson + from collections import defaultdict + + import logging +-if six.PY2: +- from urlparse import urlparse +-else: +- from urllib.parse import urlparse ++from urllib.parse import urlparse + + if sys.version_info < (2, 7): + class NullHandler(logging.Handler):