]> git.draconx.ca Git - gentoo-draconx.git/commitdiff
dev-python/prompt-toolkit: Deal with rename fallout.
authorNick Bowler <nbowler@draconx.ca>
Wed, 10 May 2023 00:28:56 +0000 (20:28 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 24 May 2023 01:23:12 +0000 (21:23 -0400)
Gentoo pushed a package move update renaming prompt_toolkit to
prompt-toolkit, which apparently has the side effect of breaking
other repositories with packages that have the same name.

So we need to perform the same rename and update reverse dependencies
accordingly.

Update PYTHON_COMPAT while we are here.

dev-python/prompt-toolkit/Manifest [new file with mode: 0644]
dev-python/prompt-toolkit/prompt-toolkit-1.0.18-r1.ebuild [moved from dev-python/prompt_toolkit/prompt_toolkit-1.0.18.ebuild with 81% similarity]
dev-python/prompt_toolkit/Manifest [deleted file]
net-misc/google-cloud-sdk/Manifest
net-misc/google-cloud-sdk/google-cloud-sdk-405.0.0.ebuild

diff --git a/dev-python/prompt-toolkit/Manifest b/dev-python/prompt-toolkit/Manifest
new file mode 100644 (file)
index 0000000..373c5ae
--- /dev/null
@@ -0,0 +1,2 @@
+DIST prompt_toolkit-1.0.18.tar.gz 242335 BLAKE2B cbb1586837aea7d9c4a096a59e3fe0b52a3879c08dc02d22d7a928b20eec3b9c2607e255461e234c071112c86ad98389a9b0b699392a929704e19cea0d589cef SHA512 25cb2559084b7769411b0a7ae10e5e8836b7c3fb8841eaefbd4ad784654a144f8e5730fa70d08a6f07c7de9957d308ea8c7b9050564f128fcd875e884963fbe4
+EBUILD prompt-toolkit-1.0.18-r1.ebuild 746 BLAKE2B cf1eac4d0a0254f76276d3969ff924cbe3573ad9a27c53318618ebe24401dfd596203038e2d9efed9bf973d0b55addad79c406dcb3cc747c9c03cba76263f6ac SHA512 586150b98dc6ad4f137cbafd21ba11e37ca6c569589a6836b42a099b9980c32a4be0ec1c7ae32468ea41d8fcf26b110835dd97ced6401b35a6f964e585375543
similarity index 81%
rename from dev-python/prompt_toolkit/prompt_toolkit-1.0.18.ebuild
rename to dev-python/prompt-toolkit/prompt-toolkit-1.0.18-r1.ebuild
index 290a8c340c1dd4234d52d10a124f2662e562ca6a..d452719e09c2ae7db3be1fc4986a1f1d04ce8391 100644 (file)
@@ -5,13 +5,16 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1
 
+MY_PN=${PN/-/_}
+MY_P=$MY_PN-$PV
+
 DESCRIPTION="Library for building powerful interactive command lines in Python"
 HOMEPAGE="https://github.com/prompt-toolkit/python-prompt-toolkit https://pypi.org/project/prompt_toolkit/"
-SRC_URI="mirror://pypi/${PN:0:1}/$PN/$P.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/$PN/$MY_P.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -20,4 +23,6 @@ KEYWORDS="~amd64 ~x86"
 RDEPEND="dev-python/six[$PYTHON_USEDEP]
        dev-python/wcwidth[$PYTHON_USEDEP]"
 
+S=$WORKDIR/$MY_P
+
 distutils_enable_tests pytest
diff --git a/dev-python/prompt_toolkit/Manifest b/dev-python/prompt_toolkit/Manifest
deleted file mode 100644 (file)
index 880cefc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST prompt_toolkit-1.0.18.tar.gz 242335 BLAKE2B cbb1586837aea7d9c4a096a59e3fe0b52a3879c08dc02d22d7a928b20eec3b9c2607e255461e234c071112c86ad98389a9b0b699392a929704e19cea0d589cef SHA512 25cb2559084b7769411b0a7ae10e5e8836b7c3fb8841eaefbd4ad784654a144f8e5730fa70d08a6f07c7de9957d308ea8c7b9050564f128fcd875e884963fbe4
-EBUILD prompt_toolkit-1.0.18.ebuild 692 BLAKE2B 37b79e37716aac50e584f8a0ab8bd8dbea82a213db06249f23317e696a4cdee70769223c60d719e3a57b3bfa419fe3001bc0f732aa80471364936cef8cbd4a2b SHA512 1b78f1a94075d1adcdeec39aa43c10abd0c2dbdffd4e87b8d9bda91aed1fec1932a6ccf742a29093fdcf639d8cef0c3f30b0c23aa5ecfd629dc6508c1656aad8
index 13080a198e41ec21c6e1187ed84246dc2b38880e..7ab7dbfabe6b7884df6131d1430d9d976d76fd5d 100644 (file)
@@ -1,2 +1,2 @@
 DIST google-cloud-sdk-405.0.0-linux-x86_64.tar.gz 161779022 BLAKE2B 6343ab5a23692c503d9765c6fb6263403b068f4ea882a57efbcc5066d2b4e717bc833d3ff0af4f7a4b32de2434d9958bb58cece52d7bb4fef224a35e4d855e2e SHA512 da8c8af3f1a45c756619a9d539c7c7440c088999f9489e73f0958ee35b139558a7879fdbb4e09009e8b5ae3030cfb420f6743f6a4b0597bcb827f495736ebae4
-EBUILD google-cloud-sdk-405.0.0.ebuild 1800 BLAKE2B 18e5a18328869e6b9250e636e0fed6e8aa89bdacb51266245c33ff7fc4326a29d88da4edd3e1b6f8d7edd70f7682de42a15c7f1cb463e4a166fc9b1703dcfa9a SHA512 80bd18f041f0f8f61b7b40078100155231593d862bdeacce4fd4ecd861ff47e9a798523a6ad17b49d7816c362f2859431a5c792177340ed6cc1d9ce883272e5d
+EBUILD google-cloud-sdk-405.0.0.ebuild 1805 BLAKE2B 91aebac764686fe11f96b508d9307195bc61956dfbc8c7fac4e3c8df12d235799b520a897af6c6f5225955cc9bb1d87bac7731c358dce436929d21f627b2260e SHA512 3f9b1d05d057cfdbc80d14c36590a1f11ab0e9b91b37ca737cc5177a3025d0cdde25f6ccd3e44c2a0954144cfa018d03f2f3883c659ee6fd81a34b0477ab74d5
index 88fa480fbdba386ed52cf4c68e37dc82035bac2e..dddb20f4af693bb61b96de45e39c7619d8ce7fb5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2022 Nick Bowler
+# Copyright © 2022-2023 Nick Bowler
 # License GPLv3+: GNU General Public License version 3 or any later version.
 # This is free software: you are free to change and redistribute it.
 # There is NO WARRANTY, to the extent permitted by law.
@@ -25,7 +25,7 @@ DEPEND="$PYTHON_DEPS
        !dev-python/google-apitools:0"
 
 RDEPEND="$DEPEND
-       <dev-python/prompt_toolkit-2[$PYTHON_USEDEP]
+       <dev-python/prompt-toolkit-2[$PYTHON_USEDEP]
        dev-python/argcomplete[$PYTHON_USEDEP]
        dev-python/dnspython[$PYTHON_USEDEP]
        dev-python/google-auth-httplib2[$PYTHON_USEDEP]