You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
536 B
24 lines
536 B
# 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 *
|
|
}
|