From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02082158094 for ; Fri, 22 Jul 2022 17:58:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BBFAE0BB5; Fri, 22 Jul 2022 17:58:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BD21E0BB5 for ; Fri, 22 Jul 2022 17:58:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B2FE3410ED for ; Fri, 22 Jul 2022 17:58:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDAFB543 for ; Fri, 22 Jul 2022 17:57:59 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1658512675.21962f1738c5391fc3adec06b623d148f3dc2d18.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/devmanual/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-doc/devmanual/Manifest app-doc/devmanual/devmanual-0_pre20220625.ebuild X-VCS-Directories: app-doc/devmanual/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 21962f1738c5391fc3adec06b623d148f3dc2d18 X-VCS-Branch: master Date: Fri, 22 Jul 2022 17:57:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 742c79f1-4fd8-49da-b2e6-a6c9220ecd05 X-Archives-Hash: 7b32076ceb73c635540781f73a6c4b88 commit: 21962f1738c5391fc3adec06b623d148f3dc2d18 Author: Ulrich Müller gentoo org> AuthorDate: Fri Jul 22 17:51:34 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Jul 22 17:57:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21962f17 app-doc/devmanual: add 0_pre20220625 Signed-off-by: Ulrich Müller gentoo.org> app-doc/devmanual/Manifest | 1 + app-doc/devmanual/devmanual-0_pre20220625.ebuild | 60 ++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/app-doc/devmanual/Manifest b/app-doc/devmanual/Manifest index 68009359ff24..0f08e214609c 100644 --- a/app-doc/devmanual/Manifest +++ b/app-doc/devmanual/Manifest @@ -1 +1,2 @@ DIST devmanual-0_pre20220326.tar.xz 183228 BLAKE2B 67ab1a24e8f1043f2d7938a76f4d819ecfaffaf3516cf5ce9eff20ac0e481c60be06c83c4adc3835e6ee66c44def290aa682567662dbf7a7a7057b0d168e1677 SHA512 364fe3504ba424201b450e08fe2043e55d1067c3603c4d3248112117461a4ab667d50f82deac9daaf50e28ea5d996c1ae08668d55b7379915cc175f66edddf9b +DIST devmanual-0_pre20220625.tar.xz 185236 BLAKE2B 3fb6bc0ec184c611fb10aa3062ffc7cd12e1d77a5a093fd13f7958fbf3494c42dc9674e10164c67080d1b5af1dcdc2fa09c017aeaec77e09fdd87cf63556b4c8 SHA512 46f44a9d77b0f433b9f8bbe48f1a2c9871c00a78f9726b7bed8aebb1e389898e0ddcbcee313ff277fc3946b3b2d46b5a23227c4f6d41cee467605086c182ba56 diff --git a/app-doc/devmanual/devmanual-0_pre20220625.ebuild b/app-doc/devmanual/devmanual-0_pre20220625.ebuild new file mode 100644 index 000000000000..f4df71ec1d10 --- /dev/null +++ b/app-doc/devmanual/devmanual-0_pre20220625.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="xml" +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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi + +LICENSE="CC-BY-SA-4.0" +SLOT="0" +IUSE="+offline test" +RESTRICT="!test? ( test )" + +BDEPEND=">=dev-libs/libxml2-2.9.12 + dev-libs/libxslt + gnome-base/librsvg + media-fonts/open-sans + ${PYTHON_DEPS} + test? ( >=app-text/htmltidy-5.8.0 )" + +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 +}