commit: d9d8cf759bfbb7727bcb4fb5daa9ad6c21a54a5e Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Mon Apr 15 17:32:56 2024 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Mon Apr 15 17:43:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d8cf75
www-apps/cgit: enable py3.12 Enable python 3.12 Enable lua 5.3, 5.4 Fix VariableScope Closes: https://bugs.gentoo.org/929871 Closes: https://bugs.gentoo.org/836118 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> www-apps/cgit/{cgit-1.2.3-r202.ebuild => cgit-1.2.3-r203.ebuild} | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/www-apps/cgit/cgit-1.2.3-r202.ebuild b/www-apps/cgit/cgit-1.2.3-r203.ebuild similarity index 93% rename from www-apps/cgit/cgit-1.2.3-r202.ebuild rename to www-apps/cgit/cgit-1.2.3-r203.ebuild index dc581d8b548c..8499426633d8 100644 --- a/www-apps/cgit/cgit-1.2.3-r202.ebuild +++ b/www-apps/cgit/cgit-1.2.3-r203.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -LUA_COMPAT=( lua5-{1..2} luajit ) +LUA_COMPAT=( lua5-{1..4} luajit ) -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) WEBAPP_MANUAL_SLOT="yes" @@ -64,7 +64,6 @@ src_configure() { echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf || die "echo CGIT_SCRIPT_PATH failed" echo "CGIT_DATA_PATH = ${MY_HTDOCSDIR}" >> cgit.conf || die "echo CGIT_DATA_PATH failed" echo "CACHE_ROOT = ${CGIT_CACHEDIR}" >> cgit.conf || die "echo CACHE_ROOT failed" - echo "DESTDIR = ${D}" >> cgit.conf || die "echo DESTDIR failed" if use lua; then echo "LUA_PKGCONFIG = ${ELUA}" >> cgit.conf || die "echo LUA_PKGCONFIG failed" else @@ -80,7 +79,7 @@ src_compile() { src_install() { webapp_src_preinst - emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" install + emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" DESTDIR="${D}" install insinto /etc doins "${FILESDIR}"/cgitrc