commit:     c5532d0a9c837f04def6fefe31823d5c55e769da
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 16:58:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  4 20:17:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5532d0a

net-mail/public-inbox: install docs & css

[sam: Import from infra-overlay. Sync live too.]

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...99.ebuild => public-inbox-1.9.0_p20250930-r1.ebuild} | 17 +++++++++++++----
 net-mail/public-inbox/public-inbox-9999.ebuild          | 17 +++++++++++++----
 2 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/net-mail/public-inbox/public-inbox-9999.ebuild 
b/net-mail/public-inbox/public-inbox-1.9.0_p20250930-r1.ebuild
similarity index 71%
copy from net-mail/public-inbox/public-inbox-9999.ebuild
copy to net-mail/public-inbox/public-inbox-1.9.0_p20250930-r1.ebuild
index dc0974b2946d..68d134055350 100644
--- a/net-mail/public-inbox/public-inbox-9999.ebuild
+++ b/net-mail/public-inbox/public-inbox-1.9.0_p20250930-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,9 +15,9 @@ if [[ ${PV} == 9999 ]] ; then
        "
        inherit git-r3
 elif [[ ${PV} == *_p* ]] ; then
-       PUBLIC_INBOX_COMMIT="488958385c6b8974b8780fb44b91c481e57c2eea"
-       
SRC_URI="https://public-inbox.org/public-inbox.git/snapshot/${PUBLIC_INBOX_COMMIT}.tar.gz
 -> ${P}.tar.gz"
-       S="${WORKDIR}"/${PUBLIC_INBOX_COMMIT}
+       PUBLIC_INBOX_COMMIT="e0066f045f37b413b3fab1aca855d5022e57351f"
+       
SRC_URI="https://repo.or.cz/public-inbox.git/snapshot/${PUBLIC_INBOX_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+       S="${WORKDIR}"/${PN}-${PUBLIC_INBOX_COMMIT:0:7}
 else
        SRC_URI="https://public-inbox.org/public-inbox.git/snapshot/${P}.tar.gz";
 fi
@@ -51,3 +51,12 @@ BDEPEND="
        ${RDEPEND}
        virtual/perl-ExtUtils-MakeMaker
 "
+
+src_install() {
+       perl-module_src_install
+
+       insinto /usr/share/public-inbox/css
+       doins "${S}"/contrib/css/*
+
+       dodoc -r "${S}"/Documentation/*
+}

diff --git a/net-mail/public-inbox/public-inbox-9999.ebuild 
b/net-mail/public-inbox/public-inbox-9999.ebuild
index dc0974b2946d..68d134055350 100644
--- a/net-mail/public-inbox/public-inbox-9999.ebuild
+++ b/net-mail/public-inbox/public-inbox-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,9 +15,9 @@ if [[ ${PV} == 9999 ]] ; then
        "
        inherit git-r3
 elif [[ ${PV} == *_p* ]] ; then
-       PUBLIC_INBOX_COMMIT="488958385c6b8974b8780fb44b91c481e57c2eea"
-       
SRC_URI="https://public-inbox.org/public-inbox.git/snapshot/${PUBLIC_INBOX_COMMIT}.tar.gz
 -> ${P}.tar.gz"
-       S="${WORKDIR}"/${PUBLIC_INBOX_COMMIT}
+       PUBLIC_INBOX_COMMIT="e0066f045f37b413b3fab1aca855d5022e57351f"
+       
SRC_URI="https://repo.or.cz/public-inbox.git/snapshot/${PUBLIC_INBOX_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+       S="${WORKDIR}"/${PN}-${PUBLIC_INBOX_COMMIT:0:7}
 else
        SRC_URI="https://public-inbox.org/public-inbox.git/snapshot/${P}.tar.gz";
 fi
@@ -51,3 +51,12 @@ BDEPEND="
        ${RDEPEND}
        virtual/perl-ExtUtils-MakeMaker
 "
+
+src_install() {
+       perl-module_src_install
+
+       insinto /usr/share/public-inbox/css
+       doins "${S}"/contrib/css/*
+
+       dodoc -r "${S}"/Documentation/*
+}

Reply via email to