From 532abbaf727b93c30379671dd77d9da4f2dc6a7a Mon Sep 17 00:00:00 2001
From: Horea Christian <chr@chymera.eu>
Date: Fri, 25 Mar 2022 11:22:17 -0400
Subject: [PATCH] dev-python/click-didyoumean: version bump with test
 distribution

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
---
 dev-python/click-didyoumean/Manifest                     | 4 ++--
 .../click-didyoumean/click-didyoumean-0.2.0.ebuild       | 7 +++----
 ...oumean-0.1.0.ebuild => click-didyoumean-0.3.0.ebuild} | 9 +++------
 dev-python/click-didyoumean/metadata.xml                 | 4 ++++
 4 files changed, 12 insertions(+), 12 deletions(-)
 rename dev-python/click-didyoumean/{click-didyoumean-0.1.0.ebuild => click-didyoumean-0.3.0.ebuild} (65%)

diff --git a/dev-python/click-didyoumean/Manifest b/dev-python/click-didyoumean/Manifest
index 5f0c5fe..4d416da 100644
--- a/dev-python/click-didyoumean/Manifest
+++ b/dev-python/click-didyoumean/Manifest
@@ -1,2 +1,2 @@
-DIST click-didyoumean-0.1.0.tar.gz 2343 SHA256 0d5d412fd670caec17e7c12d053de13c14790b196056082c83e61c5541a3c50a SHA512 5079bcab1701b05767d4b53302baa7f05b59af7f8d4644f6bdad9c4bbcb77673b535828726f401d442b5cb39f45073f75b43204199ddddf3d0ec133eb86b65b7 WHIRLPOOL 65193110e062f1c6f499c9a740b33f57fad23299c2a6d652710aa9c60c21ba591b3e42035752f089db51e18f9abb66aa4312e212f5c3bc5b91d39ae39d09f8db
-DIST click-didyoumean-0.2.0.tar.gz 2413 SHA256 00136c217f7fb2ab2999c272cfbd0c14cd2d6c7a643318a954357e2fc3ea7beb SHA512 1934423a36ef03a3603676b8424cfe619972544fc9d7165f388514d01364872b972069466aee03d696da08cd17653ef4f245dab6acc5f2aba3310da00102ff6a WHIRLPOOL 6746b14375eee12b8bdf813fd53b751a09ce219d806cbcde0926e67c8a36f7dd52954e14be04ca464421323b331e3d7aad22bc2ae2db93e98edefefc2af82b76
+DIST click-didyoumean-0.2.0.tar.gz 309305 SHA256 ff0cf06b9a8d87cb576c9d6623c4a0fceae5adc9c6fd88e456d08a14817093f4 SHA512 690438809d103d2f2b54fc1dabb912b359f5355ba242bb37ef420cd8fcc3ed226911d7216acdcb3574bb0e93231c3a3ca7b00e9e99365955387cfeddeed449ae WHIRLPOOL 662b44933d63884910729548ef6410a8f46828330692cb415cf5f4d429105e237ae7b65f7d2673c3f4c1f9b99cdf61de2a240a75b02b1bb04a4385bca6a3e730
+DIST click-didyoumean-0.3.0.tar.gz 309301 SHA256 514e3574096407a96440d31bbda0b7f22d10b2e7160f21016c02480789081748 SHA512 4927ee392f27950c3f7ef5e0f1d5a5e2421172f3e9d34ec76986c9c7ea698cfa1981678a06fb8682577d6ed04c242c42bdd1d796d7623a1c99dfdbdb61c80fca WHIRLPOOL 1b15faeaec5395b863770550ef826c69d9895c89834d4b1f5cd8d010eccc638e77140cdeac88736550ea61f75d376a7700634f9b000e5f6335f0179d6fc637c4
diff --git a/dev-python/click-didyoumean/click-didyoumean-0.2.0.ebuild b/dev-python/click-didyoumean/click-didyoumean-0.2.0.ebuild
index a0c6011..b9a65c5 100644
--- a/dev-python/click-didyoumean/click-didyoumean-0.2.0.ebuild
+++ b/dev-python/click-didyoumean/click-didyoumean-0.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,13 +8,12 @@ inherit distutils-r1
 
 DESCRIPTION="Enable git-like did-you-mean feature in click"
 HOMEPAGE="https://github.com/click-contrib/click-didyoumean"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-#SRC_URI="https://github.com/click-contrib/click-didyoumean/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/click-contrib/click-didyoumean/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-#RESTRICT="test"
+RESTRICT="test"
 # Tests actually pass, but not included in archive:
 # https://github.com/click-contrib/click-didyoumean/issues/11
 DEPEND="
diff --git a/dev-python/click-didyoumean/click-didyoumean-0.1.0.ebuild b/dev-python/click-didyoumean/click-didyoumean-0.3.0.ebuild
similarity index 65%
rename from dev-python/click-didyoumean/click-didyoumean-0.1.0.ebuild
rename to dev-python/click-didyoumean/click-didyoumean-0.3.0.ebuild
index fe6ca70..9fe4373 100644
--- a/dev-python/click-didyoumean/click-didyoumean-0.1.0.ebuild
+++ b/dev-python/click-didyoumean/click-didyoumean-0.3.0.ebuild
@@ -1,22 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
 DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Enable git-like did-you-mean feature in click"
 HOMEPAGE="https://github.com/click-contrib/click-didyoumean"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/click-contrib/click-didyoumean/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-#RESTRICT="test"
-# Tests actually pass, but not included in archive:
-# https://github.com/click-contrib/click-didyoumean/issues/11
 DEPEND="
 	dev-python/click
 "
diff --git a/dev-python/click-didyoumean/metadata.xml b/dev-python/click-didyoumean/metadata.xml
index f6f63a8..d206a1b 100644
--- a/dev-python/click-didyoumean/metadata.xml
+++ b/dev-python/click-didyoumean/metadata.xml
@@ -9,4 +9,8 @@
 		<email>sci@gentoo.org</email>
 		<name>Gentoo Science Project</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">click-contrib/click-didyoumean</remote-id>
+		<remote-id type="pypi">click-didyoumean</remote-id>
+	</upstream>
 </pkgmetadata>