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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Jul 21 08:51:10 2013 UTC (13 months, 1 week ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Cleanup due #92799

(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2010 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.09.ebuild,v 1.9 2010/09/30 09:06:43 grobian 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 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
24 S="${WORKDIR}/${MY_P}"
25
26 PYTHON_MODNAME="yaml"
27
28 pkg_setup() {
29 DISTUTILS_GLOBAL_OPTIONS=($(use_with libyaml))
30 }
31
32 src_install() {
33 distutils_src_install
34 if use examples; then
35 insinto /usr/share/doc/${PF}/examples
36 doins -r examples/.
37 fi
38 }

  ViewVC Help
Powered by ViewVC 1.1.20