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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Nov 14 06:00:12 2013 UTC (9 months, 1 week ago) by prometheanfire
Branch: MAIN
Changes since 1.3: +3 -3 lines
now with more pypy

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)

1 # Copyright 1999-2013 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-r1.ebuild,v 1.3 2013/09/05 18:46:02 mgorny Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
7
8 inherit distutils-r1
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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
19 IUSE="examples libyaml"
20
21 RDEPEND="libyaml? ( dev-libs/libyaml )"
22 DEPEND="${RDEPEND}
23 libyaml? ( dev-python/cython[${PYTHON_USEDEP}] )"
24
25 S="${WORKDIR}/${MY_P}"
26
27 python_configure_all() {
28 mydistutilsargs=($(use_with libyaml))
29 }
30
31 python_test() {
32 esetup.py test
33 }
34
35 python_install_all() {
36 distutils-r1_python_install_all
37 if use examples; then
38 dodoc -r examples
39 docompress -x /usr/share/doc/${PF}
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20