commit:     5a02060483df1909530d564a4b43659f012023d2
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue May 14 23:26:05 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Tue May 14 23:28:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a020604

sys-apps/hex: remove incorrect RESTRICT=mirror

>From the PMS:
>  mirror
>       The package’s SRC_URI entries may not be mirrored, and
>       mirrors should not be checked when fetching.

The crate dependencies may very well be mirrored, judging by their
licenses. To fetch distfiles from their original locations immediately,
set `GENTOO_MIRRORS=`.
https://devmanual.gentoo.org/general-concepts/manifest/#generating-the-manifest

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 sys-apps/hex/hex-0.4.2.ebuild | 2 --
 sys-apps/hex/hex-0.5.0.ebuild | 4 +---
 sys-apps/hex/hex-0.6.0.ebuild | 2 --
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/sys-apps/hex/hex-0.4.2.ebuild b/sys-apps/hex/hex-0.4.2.ebuild
index 4b765bcc50..26b759365f 100644
--- a/sys-apps/hex/hex-0.4.2.ebuild
+++ b/sys-apps/hex/hex-0.4.2.ebuild
@@ -40,8 +40,6 @@ HOMEPAGE="https://github.com/sitkevij/hex";
 SRC_URI="https://github.com/sitkevij/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
        ${CARGO_CRATE_URIS}
 "
-# Prevent portage from trying to fetch bunch of *.crate from mirror despite 
they are not mirrored.
-RESTRICT="mirror"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"

diff --git a/sys-apps/hex/hex-0.5.0.ebuild b/sys-apps/hex/hex-0.5.0.ebuild
index 888db8eae7..381f4a390f 100644
--- a/sys-apps/hex/hex-0.5.0.ebuild
+++ b/sys-apps/hex/hex-0.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Auto-Generated by cargo-ebuild 0.5.4-r1
@@ -74,8 +74,6 @@ DESCRIPTION="Futuristic take on hexdump"
 HOMEPAGE="https://github.com/sitkevij/hex";
 SRC_URI="https://github.com/sitkevij/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 SRC_URI+=" ${CARGO_CRATE_URIS}"
-# Prevent portage from trying to fetch bunch of *.crate from mirror despite 
they are not mirrored.
-RESTRICT="mirror"
 LICENSE="Apache-2.0 MIT Unicode-DFS-2016"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"

diff --git a/sys-apps/hex/hex-0.6.0.ebuild b/sys-apps/hex/hex-0.6.0.ebuild
index 04ee5d2add..cf21b951a0 100644
--- a/sys-apps/hex/hex-0.6.0.ebuild
+++ b/sys-apps/hex/hex-0.6.0.ebuild
@@ -71,8 +71,6 @@ HOMEPAGE="https://github.com/sitkevij/hex";
 SRC_URI="https://github.com/sitkevij/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 SRC_URI+=" ${CARGO_CRATE_URIS}"
 
-# Prevent portage from trying to fetch bunch of *.crate from mirror despite 
they are not mirrored.
-RESTRICT="mirror"
 LICENSE="Apache-2.0 MIT Unicode-DFS-2016"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"

Reply via email to