mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
pyyaml: update to newer rev of this ebuild
We need a newer rev of this ebuild version to work with the newer python eclass, so grab it from Gentoo. BUG=chromium-os:26016 TEST=`emerge-arm-generic pyyaml` works TEST=`emerge-amd64-generic pyyaml` works TEST=`emerge-x86-alex pyyaml` works TEST=`cbuildbot arm-generic-full` works Change-Id: I82a35db4b32e0e879f4c3ecdb7552b3d90b5f549 Reviewed-on: https://gerrit.chromium.org/gerrit/15827 Reviewed-by: David James <davidjames@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
f934f4e31c
commit
f457ec6a57
2
sdk_container/src/third_party/portage-stable/dev-python/pyyaml/Manifest
vendored
Normal file
2
sdk_container/src/third_party/portage-stable/dev-python/pyyaml/Manifest
vendored
Normal file
@ -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
|
23
sdk_container/src/third_party/portage-stable/dev-python/pyyaml/files/pyyaml-3.05-libyaml.diff
vendored
Normal file
23
sdk_container/src/third_party/portage-stable/dev-python/pyyaml/files/pyyaml-3.05-libyaml.diff
vendored
Normal file
@ -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}
|
||||||
|
)
|
||||||
|
|
38
sdk_container/src/third_party/portage-stable/dev-python/pyyaml/pyyaml-3.09.ebuild
vendored
Normal file
38
sdk_container/src/third_party/portage-stable/dev-python/pyyaml/pyyaml-3.09.ebuild
vendored
Normal file
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user