summaryrefslogtreecommitdiff
path: root/app-doc/python-docs/python-docs-3.13.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-10-08 18:09:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-10-08 18:09:06 +0000
commit2bc55c92c078bd0b6eb0a81a138a0cd9eb28dab3 (patch)
tree9987b7977557662ddbf1ec2e13f1213c294493aa /app-doc/python-docs/python-docs-3.13.0.ebuild
parent0a0082a8a3f182757dcf3fe63770f89cefbbd614 (diff)
downloadbaldeagleos-repo-2bc55c92c078bd0b6eb0a81a138a0cd9eb28dab3.tar.gz
baldeagleos-repo-2bc55c92c078bd0b6eb0a81a138a0cd9eb28dab3.tar.xz
baldeagleos-repo-2bc55c92c078bd0b6eb0a81a138a0cd9eb28dab3.zip
Adding metadata
Diffstat (limited to 'app-doc/python-docs/python-docs-3.13.0.ebuild')
-rw-r--r--app-doc/python-docs/python-docs-3.13.0.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-doc/python-docs/python-docs-3.13.0.ebuild b/app-doc/python-docs/python-docs-3.13.0.ebuild
new file mode 100644
index 000000000000..af0422ec51e4
--- /dev/null
+++ b/app-doc/python-docs/python-docs-3.13.0.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
+}