public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kacper Kowalik" <xarthisius@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pyqtgraph/
Date: Sat,  7 Sep 2013 12:45:37 +0000 (UTC)	[thread overview]
Message-ID: <1378551012.3a362a3d194f1d025ad492a54f9186fe17a19469.xarthisius@gentoo> (raw)

commit:     3a362a3d194f1d025ad492a54f9186fe17a19469
Author:     Guillaume Poulin <poulin.guillaume <AT> gmail <DOT> com>
AuthorDate: Sat Sep  7 10:50:12 2013 +0000
Commit:     Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Sat Sep  7 10:50:12 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3a362a3d

Add dev-python/pyqtgraph

Package-Manager: portage-2.2.1

---
 dev-python/pyqtgraph/ChangeLog              |  9 ++++++++
 dev-python/pyqtgraph/metadata.xml           | 14 +++++++++++++
 dev-python/pyqtgraph/pyqtgraph-0.9.7.ebuild | 32 +++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-python/pyqtgraph/ChangeLog b/dev-python/pyqtgraph/ChangeLog
new file mode 100644
index 0000000..7aad076
--- /dev/null
+++ b/dev-python/pyqtgraph/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/pyqtgraph
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*pyqtgraph-0.9.7 (07 Sep 2013)
+
+  07 Sep 2013; Guillaume Poulin <poulin.guillaume@gmail.com> +metadata.xml,
+  +pyqtgraph-0.9.7.ebuild:
+  Add dev-python/pyqtgraph

diff --git a/dev-python/pyqtgraph/metadata.xml b/dev-python/pyqtgraph/metadata.xml
new file mode 100644
index 0000000..b05689e
--- /dev/null
+++ b/dev-python/pyqtgraph/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>sci</herd>
+	<longdescription>
+		PyQtGraph is a pure-python graphics and GUI library built on
+		PyQt4/PySide and numpy. It is intended for use in mathematics /
+		scientific / engineering applications. Despite being written entirely
+		in python, the library is very fast due to its heavy leverage of numpy
+		for number crunching and Qt's GraphicsView framework for fast display.
+		PyQtGraph is distributed under the MIT open-source license.
+	</longdescription>
+	<use><flag name="example">Install example of code</flag></use>
+</pkgmetadata>

diff --git a/dev-python/pyqtgraph/pyqtgraph-0.9.7.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.9.7.ebuild
new file mode 100644
index 0000000..5d8f7f5
--- /dev/null
+++ b/dev-python/pyqtgraph/pyqtgraph-0.9.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure-python graphics and GUI library built on PyQt4/PySide and numpy."
+HOMEPAGE="http://www.pyqtgraph.org/"
+SRC_URI="http://www.pyqtgraph.org/downloads/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-linux"
+IUSE="opengl example"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+	dev-python/numpy
+	sci-libs/scipy
+	opengl? ( dev-python/pyopengl )
+	|| ( >=dev-python/PyQt4-4.7.0 dev-python/pyside )"
+
+src_prepare() {
+	use opengl || rm -r pyqtgraph/opengl
+	if ! use example; then
+		 sed -i -e '/package_dir/d' setup.py || die "Unable to remove example"
+		 sed -i -e "s/+ \['pyqtgraph\.examples'\]//" setup.py || die "Unable to remove example"
+	fi
+}


             reply	other threads:[~2013-09-07 12:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-07 12:45 Kacper Kowalik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-11-25 18:48 [gentoo-commits] proj/sci:master commit in: dev-python/pyqtgraph/ Justin Lecher
2013-09-07 12:45 Kacper Kowalik
2013-09-07 12:45 Kacper Kowalik

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=1378551012.3a362a3d194f1d025ad492a54f9186fe17a19469.xarthisius@gentoo \
    --to=xarthisius@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