Files
guru/app-text/xan/xan-0.51.0.ebuild
ingenarel 19c3e9b14d app-text/xan: add 0.51.0, 9999
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
2025-07-18 08:20:47 +06:00

45 lines
942 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.14.0
EAPI=8
CRATES=" "
inherit cargo
DESCRIPTION="The CSV magician"
HOMEPAGE="https://github.com/medialab/xan"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/medialab/xan"
src_unpack() {
git-r3_src_unpack
cargo_live_src_unpack
}
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"
KEYWORDS="~amd64"
ECARGO_VENDOR="${WORKDIR}/vendor"
fi
LICENSE="|| ( MIT Unlicense )"
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 GPL-2+ ISC MIT MPL-2.0
Unicode-3.0 Unlicense ZLIB
"
SLOT="0"
QA_FLAGS_IGNORED="usr/bin/xan"
DOCS=( README.md docs )
src_install() {
cargo_src_install
einstalldocs
}