mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-lang/odin: drop 2026.01, 2026.02
Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST odin-2026-01.tar.gz 147388145 BLAKE2B 579efc63d4aa91cbe6b6c98f64a504a7f50c0202a6a69c70a15566af32fa912a3d496fbe0d8e6767411cf4aba8de9ba23a0080dee644b10982f9e8452fa9feb7 SHA512 b16eb920643a381af47baba18aa38548eb7decfc276f4ae38323a820eb3ad174872daf9199e432fa805f3e5b897b473e48ecda426b93ff3f9c87c77ea4c5c4e3
|
||||
DIST odin-2026-02.tar.gz 148130905 BLAKE2B 60463427b224b14a23e4206e249b6d5d7d79aa5b4611ee5ed8fbc0b6888faecba3c497fc6e59168fdb092b29892a974b2a752b7506f244f633354db09ee0ca95 SHA512 7764e567012f067df74a65f1177b3f3f9081b46da4b726047fd2f169eaea8c003990c1dbb4b2568b1ccb17c1a73889b6edde0d601720f87d3fe9d5b9bac71669
|
||||
DIST odin-2026-03.tar.gz 148137518 BLAKE2B b384ae9962921e33f4bba51cf3a3134806aa23b0308b35068692436d597f5e6a40d374c5d46772b6f267ee383dc0263158ede2856445a1d6f40b83ab6f200a3a SHA512 7733988f83b7ba2af444545d8a20f6efd7bdda3ed95ff94bcd462d9ec93aa113220b12564e2cb63b5df0306b5458e5ce44e62b499a250017882b5f3eedcba4f4
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=(14 17 18 19 20)
|
||||
inherit llvm-r1
|
||||
|
||||
DESCRIPTION="The Data-Oriented Language for Sane Software Development."
|
||||
|
||||
HOMEPAGE="https://odin-lang.org/"
|
||||
|
||||
if [[ $PV == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/odin-lang/Odin.git"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_PV="${PV/./-}"
|
||||
SRC_URI="https://github.com/odin-lang/Odin/archive/refs/tags/dev-${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz"
|
||||
# Source directory; the dir where the sources can be found (automatically
|
||||
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
|
||||
# If you don't need to change it, leave the S= line out of the ebuild
|
||||
# to keep it tidy.
|
||||
S="${WORKDIR}/Odin-dev-${MY_PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
$(llvm_gen_dep '
|
||||
llvm-core/clang:${LLVM_SLOT}=
|
||||
llvm-core/llvm:${LLVM_SLOT}=
|
||||
')
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# build_odin.sh sets its own flags. Some gcc flags cause build failures
|
||||
CPPFLAGS=""
|
||||
CXXFLAGS=""
|
||||
src_compile() {
|
||||
./build_odin.sh release || die "failed to build odin"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto usr/lib/odin
|
||||
exeinto usr/lib/odin
|
||||
|
||||
doexe odin
|
||||
doins -r base core vendor
|
||||
dosym -r /usr/lib/odin/odin /usr/bin/odin
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=(14 17 18 19 20)
|
||||
inherit llvm-r1
|
||||
|
||||
DESCRIPTION="The Data-Oriented Language for Sane Software Development."
|
||||
|
||||
HOMEPAGE="https://odin-lang.org/"
|
||||
|
||||
if [[ $PV == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/odin-lang/Odin.git"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_PV="${PV/./-}"
|
||||
SRC_URI="https://github.com/odin-lang/Odin/archive/refs/tags/dev-${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz"
|
||||
# Source directory; the dir where the sources can be found (automatically
|
||||
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
|
||||
# If you don't need to change it, leave the S= line out of the ebuild
|
||||
# to keep it tidy.
|
||||
S="${WORKDIR}/Odin-dev-${MY_PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
$(llvm_gen_dep '
|
||||
llvm-core/clang:${LLVM_SLOT}=
|
||||
llvm-core/llvm:${LLVM_SLOT}=
|
||||
')
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# build_odin.sh sets its own flags. Some gcc flags cause build failures
|
||||
CPPFLAGS=""
|
||||
CXXFLAGS=""
|
||||
src_compile() {
|
||||
./build_odin.sh release || die "failed to build odin"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto usr/lib/odin
|
||||
exeinto usr/lib/odin
|
||||
|
||||
doexe odin
|
||||
doins -r base core vendor
|
||||
dosym -r /usr/lib/odin/odin /usr/bin/odin
|
||||
}
|
||||
Reference in New Issue
Block a user