mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
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@gmail.com>
This commit is contained in:
@@ -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 )"
|
||||
|
||||
Reference in New Issue
Block a user