From abaa75b10f899ada8dd05b23cc03205064394bc6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Jan 2021 20:28:19 +0000 Subject: gentoo resync : 22.01.2021 --- app-doc/devmanual/Manifest | 4 +- app-doc/devmanual/devmanual-0_pre20210118.ebuild | 57 ++++++++++++++++++++++++ app-doc/devmanual/devmanual-9999.ebuild | 9 ++-- 3 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 app-doc/devmanual/devmanual-0_pre20210118.ebuild (limited to 'app-doc/devmanual') diff --git a/app-doc/devmanual/Manifest b/app-doc/devmanual/Manifest index ea0f7a554f54..27a573a4e0a2 100644 --- a/app-doc/devmanual/Manifest +++ b/app-doc/devmanual/Manifest @@ -1,5 +1,7 @@ AUX devmanual-eclasses.patch 486 BLAKE2B 7e772ed7386c199c697808137ecf6f999e60ff32f05a89eb0ceeb41b34576d667996fe9b7f7279b87a40bd8c1efbef5415d69be1b0b9f9f0954e813ab890ffa5 SHA512 1f34bf4e0ed105122eb45ad498ddc737774103720cef9a3a30346a16e85173bc8fb38dc9cc1e9bb2d9b902feb167e5df0ff4cb39f62640f4314fe750533f7cf3 DIST devmanual-0_pre20200207.tar.xz 163940 BLAKE2B c6cf856a8f6c80b500466e27cc4106c070cff2dcf8c89d58c9ca90d03cb34a1e6a2048cb99364993f224f3497309fc24207dc44f9c14ece37c49aa602480dac0 SHA512 f6a88312e2030bf4d9fcf64bf1f38397087cb151aa41cd0c254cfc6251e4d5b291e3b361094a7c1d5fdb16e40c1702c0f0b7460ba230bfb217ad733f400c9089 +DIST devmanual-0_pre20210118.tar.xz 165552 BLAKE2B 17b11ab8b5ec31b93fca95c472e7d137157c3d7629b80be26648d5b77f6a6a0709d1a622a079207695fe48cd9d24d48f5ece0a24259106547d84e7c47cb2199b SHA512 2cf40936ab6ee0acda6f71d44d4cbff03ed195688f172d749b32dab9edde005ab9c4ad28d84f7ad01fc82e0fb8a9441cba20c4c7435f21067abf49fe8da739ff EBUILD devmanual-0_pre20200207.ebuild 1383 BLAKE2B eebc48a0e5a564a72698e7ea71f74729574369bdaa310bb12d83e5d60bc1371e942b35eae13f380d3d8ea359b7f07c85d0db7b1353ca2bf7e8d31441c58afc4e SHA512 98593703f7bbde1da93f43266979c2f59f0b6d5ca4493a738a3dee0a2b0581b6a691615f296da43083266c7bd2555f28bc355b819836ffa08a06671f0ba22017 -EBUILD devmanual-9999.ebuild 1383 BLAKE2B eebc48a0e5a564a72698e7ea71f74729574369bdaa310bb12d83e5d60bc1371e942b35eae13f380d3d8ea359b7f07c85d0db7b1353ca2bf7e8d31441c58afc4e SHA512 98593703f7bbde1da93f43266979c2f59f0b6d5ca4493a738a3dee0a2b0581b6a691615f296da43083266c7bd2555f28bc355b819836ffa08a06671f0ba22017 +EBUILD devmanual-0_pre20210118.ebuild 1478 BLAKE2B 6b78715ac26c53af1ac1160d75bc33c6ce8876464a8c4618a9b49c40f36a58d178ec0ed845ee399795ed983742d33ea211a4051495e6bef19300cceba30992bf SHA512 1ab86abfc466f6ab52d776794b485bc3241b17c29d33b597cba5f0873930240c8a5c3781cf7fed6206758cded44f206e24968b6983ba46a609e82d0ecf1ecad3 +EBUILD devmanual-9999.ebuild 1478 BLAKE2B 6b78715ac26c53af1ac1160d75bc33c6ce8876464a8c4618a9b49c40f36a58d178ec0ed845ee399795ed983742d33ea211a4051495e6bef19300cceba30992bf SHA512 1ab86abfc466f6ab52d776794b485bc3241b17c29d33b597cba5f0873930240c8a5c3781cf7fed6206758cded44f206e24968b6983ba46a609e82d0ecf1ecad3 MISC metadata.xml 481 BLAKE2B b64eb2f74c0558ff3de3269faa64231776ed3fd9fd5c96163d1da0151ac8880b2e81ebc888fe1e3cc05f33b4ac035be168de592c0c52766a54ac011b70b992ca SHA512 6d1031f05b9bf88ae7a9df381c3befcb7b712049fd5cbbf2e1961497d23164e87e47f68fba08b620e9b436a037a7bb5798d42b60e5e4ee5de35fb3e66623b67e diff --git a/app-doc/devmanual/devmanual-0_pre20210118.ebuild b/app-doc/devmanual/devmanual-0_pre20210118.ebuild new file mode 100644 index 000000000000..1170493b93eb --- /dev/null +++ b/app-doc/devmanual/devmanual-0_pre20210118.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python3_{7,8,9}) + +inherit python-any-r1 readme.gentoo-r1 + +DESCRIPTION="The Gentoo Development Guide" +HOMEPAGE="https://devmanual.gentoo.org/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/devmanual.git" +else + # "make dist" in devmanual repo + SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" + S="${WORKDIR}/${PN}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" +fi + +LICENSE="CC-BY-SA-4.0" +SLOT="0" +IUSE="+offline" + +BDEPEND="dev-libs/libxml2 + dev-libs/libxslt + gnome-base/librsvg + media-fonts/open-sans + ${PYTHON_DEPS}" + +PATCHES=( "${FILESDIR}"/${PN}-eclasses.patch ) + +src_compile() { + emake OFFLINE=$(usex offline 1 0) +} + +src_install() { + emake OFFLINE=$(usex offline 1 0) \ + DESTDIR="${D}" \ + htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ + install + + local DOC_CONTENTS="In order to browse the Gentoo Development Guide in + offline mode, point your browser to the following url: + file://${EPREFIX}/usr/share/doc/${PF}/html/index.html" + if ! has_version app-doc/eclass-manpages; then + DOC_CONTENTS+="\\n\\nThe offline version of the devmanual does not + include the documentation for the eclasses. If you need it, + then emerge app-doc/eclass-manpages." + fi + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/app-doc/devmanual/devmanual-9999.ebuild b/app-doc/devmanual/devmanual-9999.ebuild index fdaf6ddcf5de..1170493b93eb 100644 --- a/app-doc/devmanual/devmanual-9999.ebuild +++ b/app-doc/devmanual/devmanual-9999.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +PYTHON_COMPAT=(python3_{7,8,9}) -inherit readme.gentoo-r1 +inherit python-any-r1 readme.gentoo-r1 DESCRIPTION="The Gentoo Development Guide" HOMEPAGE="https://devmanual.gentoo.org/" @@ -12,6 +13,7 @@ if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/devmanual.git" else + # "make dist" in devmanual repo SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" S="${WORKDIR}/${PN}" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" @@ -24,7 +26,8 @@ IUSE="+offline" BDEPEND="dev-libs/libxml2 dev-libs/libxslt gnome-base/librsvg - media-fonts/open-sans" + media-fonts/open-sans + ${PYTHON_DEPS}" PATCHES=( "${FILESDIR}"/${PN}-eclasses.patch ) -- cgit v1.2.3