public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-python/python-graph/
Date: Tue, 18 Nov 2014 15:07:16 +0000 (UTC)	[thread overview]
Message-ID: <1416311038.2cbe3cacd75fd25c5593eece28b2add555de2c26.jlec@gentoo> (raw)

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 <jlec@gentoo.org> -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 <jlec@gentoo.org> 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>maintainer-wanted@gentoo.org</email>
-	</maintainer>
+  <maintainer>
+    <email>maintainer-wanted@gentoo.org</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
+}


             reply	other threads:[~2014-11-18 15:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 15:07 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-27 18:02 [gentoo-commits] proj/betagarden:master commit in: dev-python/python-graph/ Justin Lecher
2011-09-13 13:57 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1416311038.2cbe3cacd75fd25c5593eece28b2add555de2c26.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox