summaryrefslogtreecommitdiff
blob: 9940cc1ffedd3bcd327638015455b0208b30eaea (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
28
29
30
31
32
33
34
35
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit eutils

DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3"
HOMEPAGE="http://www.diveintopython3.net/"

SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
	pdf? (
		http://dev.gentoo.org/~monsieurp/packages/${P}-pdf.tar.gz
	)"

LICENSE="CC-BY-SA-3.0"
SLOT="3"

KEYWORDS="amd64 ppc64 ppc x86"

IUSE="pdf"

DEPEND=""
RDEPEND="${DEPEND}"

src_prepare() {
	default
}

src_install() {
	insinto "/usr/share/doc/${PN}-${SLOT}"
	use pdf && dodoc "${P}.pdf"
	doins -r *
}