diff options
| author | Sam James <sam@gentoo.org> | 2025-06-04 03:24:18 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-06-04 03:24:18 +0100 |
| commit | 6d4a53da02fac36accd0bfbd471936657b51560b (patch) | |
| tree | 04eed189e7969bfd0d59cef6bb41445287232cda /app-doc/python-docs/python-docs-3.12.11.ebuild | |
| parent | df9b9bff891a9e3b27fc9916c29c688e65cb6464 (diff) | |
| download | gentoo-6d4a53da02fac36accd0bfbd471936657b51560b.tar.gz gentoo-6d4a53da02fac36accd0bfbd471936657b51560b.tar.bz2 gentoo-6d4a53da02fac36accd0bfbd471936657b51560b.zip | |
app-doc/python-docs: add 3.12.11
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc/python-docs/python-docs-3.12.11.ebuild')
| -rw-r--r-- | app-doc/python-docs/python-docs-3.12.11.ebuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-doc/python-docs/python-docs-3.12.11.ebuild b/app-doc/python-docs/python-docs-3.12.11.ebuild new file mode 100644 index 000000000000..9c9d4fd4176e --- /dev/null +++ b/app-doc/python-docs/python-docs-3.12.11.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~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 +} |
