commit: 2cbe3cacd75fd25c5593eece28b2add555de2c26 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Tue Nov 18 11:43:58 2014 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Tue Nov 18 11:43:58 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=2cbe3cac
dev-python/python-graph: Bump to new python eclasses; Version BUmp Package-Manager: portage-2.2.14 --- dev-python/python-graph/ChangeLog | 8 +++- dev-python/python-graph/metadata.xml | 6 +-- dev-python/python-graph/python-graph-1.7.0.ebuild | 30 ------------ dev-python/python-graph/python-graph-1.8.2.ebuild | 56 +++++++++++++++++++++++ 4 files changed, 66 insertions(+), 34 deletions(-) diff --git a/dev-python/python-graph/ChangeLog b/dev-python/python-graph/ChangeLog index 3d4d21c..4268444 100644 --- a/dev-python/python-graph/ChangeLog +++ b/dev-python/python-graph/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for dev-python/python-graph -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*python-graph-1.8.2 (18 Nov 2014) + + 18 Nov 2014; Justin Lecher <[email protected]> -python-graph-1.7.0.ebuild, + +python-graph-1.8.2.ebuild, metadata.xml: + Bump to new python eclasses; Version BUmp + 27 Oct 2011; Justin Lecher <[email protected]> metadata.xml: Removed no-herd from herd tag in metadata.xml diff --git a/dev-python/python-graph/metadata.xml b/dev-python/python-graph/metadata.xml index cc3fe24..a759be0 100644 --- a/dev-python/python-graph/metadata.xml +++ b/dev-python/python-graph/metadata.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer> - <email>[email protected]</email> - </maintainer> + <maintainer> + <email>[email protected]</email> + </maintainer> </pkgmetadata> diff --git a/dev-python/python-graph/python-graph-1.7.0.ebuild b/dev-python/python-graph/python-graph-1.7.0.ebuild deleted file mode 100644 index 9550636..0000000 --- a/dev-python/python-graph/python-graph-1.7.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 - -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils - -DESCRIPTION="Library for working with graphs in Python" -HOMEPAGE="http://code.google.com/p/python-graph/" -SRC_URI="http://python-graph.googlecode.com/files/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="" -IUSE="" # TODO tests - -DISTUTILS_SETUP_FILES=("core|setup.py" "dot|setup.py") - -src_install() { - distutils_src_install - - insinto /usr/share/${PF}/doc - doins docs/* || die 'doins failed' - - dodoc README Changelog || die 'dodoc failed' -} diff --git a/dev-python/python-graph/python-graph-1.8.2.ebuild b/dev-python/python-graph/python-graph-1.8.2.ebuild new file mode 100644 index 0000000..735b38e --- /dev/null +++ b/dev-python/python-graph/python-graph-1.8.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Library for working with graphs in Python" +HOMEPAGE="http://code.google.com/p/python-graph/" +SRC_URI="http://python-graph.googlecode.com/files/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="" # TODO tests + +S="${WORKDIR}"/${PN} + +src_prepare() { + local dir + for dir in core dot; do + pushd ${dir} > /dev/null + distutils-r1_src_prepare + popd > /dev/null + done +} + +src_configure() { + local dir + for dir in core dot; do + pushd ${dir} > /dev/null + distutils-r1_src_configure + popd > /dev/null + done +} + +src_compile() { + local dir + for dir in core dot; do + pushd ${dir} > /dev/null + distutils-r1_src_compile + popd > /dev/null + done +} + +src_install() { + local dir + for dir in core dot; do + pushd ${dir} > /dev/null + distutils-r1_src_install + popd > /dev/null + done +}
