commit: 23ea846121fd995e84ece0704062bb01ecf40f65 Author: ingenarel <ingenarelitems <AT> gmail <DOT> com> AuthorDate: Mon Nov 17 19:49:52 2025 +0000 Commit: Saad Abdullah <ingenarelitems <AT> gmail <DOT> com> CommitDate: Mon Nov 17 19:49:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23ea8461
app-text/xan: fix and improve the logic of the live ebuild template I made a mass depfiles conversion to a lot of packages a while ago, and most of the changes were reverted in https://github.com/gentoo/guru/pull/354 However, the depfiles in this ebuild went unnoticed by me, so the logic was fixed: use CRATES instead of depfiles I also added `RESTRICT="mirror"` which were recommended to me in the IRC back when the discussion was made on my mass creation of depfiles, this way, portage shouldn't check for a mirror each time for hundreds of rust CRATES Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com> app-text/xan/xan-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-text/xan/xan-9999.ebuild b/app-text/xan/xan-9999.ebuild index 6563bb0b00..3b2b976b6f 100644 --- a/app-text/xan/xan-9999.ebuild +++ b/app-text/xan/xan-9999.ebuild @@ -21,9 +21,9 @@ if [[ "${PV}" == *9999* ]]; then } else SRC_URI="https://github.com/medialab/xan/archive/${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI+=" https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz" + SRC_URI+=" ${CARGO_CRATE_URIS}" KEYWORDS="~amd64" - ECARGO_VENDOR="${WORKDIR}/vendor" + RESTRICT="mirror" fi LICENSE="|| ( MIT Unlicense )"
