summaryrefslogtreecommitdiff
blob: ead1ca4b2619709d27fffe0a995fa1e6cb17cae2 (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
36
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit eutils

MY_PV="5.4"
MY_P="${PN}-${MY_PV}"

DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 2.x book"
HOMEPAGE="http://www.diveintopython.net/"
SRC_URI="http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> ${P}.zip"
LICENSE="FDL-1.1"
SLOT="2"

KEYWORDS="~amd64 ~ppc64 ~ppc ~x86"

IUSE=""

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

S="${WORKDIR}/${MY_P}"

src_prepare() {
	default
}

src_install() {
	insinto /usr/share/doc/${PN}-${SLOT}
	doins -r html/*
	insinto /usr/share/doc/${PN}-${SLOT}/examples
	doins -r py
}