38 lines
915 B
Bash
38 lines
915 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-biggles/python-biggles-1.6.6.ebuild,v 1.4 2012/02/23 05:48:17 patrick Exp $
|
|
|
|
EAPI="3"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
|
|
|
|
inherit distutils
|
|
|
|
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
|
|
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_MODNAME="biggles"
|
|
|
|
src_install() {
|
|
distutils_src_install
|
|
|
|
dodir /usr/share/doc/${PF}/examples
|
|
cp -r examples/* "${ED}usr/share/doc/${PF}/examples"
|
|
}
|