blob: 00cf9dc1fe831a3d9d15e39536d951542e7e26ed (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit distutils
MY_P=${P/pyyaml/PyYAML}
DESCRIPTION="PyYAML is a YAML parser and emitter for the Python programming language."
HOMEPAGE="http://pyyaml.org/"
SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE="examples"
DEPEND=""
RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_P}
src_install() {
distutils_src_install
if use examples ; then
insinto /usr/share/pyyaml
doins -r examples
fi
}
|