mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
committed by
Joonas Niilola
parent
c61c407ec5
commit
275506a467
@@ -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 *
|
||||
}
|
||||
23
app-doc/diveintopython/diveintopython-3-r2.ebuild
Normal file
23
app-doc/diveintopython/diveintopython-3-r2.ebuild
Normal 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 ./*
|
||||
}
|
||||
Reference in New Issue
Block a user