summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-10-15 18:57:02 -0600
committerJoonas Niilola <juippis@gentoo.org>2023-12-01 09:52:17 +0200
commit275506a467cef9ec9cf5b4c81f61eabc6f3f76a6 (patch)
treeefe1b198a5a2a072dacb8a3d6f8a494410814b67 /app-doc
parentapp-dicts/wnn-ldic: update EAPI 6 -> 8 (diff)
downloadgentoo-275506a467cef9ec9cf5b4c81f61eabc6f3f76a6.tar.gz
gentoo-275506a467cef9ec9cf5b4c81f61eabc6f3f76a6.tar.bz2
gentoo-275506a467cef9ec9cf5b4c81f61eabc6f3f76a6.zip
app-doc/diveintopython: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/799275 Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> Closes: https://github.com/gentoo/gentoo/pull/33504 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/diveintopython/diveintopython-3-r1.ebuild23
-rw-r--r--app-doc/diveintopython/diveintopython-3-r2.ebuild23
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 ./*
+}