diff options
author | 2013-01-17 22:57:12 +0000 | |
---|---|---|
committer | 2013-01-17 22:57:12 +0000 | |
commit | 31f748da63596d7300327d1f60f32a0a9e2b05e3 (patch) | |
tree | 7b9d4cff96ff0c5a38ac03e951b55ab1710d6b9e /dev-python | |
parent | Migrate to distutils-r1. (diff) | |
download | gentoo-2-31f748da63596d7300327d1f60f32a0a9e2b05e3.tar.gz gentoo-2-31f748da63596d7300327d1f60f32a0a9e2b05e3.tar.bz2 gentoo-2-31f748da63596d7300327d1f60f32a0a9e2b05e3.zip |
Revision bump, port to distutils-r1
(Portage version: 2.1.11.42/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyyaml/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pyyaml/pyyaml-3.10-r1.ebuild | 36 |
2 files changed, 43 insertions, 3 deletions
diff --git a/dev-python/pyyaml/ChangeLog b/dev-python/pyyaml/ChangeLog index b872277a7d93..080aaeab8ae8 100644 --- a/dev-python/pyyaml/ChangeLog +++ b/dev-python/pyyaml/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pyyaml -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/ChangeLog,v 1.28 2012/07/01 15:53:42 hattya Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/ChangeLog,v 1.29 2013/01/17 22:57:12 chutzpah Exp $ + +*pyyaml-3.10-r1 (17 Jan 2013) + + 17 Jan 2013; Patrick McLean <chutzpah@gentoo.org> +pyyaml-3.10-r1.ebuild: + Revision bump, port to distutils-r1 01 Jul 2012; Akinori Hattori <hattya@gentoo.org> pyyaml-3.10.ebuild: keyword ~ia64. @@ -100,4 +105,3 @@ 05 Oct 2007; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml, +pyyaml-3.05.ebuild: initial commit. - diff --git a/dev-python/pyyaml/pyyaml-3.10-r1.ebuild b/dev-python/pyyaml/pyyaml-3.10-r1.ebuild new file mode 100644 index 000000000000..f6bec8b3c205 --- /dev/null +++ b/dev-python/pyyaml/pyyaml-3.10-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/pyyaml-3.10-r1.ebuild,v 1.1 2013/01/17 22:57:12 chutzpah Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} ) + +inherit distutils-r1 + +MY_P="PyYAML-${PV}" + +DESCRIPTION="YAML parser and emitter for Python" +HOMEPAGE="http://pyyaml.org/wiki/PyYAML http://pypi.python.org/pypi/PyYAML" +SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +IUSE="examples libyaml" + +DEPEND="libyaml? ( dev-libs/libyaml dev-python/pyrex )" +RDEPEND="libyaml? ( dev-libs/libyaml )" + +S="${WORKDIR}/${MY_P}" + +python_configure_all() { + mydistutilsargs=($(use_with libyaml)) +} + +src_install() { + distutils-r1_src_install + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/. + fi +} |