diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-03-26 19:00:04 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-03-26 19:00:04 +0000 |
commit | 8ee8aef3757e106744456bb0be20eaca5bff723b (patch) | |
tree | ba2b0f9319598945a0cb3375641d269f048c5da7 /dev-python/elementtree | |
parent | Renaming zendoptimizerplus to zendopcache (diff) | |
download | gentoo-2-8ee8aef3757e106744456bb0be20eaca5bff723b.tar.gz gentoo-2-8ee8aef3757e106744456bb0be20eaca5bff723b.tar.bz2 gentoo-2-8ee8aef3757e106744456bb0be20eaca5bff723b.zip |
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'dev-python/elementtree')
-rw-r--r-- | dev-python/elementtree/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/elementtree/elementtree-1.2.6-r3.ebuild | 39 |
2 files changed, 46 insertions, 3 deletions
diff --git a/dev-python/elementtree/ChangeLog b/dev-python/elementtree/ChangeLog index afaf3c70830a..4062505959c1 100644 --- a/dev-python/elementtree/ChangeLog +++ b/dev-python/elementtree/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/elementtree -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/ChangeLog,v 1.39 2010/07/08 15:43:42 arfrever Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/ChangeLog,v 1.40 2013/03/26 19:00:04 mgorny Exp $ + +*elementtree-1.2.6-r3 (26 Mar 2013) + + 26 Mar 2013; Michał Górny <mgorny@gentoo.org> +elementtree-1.2.6-r3.ebuild: + Migrate to distutils-r1. 08 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> elementtree-1.2.6-r2.ebuild: @@ -155,4 +160,3 @@ 05 Jun 2004; <lucass@gentoo.org> : Initial commit. Bug #44870. Thanks for Martin Klaffenboeck and Jacob Smullyan. - diff --git a/dev-python/elementtree/elementtree-1.2.6-r3.ebuild b/dev-python/elementtree/elementtree-1.2.6-r3.ebuild new file mode 100644 index 000000000000..2d2e61bc221a --- /dev/null +++ b/dev-python/elementtree/elementtree-1.2.6-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/elementtree-1.2.6-r3.ebuild,v 1.1 2013/03/26 19:00:04 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) + +inherit distutils-r1 + +MY_P="${P}-20050316" + +DESCRIPTION="A light-weight XML object model for Python" +HOMEPAGE="http://effbot.org/zone/element-index.htm http://pypi.python.org/pypi/elementtree" +SRC_URI="http://effbot.org/downloads/${MY_P}.tar.gz" + +LICENSE="ElementTree" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + sed -e "s/distutils.core/setuptools/" -i setup.py || die "sed failed" + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" selftest.py || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} |