diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/Manifest new file mode 100644 index 0000000000..2c48fa692e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/Manifest @@ -0,0 +1,2 @@ +DIST PyYAML-3.08.tar.gz 229297 RMD160 fe034d73a8cdc98381099106ac8884d6b6f917d8 SHA1 5f9738b74afabcf516ce536b462cb4d18403211d SHA256 24b08038259c81e2c349a5601a5682b7e4e5167d1db7af576cf2b32c6b59412f +DIST PyYAML-3.09.tar.gz 238383 RMD160 b5a5228db448e9c9507682cb36f620596a4a234c SHA1 6131d6a42bbd3e88d7efa3784d69395a136267be SHA256 30076d51387cca35d461c8b36408de189d31f17e44d45cd2200bbd2d02f555c1 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/files/pyyaml-3.05-libyaml.diff b/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/files/pyyaml-3.05-libyaml.diff new file mode 100644 index 0000000000..1c1a3a690e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/files/pyyaml-3.05-libyaml.diff @@ -0,0 +1,23 @@ +diff -Naur PyYAML-3.05.orig/setup.py PyYAML-3.05/setup.py +--- PyYAML-3.05.orig/setup.py 2007-05-12 23:28:55.000000000 +0200 ++++ PyYAML-3.05/setup.py 2007-10-16 02:29:57.000000000 +0200 +@@ -31,6 +31,8 @@ + ] + + from distutils.core import setup ++from distutils.extension import Extension ++from Pyrex.Distutils import build_ext + + if __name__ == '__main__': + +@@ -49,5 +51,10 @@ + + package_dir={'': 'lib'}, + packages=['yaml'], ++ ext_modules=[ ++ Extension("_yaml", ["ext/_yaml.pyx"], libraries=['yaml']), ++ ], ++ ++ cmdclass = {'build_ext': build_ext} + ) + diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/pyyaml-3.09.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/pyyaml-3.09.ebuild new file mode 100644 index 0000000000..db665374ca --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/pyyaml/pyyaml-3.09.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/pyyaml-3.09.ebuild,v 1.9 2010/09/30 09:06:43 grobian Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +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 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_MODNAME="yaml" + +pkg_setup() { + DISTUTILS_GLOBAL_OPTIONS=($(use_with libyaml)) +} + +src_install() { + distutils_src_install + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/. + fi +}