diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-08-11 16:59:32 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-08-11 16:59:32 +0000 |
commit | eb398f37ff45f97bc4a31696d85fe1d9d0e62dba (patch) | |
tree | e4b050d3947f206fec654e1182624062aa9d0a55 /dev-python/configobj | |
parent | dev-python/configobj: Fix usage of distutils-r1.eclass (diff) | |
download | gentoo-2-eb398f37ff45f97bc4a31696d85fe1d9d0e62dba.tar.gz gentoo-2-eb398f37ff45f97bc4a31696d85fe1d9d0e62dba.tar.bz2 gentoo-2-eb398f37ff45f97bc4a31696d85fe1d9d0e62dba.zip |
dev-python/configobj: Fix usage of distutils-r1.eclass
(Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python/configobj')
-rw-r--r-- | dev-python/configobj/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/configobj/configobj-4.7.2-r2.ebuild | 41 | ||||
-rw-r--r-- | dev-python/configobj/metadata.xml | 4 |
3 files changed, 50 insertions, 3 deletions
diff --git a/dev-python/configobj/ChangeLog b/dev-python/configobj/ChangeLog index 09c275045ad6..5063b991dccd 100644 --- a/dev-python/configobj/ChangeLog +++ b/dev-python/configobj/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/configobj # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.35 2013/05/25 08:01:06 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.36 2013/08/11 16:59:32 jlec Exp $ + +*configobj-4.7.2-r2 (11 Aug 2013) + + 11 Aug 2013; Justin Lecher <jlec@gentoo.org> +configobj-4.7.2-r2.ebuild, + metadata.xml: + Fix usage of distutils-r1.eclass 25 May 2013; Agostino Sarubbo <ago@gentoo.org> configobj-4.7.2-r1.ebuild: Stable for sparc, wrt bug #461154 diff --git a/dev-python/configobj/configobj-4.7.2-r2.ebuild b/dev-python/configobj/configobj-4.7.2-r2.ebuild new file mode 100644 index 000000000000..25f85c02558a --- /dev/null +++ b/dev-python/configobj/configobj-4.7.2-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-4.7.2-r2.ebuild,v 1.1 2013/08/11 16:59:32 jlec Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Simple config file reader and writer" +HOMEPAGE="http://www.voidspace.org.uk/python/configobj.html http://code.google.com/p/configobj/ http://pypi.python.org/pypi/configobj" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc" + +DEPEND="app-arch/unzip" +RDEPEND="" + +PATCHES=( "${FILESDIR}"/${P}-fix_tests.patch ) + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -e "s/ \(doctest\.testmod(.*\)/ sys.exit(\1[0] != 0)/" -i validate.py || die +} + +python_test() { + "${PYTHON}" validate.py -v || die +} + +python_install_all() { + distutils-r1_python_install_all + if use doc; then + rm -f docs/BSD* + insinto /usr/share/doc/${PF}/html + doins -r docs/* || die "doins failed" + fi +} diff --git a/dev-python/configobj/metadata.xml b/dev-python/configobj/metadata.xml index 62a5bcec69e6..0e954848c168 100644 --- a/dev-python/configobj/metadata.xml +++ b/dev-python/configobj/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>python</herd> -<longdescription lang="en"> + <herd>python</herd> + <longdescription lang="en"> ConfigObj is a simple but powerful config file reader and writer: an ini file round tripper. Its main feature is that it is very easy to use, with a straightforward programmer's interface and a simple syntax |