summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-04-15 20:32:56 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-04-15 20:43:33 +0300
commitd9d8cf759bfbb7727bcb4fb5daa9ad6c21a54a5e (patch)
treec73b7424e5aafd2083d1272223183dc7e831ddaf /www-apps/cgit
parentapp-admin/webapp-config: enable py3.12 (diff)
downloadgentoo-d9d8cf759bfbb7727bcb4fb5daa9ad6c21a54a5e.tar.gz
gentoo-d9d8cf759bfbb7727bcb4fb5daa9ad6c21a54a5e.tar.bz2
gentoo-d9d8cf759bfbb7727bcb4fb5daa9ad6c21a54a5e.zip
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@gentoo.org>
Diffstat (limited to 'www-apps/cgit')
-rw-r--r--www-apps/cgit/cgit-1.2.3-r203.ebuild (renamed from www-apps/cgit/cgit-1.2.3-r202.ebuild)9
1 files 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
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