diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-05-13 10:11:17 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-05-13 10:11:17 +0000 |
commit | 2aea9b74f4241f50d82bf6a9a71672b68f6d5661 (patch) | |
tree | 60df5302b0efe744e2380ae735e2a9a767b3344d /dev-python/configobj | |
parent | Revbump. Added patch from distutils mailing list by Augie Fackler for subvers... (diff) | |
download | gentoo-2-2aea9b74f4241f50d82bf6a9a71672b68f6d5661.tar.gz gentoo-2-2aea9b74f4241f50d82bf6a9a71672b68f6d5661.tar.bz2 gentoo-2-2aea9b74f4241f50d82bf6a9a71672b68f6d5661.zip |
Version bump. Quoting.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'dev-python/configobj')
-rw-r--r-- | dev-python/configobj/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/configobj/configobj-4.4.0-r1.ebuild | 7 | ||||
-rw-r--r-- | dev-python/configobj/configobj-4.5.2.ebuild | 44 |
3 files changed, 55 insertions, 6 deletions
diff --git a/dev-python/configobj/ChangeLog b/dev-python/configobj/ChangeLog index 75e5d075bc6d..d9d5735f133a 100644 --- a/dev-python/configobj/ChangeLog +++ b/dev-python/configobj/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/configobj -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.4 2007/07/05 20:15:12 pythonhead Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.5 2008/05/13 10:11:17 hawking Exp $ + +*configobj-4.5.2 (13 May 2008) + + 13 May 2008; Ali Polatel <hawking@gentoo.org> configobj-4.4.0-r1.ebuild, + +configobj-4.5.2.ebuild: + Version bump. Quoting. 05 Jul 2007; Rob Cakebread <pythonhead@gentoo.org> configobj-4.4.0-r1.ebuild: diff --git a/dev-python/configobj/configobj-4.4.0-r1.ebuild b/dev-python/configobj/configobj-4.4.0-r1.ebuild index be5e37bb438f..1196c7efc9b7 100644 --- a/dev-python/configobj/configobj-4.4.0-r1.ebuild +++ b/dev-python/configobj/configobj-4.4.0-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-4.4.0-r1.ebuild,v 1.2 2007/07/05 20:15:12 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-4.4.0-r1.ebuild,v 1.3 2008/05/13 10:11:17 hawking Exp $ NEED_PYTHON=2.3 @@ -20,8 +20,7 @@ DEPEND="dev-python/setuptools RDEPEND="" src_unpack() { - unpack ${A} - cd ${S} + distutils_src_unpack sed -i -e 's/distutils.core/setuptools/' setup.py || die 'sed failed' } diff --git a/dev-python/configobj/configobj-4.5.2.ebuild b/dev-python/configobj/configobj-4.5.2.ebuild new file mode 100644 index 000000000000..e16721b9388d --- /dev/null +++ b/dev-python/configobj/configobj-4.5.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-4.5.2.ebuild,v 1.1 2008/05/13 10:11:17 hawking Exp $ + +NEED_PYTHON=2.3 + +inherit distutils + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Simple but powerful config file reader and writer: an ini file round tripper." +HOMEPAGE="http://www.voidspace.org.uk/python/configobj.html" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" +LICENSE="BSD" +SLOT="0" +IUSE="doc" + +DEPEND="dev-python/setuptools + app-arch/unzip" +RDEPEND="" + +src_unpack() { + distutils_src_unpack + sed -i \ + -e 's/distutils.core/setuptools/' setup.py || die 'sed failed' +} + +src_install() { + DOCS="CONFIGOBJ_CHANGELOG_TODO.txt docs/configobj.txt docs/validate.txt" + distutils_src_install + + if use doc ; then + dohtml -r docs/* + fi +} + +src_test() { + distutils_python_version + sed -i \ + -e 's/ \(doctest\.testmod(.*\)/ sys.exit(\1[0] != 0)/' \ + configobj_test.py + "${python}" configobj_test.py -v || die "configobj_test.py failed" +} + |