commit:     e38785ef73896b3bede91701138992f278f3b5be
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 25 02:36:34 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 25 02:36:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e38785ef

app-doc/python-docs: Bump to 3.9.18

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-doc/python-docs/Manifest                  |  1 +
 app-doc/python-docs/python-docs-3.9.18.ebuild | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/app-doc/python-docs/Manifest b/app-doc/python-docs/Manifest
index 7554cf3bf11e..4476e95e1026 100644
--- a/app-doc/python-docs/Manifest
+++ b/app-doc/python-docs/Manifest
@@ -5,3 +5,4 @@ DIST python-3.11.4-docs-html.tar.bz2 7831799 BLAKE2B 
81245e6f47f9179ac8fcf8c1e8a
 DIST python-3.8.17-docs-html.tar.bz2 6737444 BLAKE2B 
f6f9a4da13837ecede50eb4d2074b1c6d2be616449f81712e3c551d61d56ac0e314aca84dbcae7d07e89d6f316bec5a6d0797fa0b0f8bf98632ff3c0b6ffad06
 SHA512 
ab29fc066df0edcaf40dab079cf8fcaa68b895da053ce9cf3d8d776510d804ccfb17ba04e5464ed5edaeb938aaac8aa51bba67c7c3dff80f65cc67bd2d902a1a
 DIST python-3.8.18-docs-html.tar.bz2 6729312 BLAKE2B 
431b8d5029d09fc2f54fdc998799298ccb6571a68c735320c95469a81e62bc7c2a9ec0ec11caa9886ad6a2d643b8d715e6866c398ec153d101b16efb85cda656
 SHA512 
80bdbec04355644f4b114e74da3334b4980d783a52ac8c999ede72f39b6137d94f1aaca248a386cfa02d778a10bdd7919ad82932f0aa000b16c102c8cee67e52
 DIST python-3.9.17-docs-html.tar.bz2 7021842 BLAKE2B 
7a5e3426ea47929289078f9fd2c4fc6b833ba172701ebe9d85f6f821d28bc0bbde1cf88fc99807cc9f7031039c10f451280baf3892040b28ad4733c1e53995fb
 SHA512 
900b82f558b08058390d52b18aa2bcee4a8e74fa9555e36fc924c822506c80f002e90d51b1e6263c0dde612937b6d419e76952288ad923ffcca8562c927a8e76
+DIST python-3.9.18-docs-html.tar.bz2 7023072 BLAKE2B 
92273a711cc8c2a35104f7c35bdca50ee0e9794c72aa14e9c4e613298dd6f2ecebbe977a35f1520a8585f1ea3112e8ea8e477c0e3503b025b6cec875fe40033e
 SHA512 
d123266c72db81703c386dc0d436243a36996c39cde382939cebea31ff7a0c049470daa27efc34a3a0d55310bc6fe489ba01572ca961f67ba7a098038f2cb5af

diff --git a/app-doc/python-docs/python-docs-3.9.18.ebuild 
b/app-doc/python-docs/python-docs-3.9.18.ebuild
new file mode 100644
index 000000000000..2ab918028481
--- /dev/null
+++ b/app-doc/python-docs/python-docs-3.9.18.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="HTML documentation for Python"
+HOMEPAGE="https://www.python.org/doc/";
+SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2";
+S="${WORKDIR}/python-${PV}-docs-html"
+
+LICENSE="PSF-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86"
+
+src_install() {
+       rm -r _sources || die
+       docinto html
+       dodoc -r .
+
+       newenvd - 60python-docs-${SLOT} <<-EOF
+               
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
+       EOF
+}

Reply via email to