commit:     2d7588838a376db86fac94846bf26e12eff54f59
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 23:13:54 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 23:24:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d758883

net-p2p/bitcoin-cli: fix StaticSrcUri

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-p2p/bitcoin-cli/bitcoin-cli-0.20.1.ebuild | 2 +-
 net-p2p/bitcoin-cli/bitcoin-cli-0.21.0.ebuild | 2 +-
 net-p2p/bitcoin-cli/bitcoin-cli-0.21.1.ebuild | 2 +-
 net-p2p/bitcoin-cli/bitcoin-cli-21.2.ebuild   | 2 +-
 net-p2p/bitcoin-cli/bitcoin-cli-22.0.ebuild   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-p2p/bitcoin-cli/bitcoin-cli-0.20.1.ebuild 
b/net-p2p/bitcoin-cli/bitcoin-cli-0.20.1.ebuild
index 0d0b3da5862a..573e29aedb9b 100644
--- a/net-p2p/bitcoin-cli/bitcoin-cli-0.20.1.ebuild
+++ b/net-p2p/bitcoin-cli/bitcoin-cli-0.20.1.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line JSON-RPC client specifically for 
interfacing with bitc
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v${PV}.tar.gz
-       
https://bitcoinknots.org/files/0.20.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> 
${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

diff --git a/net-p2p/bitcoin-cli/bitcoin-cli-0.21.0.ebuild 
b/net-p2p/bitcoin-cli/bitcoin-cli-0.21.0.ebuild
index 113fb8d8b046..74c885b4f4dc 100644
--- a/net-p2p/bitcoin-cli/bitcoin-cli-0.21.0.ebuild
+++ b/net-p2p/bitcoin-cli/bitcoin-cli-0.21.0.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line JSON-RPC client specifically for 
interfacing with bitc
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v${PV}.tar.gz
-       
https://bitcoinknots.org/files/0.21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> 
${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

diff --git a/net-p2p/bitcoin-cli/bitcoin-cli-0.21.1.ebuild 
b/net-p2p/bitcoin-cli/bitcoin-cli-0.21.1.ebuild
index e87439f533d4..a79ddadfe6a8 100644
--- a/net-p2p/bitcoin-cli/bitcoin-cli-0.21.1.ebuild
+++ b/net-p2p/bitcoin-cli/bitcoin-cli-0.21.1.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line JSON-RPC client specifically for 
interfacing with bitc
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v${PV}.tar.gz
-       
https://bitcoinknots.org/files/0.21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> 
${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

diff --git a/net-p2p/bitcoin-cli/bitcoin-cli-21.2.ebuild 
b/net-p2p/bitcoin-cli/bitcoin-cli-21.2.ebuild
index 64860f8f90a8..009bb9330bba 100644
--- a/net-p2p/bitcoin-cli/bitcoin-cli-21.2.ebuild
+++ b/net-p2p/bitcoin-cli/bitcoin-cli-21.2.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line JSON-RPC client specifically for 
interfacing with bitc
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v0.${PV}.tar.gz
-       https://bitcoinknots.org/files/21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz 
-> ${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

diff --git a/net-p2p/bitcoin-cli/bitcoin-cli-22.0.ebuild 
b/net-p2p/bitcoin-cli/bitcoin-cli-22.0.ebuild
index 13129ac9d061..1fb7fd08c62f 100644
--- a/net-p2p/bitcoin-cli/bitcoin-cli-22.0.ebuild
+++ b/net-p2p/bitcoin-cli/bitcoin-cli-22.0.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line JSON-RPC client specifically for 
interfacing with bitc
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v${PV}.tar.gz
-       https://bitcoinknots.org/files/22.x/${KNOTS_PV}/${KNOTS_P}.patches.txz 
-> ${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

Reply via email to