/[gentoo-x86]/dev-python/pyyaml/pyyaml-3.05.ebuild
Gentoo

Contents of /dev-python/pyyaml/pyyaml-3.05.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Sep 5 16:14:41 2009 UTC (5 years, 3 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Really remove 3.05 now
(Portage version: 2.2_rc40/cvs/Linux x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/pyyaml-3.05.ebuild,v 1.4 2007/12/31 05:35:24 vapier Exp $
4
5 NEED_PYTHON="2.3"
6
7 inherit distutils
8
9 MY_P="PyYAML-${PV}"
10
11 DESCRIPTION="YAML parser and emitter for Python"
12 HOMEPAGE="http://pyyaml.org/wiki/PyYAML"
13 SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
14
15 LICENSE="MIT"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
18 IUSE="examples libyaml"
19
20 DEPEND="libyaml? ( dev-libs/libyaml dev-python/pyrex )"
21 RDEPEND="libyaml? ( dev-libs/libyaml )"
22
23 S="${WORKDIR}/${MY_P}"
24
25 PYTHON_MODNAME="yaml"
26
27 src_unpack() {
28 distutils_src_unpack
29 if use libyaml; then
30 cd "${S}"
31 epatch "${FILESDIR}/${P}-libyaml.diff"
32 fi
33 }
34
35 src_install() {
36 distutils_src_install
37 if use examples; then
38 insinto /usr/share/doc/${PF}/examples
39 doins -r examples/.
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20