commit:     3d9b83fab73458306c59ecae910880451869e3b9
Author:     Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
AuthorDate: Sat Jul  5 10:32:34 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Jul  7 07:44:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9b83fa

www-apps/cgit: 9999 maintenance

* enable py3.13
* bump git versions based on tracked branches
* add missing dependencies for highlighting

Signed-off-by: Zoltan Puskas <zoltan <AT> sinustrom.info>
Part-of: https://github.com/gentoo/gentoo/pull/42881
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 www-apps/cgit/cgit-9999-r1.ebuild | 18 +++++++++++-------
 www-apps/cgit/cgit-9999.ebuild    | 14 +++++++++-----
 2 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/www-apps/cgit/cgit-9999-r1.ebuild 
b/www-apps/cgit/cgit-9999-r1.ebuild
index 648f5145540e..c05baf5ef320 100644
--- a/www-apps/cgit/cgit-9999-r1.ebuild
+++ b/www-apps/cgit/cgit-9999-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LUA_COMPAT=( lua5-{1..4} luajit )
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..14} )
 
 WEBAPP_MANUAL_SLOT="yes"
 
@@ -13,15 +13,14 @@ inherit flag-o-matic lua-single python-single-r1 tmpfiles 
toolchain-funcs webapp
 
 [[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
 
-GIT_V="2.45.0"
+GIT_V="2.50.0"
 
-DESCRIPTION="a fast web-interface for git repositories"
+DESCRIPTION="A fast web-interface for Git repositories"
 HOMEPAGE="https://git.zx2c4.com/cgit/about";
 if [[ ${PV} =~ 9999* ]]; then
-       SRC_URI=""
        EGIT_REPO_URI="https://git.zx2c4.com/cgit";
-       # v2.45.0 updates in this branch series
-       EGIT_COMMIT=dbadd856ba0537110338cfe58256b152d01388c0
+       # v2.50.0 updates in this branch series
+       EGIT_COMMIT=23bc4e4563a98652e90c14b4456ec81622c5ec79
        EGIT_BRANCH=ch/for-jason
 else
        SRC_URI="https://www.kernel.org/pub/software/scm/git/git-${GIT_V}.tar.xz
@@ -42,7 +41,12 @@ RDEPEND="
        dev-libs/openssl:0=
        dev-vcs/git
        highlight? (
-               $(python_gen_cond_dep 'dev-python/pygments[${PYTHON_USEDEP}]' )
+               $(python_gen_cond_dep '
+                       dev-python/docutils[${PYTHON_USEDEP}]
+                       dev-python/markdown[${PYTHON_USEDEP}]
+                       dev-python/pygments[${PYTHON_USEDEP}]
+               ')
+               sys-apps/groff
        )
        lua? ( ${LUA_DEPS} )
        sys-libs/zlib

diff --git a/www-apps/cgit/cgit-9999.ebuild b/www-apps/cgit/cgit-9999.ebuild
index 8412f8c1677a..353b38b277a1 100644
--- a/www-apps/cgit/cgit-9999.ebuild
+++ b/www-apps/cgit/cgit-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LUA_COMPAT=( lua5-{1..4} luajit )
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..14} )
 
 WEBAPP_MANUAL_SLOT="yes"
 
@@ -13,12 +13,11 @@ inherit flag-o-matic lua-single python-single-r1 tmpfiles 
toolchain-funcs webapp
 
 [[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
 
-GIT_V="2.39.0"
+GIT_V="2.46.0"
 
-DESCRIPTION="a fast web-interface for git repositories"
+DESCRIPTION="A fast web-interface for Git repositories"
 HOMEPAGE="https://git.zx2c4.com/cgit/about";
 if [[ ${PV} =~ 9999* ]]; then
-       SRC_URI=""
        EGIT_REPO_URI="https://git.zx2c4.com/cgit";
 else
        SRC_URI="https://www.kernel.org/pub/software/scm/git/git-${GIT_V}.tar.xz
@@ -39,7 +38,12 @@ RDEPEND="
        dev-libs/openssl:0=
        dev-vcs/git
        highlight? (
-               $(python_gen_cond_dep 'dev-python/pygments[${PYTHON_USEDEP}]' )
+               $(python_gen_cond_dep '
+                       dev-python/docutils[${PYTHON_USEDEP}]
+                       dev-python/markdown[${PYTHON_USEDEP}]
+                       dev-python/pygments[${PYTHON_USEDEP}]
+               ')
+               sys-apps/groff
        )
        lua? ( ${LUA_DEPS} )
        sys-libs/zlib

Reply via email to