summaryrefslogtreecommitdiff
path: root/dev-python/python-biggles/python-biggles-1.6.6-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-biggles/python-biggles-1.6.6-r1.ebuild')
-rw-r--r--dev-python/python-biggles/python-biggles-1.6.6-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/python-biggles/python-biggles-1.6.6-r1.ebuild b/dev-python/python-biggles/python-biggles-1.6.6-r1.ebuild
new file mode 100644
index 00000000000..79e5fe4de4d
--- /dev/null
+++ b/dev-python/python-biggles/python-biggles-1.6.6-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN="python2-biggles"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A Python module for creating publication-quality 2D scientific plots"
+HOMEPAGE="http://biggles.sourceforge.net/"
+SRC_URI="mirror://sourceforge/biggles/${MY_P}.tar.gz"
+
+DEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ media-libs/plotutils[X]
+ x11-libs/libSM
+ x11-libs/libXext"
+RDEPEND="${DEPEND}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ia64 x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ insinto /usr/share/${PN}/
+ doins -r examples
+}