commit: bf208c1ea95b83a871a7961885298d04021bc5df Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Nov 13 05:09:24 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Nov 13 05:09:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf208c1e
dev-lang/luajit: sync 2.1.1727870382 w/ new live template Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/luajit/luajit-2.1.1727870382.ebuild | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/dev-lang/luajit/luajit-2.1.1727870382.ebuild b/dev-lang/luajit/luajit-2.1.1727870382.ebuild index 82931bad8f2f..1a9014c337c4 100644 --- a/dev-lang/luajit/luajit-2.1.1727870382.ebuild +++ b/dev-lang/luajit/luajit-2.1.1727870382.ebuild @@ -2,7 +2,6 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -GIT_COMMIT=97813fb924edf822455f91a5fbbdfdb349e5984f # Upstream doesn't make releases anymore and instead have a (broken) "rolling # git tag" model. @@ -17,13 +16,31 @@ inherit toolchain-funcs DESCRIPTION="Just-In-Time Compiler for the Lua programming language" HOMEPAGE="https://luajit.org/" -SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/LuaJIT-${GIT_COMMIT}" + +if [[ ${PV} == 2.1.9999999999 ]]; then + # This is the 2.1 rolling release live build. When a 2.2 or 3.x branch comes + # out, create a new ebuild for it. + # + # Upstream recommends pulling rolling releases from the v2.1 branch. + # > The old git master branch is phased out and stays pinned to the v2.0 + # > branch. Please follow the versioned branches instead. + # + # See http://luajit.org/status.html for additional information. + EGIT_BRANCH="v2.1" + EGIT_REPO_URI="https://luajit.org/git/luajit.git" + inherit git-r3 +else + # Update this commit hash to bump a pinned-commit ebuild. + GIT_COMMIT=97813fb924edf822455f91a5fbbdfdb349e5984f + SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/LuaJIT-${GIT_COMMIT}" + + KEYWORDS="~amd64 ~arm ~arm64 -hppa ~mips ~ppc -riscv -sparc ~x86 ~amd64-linux ~x86-linux" +fi LICENSE="MIT" -# this should probably be pkgmoved to 2.0 for sake of consistency. +# this should probably be pkgmoved to 2.1 for sake of consistency. SLOT="2/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 -hppa ~mips ~ppc -riscv -sparc ~x86 ~amd64-linux ~x86-linux" IUSE="lua52compat static-libs" _emake() {
