blob: c2ed7f311566ae1ef7c14ad72de7cab556e69480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2017 Gentoo Foundation
# 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="*"
IUSE="pdf"
src_prepare() {
default
}
src_install() {
insinto "/usr/share/doc/${PN}-${SLOT}"
use pdf && dodoc "${P}.pdf"
doins -r *
}
|