commit:     275506a467cef9ec9cf5b4c81f61eabc6f3f76a6
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Mon Oct 16 00:57:02 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Dec  1 07:52:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275506a4

app-doc/diveintopython: update EAPI 6 -> 8

Closes: https://bugs.gentoo.org/799275
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33504
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-doc/diveintopython/diveintopython-3-r1.ebuild | 23 -----------------------
 app-doc/diveintopython/diveintopython-3-r2.ebuild | 23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-3-r1.ebuild 
b/app-doc/diveintopython/diveintopython-3-r1.ebuild
deleted file mode 100644
index d35d122240ca..000000000000
--- a/app-doc/diveintopython/diveintopython-3-r1.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3"
-HOMEPAGE="http://www.diveintopython3.net/";
-
-SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
-       pdf? (
-               https://dev.gentoo.org/~monsieurp/packages/${P}-pdf.tar.gz
-       )"
-
-LICENSE="CC-BY-SA-3.0"
-SLOT="3"
-KEYWORDS="amd64 ppc ppc64 ~riscv x86"
-IUSE="pdf"
-
-src_install() {
-       insinto "/usr/share/doc/${PN}-${SLOT}"
-       use pdf && doins "${P}.pdf"
-       doins -r *
-}

diff --git a/app-doc/diveintopython/diveintopython-3-r2.ebuild 
b/app-doc/diveintopython/diveintopython-3-r2.ebuild
new file mode 100644
index 000000000000..ad40d614daa6
--- /dev/null
+++ b/app-doc/diveintopython/diveintopython-3-r2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3"
+HOMEPAGE="https://www.diveintopython3.net/";
+
+SRC_URI="
+       https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
+       https://dev.gentoo.org/~monsieurp/packages/${P}-pdf.tar.gz
+"
+
+LICENSE="CC-BY-SA-3.0"
+SLOT="3"
+KEYWORDS="amd64 ppc ppc64 ~riscv x86"
+
+src_install() {
+       dodoc ${P}.pdf
+       rm ${P}.pdf || die
+       docinto html
+       dodoc -r ./*
+}

Reply via email to