commit: e511af954e221f535148b93d473548e149aee8a8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed May 28 03:35:43 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 28 03:35:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e511af95
app-doc/gnu-c-intro-ref: add 0.1 Signed-off-by: Sam James <sam <AT> gentoo.org> app-doc/gnu-c-intro-ref/Manifest | 1 + ...gnu-c-intro-ref-9999.ebuild => gnu-c-intro-ref-0.1.ebuild} | 11 +++++++++-- app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild | 11 +++++++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/app-doc/gnu-c-intro-ref/Manifest b/app-doc/gnu-c-intro-ref/Manifest index 8a5b22e65512..a6433b722674 100644 --- a/app-doc/gnu-c-intro-ref/Manifest +++ b/app-doc/gnu-c-intro-ref/Manifest @@ -1 +1,2 @@ +DIST c-intro-and-ref-0.1.tar.gz 1556218 BLAKE2B 7691d115a71b0a019c9b9f4d0c31a6d7a73a2a170a6fb1349064e766dd649c883f9c289f0a8301d7ea799ed8018e41a864a2b3a0aea44fbc1fabce204547d58c SHA512 f225ee2382b8146db91552ff6f9cf5facc4ce3fb82fba9d6f09c8f8b1a2be92bdf40f0c1917b5fcc9320a5e1a54e52573901e5660dacc7894d98bac50d195c06 DIST c-intro-and-ref-62962013107481127176ef04d69826e41f51313c.tar.gz 322484 BLAKE2B bfd6f613965e5fe62494d245e05b2fdcd9d40ad2a08b81f93e7264735811a0aabd04e6ca0cba140e5e5c2989ec77ef60cfb13ac63c060d76ad0d6e4e9ca0221b SHA512 8ee1f11b47e938cff6d7e93cccf388043643c97f095fa91200c5aae78ef765eb7cd9fbb7d5d77df9dbe13bf5e9694c876f9283f5cde8070f7df8eaabf9c0e40c diff --git a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0.1.ebuild similarity index 72% copy from app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild copy to app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0.1.ebuild index 7324680b8e48..f67150d705c8 100644 --- a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild +++ b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,16 +11,21 @@ HOMEPAGE="https://savannah.gnu.org/projects/c-intro-and-ref/" if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://git.savannah.gnu.org/git/c-intro-and-ref.git" inherit git-r3 +elif [[ ${PV} != *_p* ]] ; then + SRC_URI="mirror://gnu/c-intro-and-ref/c-intro-and-ref-${PV}.tar.gz" + S="${WORKDIR}"/c-intro-and-ref-${PV} else MY_COMMIT="62962013107481127176ef04d69826e41f51313c" SRC_URI="https://git.savannah.nongnu.org/cgit/c-intro-and-ref.git/snapshot/c-intro-and-ref-${MY_COMMIT}.tar.gz" S="${WORKDIR}"/c-intro-and-ref-${MY_COMMIT} - KEYWORDS="~amd64" fi LICENSE="FDL-1.3+" SLOT="0" IUSE="pdf" +if [[ ${PV} != 9999 ]] ; then + KEYWORDS="~amd64" +fi BDEPEND=" sys-apps/texinfo @@ -34,6 +39,8 @@ BDEPEND=" src_prepare() { default + # We don't need it for releases but they're infrequent, so let's + # not bother conditionalising it (as we often use snapshots). eautoreconf } diff --git a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild index 7324680b8e48..f67150d705c8 100644 --- a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild +++ b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,16 +11,21 @@ HOMEPAGE="https://savannah.gnu.org/projects/c-intro-and-ref/" if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://git.savannah.gnu.org/git/c-intro-and-ref.git" inherit git-r3 +elif [[ ${PV} != *_p* ]] ; then + SRC_URI="mirror://gnu/c-intro-and-ref/c-intro-and-ref-${PV}.tar.gz" + S="${WORKDIR}"/c-intro-and-ref-${PV} else MY_COMMIT="62962013107481127176ef04d69826e41f51313c" SRC_URI="https://git.savannah.nongnu.org/cgit/c-intro-and-ref.git/snapshot/c-intro-and-ref-${MY_COMMIT}.tar.gz" S="${WORKDIR}"/c-intro-and-ref-${MY_COMMIT} - KEYWORDS="~amd64" fi LICENSE="FDL-1.3+" SLOT="0" IUSE="pdf" +if [[ ${PV} != 9999 ]] ; then + KEYWORDS="~amd64" +fi BDEPEND=" sys-apps/texinfo @@ -34,6 +39,8 @@ BDEPEND=" src_prepare() { default + # We don't need it for releases but they're infrequent, so let's + # not bother conditionalising it (as we often use snapshots). eautoreconf }
