diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-31 23:04:34 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-31 23:04:34 +0000 |
commit | 67f4ea70d0d5e6b1a85aaf3f91cc5da15e125298 (patch) | |
tree | 775b0e53b27bd2656bf142ec93fd1fa910c17277 /dev-python/odfpy | |
parent | Making CONFIG_CHECK non-fatal for userland ebuilds, see bug 283320. (diff) | |
download | gentoo-2-67f4ea70d0d5e6b1a85aaf3f91cc5da15e125298.tar.gz gentoo-2-67f4ea70d0d5e6b1a85aaf3f91cc5da15e125298.tar.bz2 gentoo-2-67f4ea70d0d5e6b1a85aaf3f91cc5da15e125298.zip |
Version bump. Set SUPPORT_PYTHON_ABIS.
(Portage version: 14174-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/odfpy')
-rw-r--r-- | dev-python/odfpy/ChangeLog | 12 | ||||
-rw-r--r-- | dev-python/odfpy/odfpy-0.9.1.ebuild | 39 |
2 files changed, 46 insertions, 5 deletions
diff --git a/dev-python/odfpy/ChangeLog b/dev-python/odfpy/ChangeLog index 95a4b21099eb..724d77ded1f7 100644 --- a/dev-python/odfpy/ChangeLog +++ b/dev-python/odfpy/ChangeLog @@ -1,13 +1,15 @@ # ChangeLog for dev-python/odfpy # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/odfpy/ChangeLog,v 1.2 2009/04/18 20:17:53 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/odfpy/ChangeLog,v 1.3 2009/08/31 23:04:34 arfrever Exp $ - 18 Apr 2009; Patrick Lauer <patrick@gentoo.org> ChangeLog: - Ebuild originally by Richard Ash. Sorry for the misatribution. +*odfpy-0.9.1 (31 Aug 2009) + + 31 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +odfpy-0.9.1.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. *odfpy-0.7 (18 Apr 2009) 18 Apr 2009; Patrick Lauer <patrick@gentoo.org> +metadata.xml, +odfpy-0.7.ebuild: - Initial import of odfpy. Ebuild by Guillaume Romanczyk, closes #266519 - + Initial import of odfpy. Ebuild by Richard Ash, closes #266168 diff --git a/dev-python/odfpy/odfpy-0.9.1.ebuild b/dev-python/odfpy/odfpy-0.9.1.ebuild new file mode 100644 index 000000000000..437aa4cee50a --- /dev/null +++ b/dev-python/odfpy/odfpy-0.9.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/odfpy/odfpy-0.9.1.ebuild,v 1.1 2009/08/31 23:04:34 arfrever Exp $ + +EAPI="2" + +NEED_PYTHON="2.4" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="Python interface to Open Document Format" +HOMEPAGE="http://opendocumentfellowship.com/development/projects/odfpy" +SRC_URI="http://pypi.python.org/packages/source/o/odfpy/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +RESTRICT_PYTHON_ABIS="3*" + +PYTHON_MODNAME="odf" + +src_test() { + testing() { + pushd tests > /dev/null || die + local test + for test in test*.py; do + echo -e "\e[1;31mRunning ${test}...\e[0m" + PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" "${test}" || die "${test} failed with Python ${PYTHON_ABI}" + done + popd > /dev/null || die + } + python_execute_function testing +} |