diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-09-07 12:47:48 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-09-07 12:48:27 +0200 |
| commit | c29bc2884a0bac249d3b2c8fefeb6c71e3111991 (patch) | |
| tree | ffcaf58f252bb5553a9120b1c42d93c33e413fb6 /app-doc/python-docs/python-docs-3.8.20.ebuild | |
| parent | ac9cdaa4f13e89576b04a519578332485d2c5144 (diff) | |
| download | gentoo-c29bc2884a0bac249d3b2c8fefeb6c71e3111991.tar.gz gentoo-c29bc2884a0bac249d3b2c8fefeb6c71e3111991.tar.bz2 gentoo-c29bc2884a0bac249d3b2c8fefeb6c71e3111991.zip | |
app-doc/python-docs: Bump to 3.8.20
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-doc/python-docs/python-docs-3.8.20.ebuild')
| -rw-r--r-- | app-doc/python-docs/python-docs-3.8.20.ebuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-doc/python-docs/python-docs-3.8.20.ebuild b/app-doc/python-docs/python-docs-3.8.20.ebuild new file mode 100644 index 000000000000..8483ad559ab4 --- /dev/null +++ b/app-doc/python-docs/python-docs-3.8.20.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2024 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 +} |
