commit:     68a2c4a3d0da1e9c4869344aad55c78cd89b118f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 18:21:30 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 19:30:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a2c4a3

dev-python/python-docs: Bump to 2.7.17

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

 dev-python/python-docs/Manifest                  |  1 +
 dev-python/python-docs/python-docs-2.7.17.ebuild | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/python-docs/Manifest b/dev-python/python-docs/Manifest
index 487381d2546..97fe12865c1 100644
--- a/dev-python/python-docs/Manifest
+++ b/dev-python/python-docs/Manifest
@@ -1,4 +1,5 @@
 DIST python-2.7.14-docs-html.tar.bz2 4604956 BLAKE2B 
743f3cf0c741916d2efbf8ebdee077800dad7d9e38fc7a2f60e2fb8f0e3dd3978fda8b286fccd6cbba87ed3e6fd289401019131c00a03809a1528533cd29488d
 SHA512 
3a8c0e8d083880e5e174090eb39514b27b0f00021b3874a2ffcfcaf4d43020764d9d8415d2387e0ce8e59e6e193571cbad06dbfdd1d30f8be06e1f27b375bc10
+DIST python-2.7.17-docs-html.tar.bz2 4605137 BLAKE2B 
40d67a1443fd8df792e6721354efd62116352980e9353f7d334d4f8f1fba64ed7fd87b011cf1ebf47822607bb0ae970d47246bb83370cc922a51a85fd433357e
 SHA512 
e0f1b2c75297dfb7b0b8913423db0d6ee9fde171b346831244fae5a783c2f834ef49dd137d835d4f052bb65a5962e051835b298271ad679dcf19b1d9118d968b
 DIST python-3.4.5-docs-html.tar.bz2 5521895 BLAKE2B 
59a9e1dfc6339edf2d8de498013383fdf8c132dd4f2e58c9054ea22229a305a2aa140d8d4e1703297c089ac206081d97fd0100bb6f90c0b7353f30f9df3d3274
 SHA512 
241a2bf46a2ae6606bcdf60c456e909d5c84c8c82661f38b621a91869c51dd0be980a5d7023d12fe98c2eb60b0ad913c67e7f94698c7ad1015d56c6592504bc2
 DIST python-3.4.6-docs-html.tar.bz2 5517260 BLAKE2B 
c8e605a3b27358c22e2047241a4b92b3918a6fff0ef3b8cc8153ca6fd8d17eb38e58f83f47e27a0b19ef73f3a8339f28dfcce7df621c1deeadc6fb746522d2e9
 SHA512 
a561ca54fe3fd8b9f1a419eb95ffd6001eaa303bf0b5ba75f726915d94926d3ddde0b918cd7ac8897e202b61226832d332aeb748ea1cda22db09132ce64c7c0d
 DIST python-3.5.4-docs-html.tar.bz2 5747840 BLAKE2B 
013791c8d0023ffa3d3e07ecfbb82dd36d2fc3e14514f4e14ba90e3d65d05aa4c3ec7cf7c86fe88090dfa0323c444acdefafa36aa315c98db1b5f7af9c0bd5fe
 SHA512 
b1c6028e91bdb0a85a6765ab66c50574804f0aa799c6d13ed4163e6aaba98eeecfacd8576fbb6a721028fe84049ac1718497ad491f993973e3e410a660a10084

diff --git a/dev-python/python-docs/python-docs-2.7.17.ebuild 
b/dev-python/python-docs/python-docs-2.7.17.ebuild
new file mode 100644
index 00000000000..5f4f8298193
--- /dev/null
+++ b/dev-python/python-docs/python-docs-2.7.17.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 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 
~sh ~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