summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-15 15:13:07 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-15 15:13:07 +0000
commit28f4aba03b9cfb05bdc6235847e11e4c82e5b035 (patch)
treed308d30c0e31f72746d7ee8ccf68b89cc92f6756 /dev-python/pyyaml
parentBump to 2.6 (diff)
downloadgentoo-2-28f4aba03b9cfb05bdc6235847e11e4c82e5b035.tar.gz
gentoo-2-28f4aba03b9cfb05bdc6235847e11e4c82e5b035.tar.bz2
gentoo-2-28f4aba03b9cfb05bdc6235847e11e4c82e5b035.zip
Bump to 3.08
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyyaml')
-rw-r--r--dev-python/pyyaml/ChangeLog9
-rw-r--r--dev-python/pyyaml/pyyaml-3.08.ebuild41
2 files changed, 48 insertions, 2 deletions
diff --git a/dev-python/pyyaml/ChangeLog b/dev-python/pyyaml/ChangeLog
index 2c9706907357..01aa7cfd746a 100644
--- a/dev-python/pyyaml/ChangeLog
+++ b/dev-python/pyyaml/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyyaml
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/ChangeLog,v 1.4 2008/08/06 19:22:02 neurogeek Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/ChangeLog,v 1.5 2009/02/15 15:13:07 patrick Exp $
+
+*pyyaml-3.08 (15 Feb 2009)
+
+ 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> +pyyaml-3.08.ebuild:
+ Bump to 3.08
06 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/dev-python/pyyaml/pyyaml-3.08.ebuild b/dev-python/pyyaml/pyyaml-3.08.ebuild
new file mode 100644
index 000000000000..1b2f9289e3bd
--- /dev/null
+++ b/dev-python/pyyaml/pyyaml-3.08.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/pyyaml-3.08.ebuild,v 1.1 2009/02/15 15:13:07 patrick Exp $
+
+NEED_PYTHON="2.3"
+
+inherit distutils
+
+MY_P="PyYAML-${PV}"
+
+DESCRIPTION="YAML parser and emitter for Python"
+HOMEPAGE="http://pyyaml.org/wiki/PyYAML"
+SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="examples libyaml"
+
+DEPEND="libyaml? ( dev-libs/libyaml dev-python/pyrex )"
+RDEPEND="libyaml? ( dev-libs/libyaml )"
+
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_MODNAME="yaml"
+
+src_unpack() {
+ distutils_src_unpack
+ if use libyaml; then
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-libyaml.diff"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/.
+ fi
+}