summaryrefslogtreecommitdiff
path: root/app-doc/python-docs/python-docs-3.13.1.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-12-04 10:38:16 +0100
committerMichał Górny <mgorny@gentoo.org>2024-12-04 10:40:26 +0100
commit2c3b6e2f34041e9ba703b96fd47866e1ba7e5495 (patch)
tree9abedafa37d73bbbc65bf36be02109ff8729323b /app-doc/python-docs/python-docs-3.13.1.ebuild
parent31c23f9b29ea3e6dddb2792c74b8a5a667aad842 (diff)
downloadgentoo-2c3b6e2f34041e9ba703b96fd47866e1ba7e5495.tar.gz
gentoo-2c3b6e2f34041e9ba703b96fd47866e1ba7e5495.tar.bz2
gentoo-2c3b6e2f34041e9ba703b96fd47866e1ba7e5495.zip
app-doc/python-docs: Bump to 3.13.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-doc/python-docs/python-docs-3.13.1.ebuild')
-rw-r--r--app-doc/python-docs/python-docs-3.13.1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-doc/python-docs/python-docs-3.13.1.ebuild b/app-doc/python-docs/python-docs-3.13.1.ebuild
new file mode 100644
index 000000000000..af0422ec51e4
--- /dev/null
+++ b/app-doc/python-docs/python-docs-3.13.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P=python-${PV}-docs-html
+DESCRIPTION="HTML documentation for Python"
+HOMEPAGE="https://www.python.org/doc/"
+SRC_URI="https://www.python.org/ftp/python/doc/${PV}/${MY_P}.tar.bz2"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="PSF-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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
+}