From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE9FE158042 for ; Wed, 13 Nov 2024 05:10:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 890BCE0824; Wed, 13 Nov 2024 05:10:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6BA62E0824 for ; Wed, 13 Nov 2024 05:10:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 64AAB342FB1 for ; Wed, 13 Nov 2024 05:10:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68C4918DD for ; Wed, 13 Nov 2024 05:10:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1731474564.bf208c1ea95b83a871a7961885298d04021bc5df.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/luajit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/luajit/luajit-2.1.1727870382.ebuild X-VCS-Directories: dev-lang/luajit/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bf208c1ea95b83a871a7961885298d04021bc5df X-VCS-Branch: master Date: Wed, 13 Nov 2024 05:10:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0dfdf5a7-ebff-4150-a3c8-18d8a2d870c1 X-Archives-Hash: 6a0d52781b2ac7cdcce232b5aed6fe35 commit: bf208c1ea95b83a871a7961885298d04021bc5df Author: Sam James gentoo org> AuthorDate: Wed Nov 13 05:09:24 2024 +0000 Commit: Sam James gentoo 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 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() {