diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-02-16 22:21:47 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-02-16 22:21:47 +0000 |
commit | be287f91ef93070626000e273b011767116ff394 (patch) | |
tree | 35c66b9cad8485de9a5fb88209be178502fdcd1b /dev-python/pyyaml | |
parent | Improve support for hardened kernels, bug \# 457176, thanks Marcin (diff) | |
download | gentoo-2-be287f91ef93070626000e273b011767116ff394.tar.gz gentoo-2-be287f91ef93070626000e273b011767116ff394.tar.bz2 gentoo-2-be287f91ef93070626000e273b011767116ff394.zip |
Fix the dependencies, fix installing examples and run tests.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/pyyaml')
-rw-r--r-- | dev-python/pyyaml/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/pyyaml/pyyaml-3.10-r1.ebuild | 17 |
2 files changed, 15 insertions, 7 deletions
diff --git a/dev-python/pyyaml/ChangeLog b/dev-python/pyyaml/ChangeLog index 080aaeab8ae8..a8c84961acc7 100644 --- a/dev-python/pyyaml/ChangeLog +++ b/dev-python/pyyaml/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/pyyaml # 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/ChangeLog,v 1.30 2013/02/16 22:21:47 mgorny Exp $ + + 16 Feb 2013; Michał Górny <mgorny@gentoo.org> pyyaml-3.10-r1.ebuild: + Fix the dependencies, fix installing examples and run tests. *pyyaml-3.10-r1 (17 Jan 2013) diff --git a/dev-python/pyyaml/pyyaml-3.10-r1.ebuild b/dev-python/pyyaml/pyyaml-3.10-r1.ebuild index f6bec8b3c205..4e1551ff4367 100644 --- a/dev-python/pyyaml/pyyaml-3.10-r1.ebuild +++ b/dev-python/pyyaml/pyyaml-3.10-r1.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyyaml/pyyaml-3.10-r1.ebuild,v 1.2 2013/02/16 22:21:47 mgorny Exp $ EAPI=5 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} ) @@ -18,8 +18,9 @@ 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 )" +DEPEND="${RDEPEND} + libyaml? ( dev-python/cython[${PYTHON_USEDEP}] )" S="${WORKDIR}/${MY_P}" @@ -27,10 +28,14 @@ python_configure_all() { mydistutilsargs=($(use_with libyaml)) } -src_install() { - distutils-r1_src_install +python_test() { + esetup.py test +} + +python_install_all() { + distutils-r1_python_install_all if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r examples/. + dodoc -r examples + docompress -x /usr/share/doc/${PF} fi } |