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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Jul 1 15:53:42 2012 UTC (2 years ago) by hattya
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
keyword ~ia64.

(Portage version: 2.1.10.65/cvs/Linux i686)

1 # Copyright 1999-2012 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.10.ebuild,v 1.5 2012/03/09 10:39:36 phajdan.jr Exp $
4
5 EAPI="3"
6 SUPPORT_PYTHON_ABIS="1"
7
8 inherit distutils
9
10 MY_P="PyYAML-${PV}"
11
12 DESCRIPTION="YAML parser and emitter for Python"
13 HOMEPAGE="http://pyyaml.org/wiki/PyYAML http://pypi.python.org/pypi/PyYAML"
14 SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
15
16 LICENSE="MIT"
17 SLOT="0"
18 KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
19 IUSE="examples libyaml"
20
21 DEPEND="libyaml? ( dev-libs/libyaml dev-python/pyrex )"
22 RDEPEND="libyaml? ( dev-libs/libyaml )"
23 RESTRICT_PYTHON_ABIS="2.4"
24
25 S="${WORKDIR}/${MY_P}"
26
27 PYTHON_MODNAME="yaml"
28
29 pkg_setup() {
30 DISTUTILS_GLOBAL_OPTIONS=($(use_with libyaml))
31 }
32
33 src_install() {
34 distutils_src_install
35 if use examples; then
36 insinto /usr/share/doc/${PF}/examples
37 doins -r examples/.
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20