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>
This commit is contained in:
Leonardo Hernández Hernández
2023-10-15 18:57:02 -06:00
committed by Joonas Niilola
parent c61c407ec5
commit 275506a467
2 changed files with 23 additions and 23 deletions

View File

@@ -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 *
}

View File

@@ -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 ./*
}