* [gentoo-dev] Numerical python ebuild
@ 2001-06-25 1:17 Tod M. Neidt
0 siblings, 0 replies; only message in thread
From: Tod M. Neidt @ 2001-06-25 1:17 UTC (permalink / raw
To: gentoo-dev@cvs.gentoo.org
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
Hi!
Attached is an ebuild for the latest Numverical python module (v19.0.0)
that runs with python 2.0
The ebuild also installs the NumTut (numerical tutorial) package which
is useful for testing.
Although numerical python does not require tkinter it will use it if
available (i.e can do image processing)
If you emerge python-2.0-r4 with the tcltk USE set, you can test
numerical python by
starting up idle.py and executing the following commands in the python
shell:
>>> from NumTut import *
>>> view(greece)
you should see a pretty picture of greece.
[-- Attachment #2: Numeric-19.0.0.ebuild --]
[-- Type: text/plain, Size: 795 bytes --]
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Tod M. Neidt <tneidt@fidnet.com>
# /home/cvsroot/gentoo-x86/dev-python/numerical-python/Numeric-19.0.0.ebuild,v 1.4 2001/06/04 21:57:52 achim Exp
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="numerical python module"
SRC_URI="http://prdownloads.sourceforge.net/numpy/"${A}
HOMEPAGE="http://www.pfdubois.com/numpy/"
DEPEND="virtual/python"
PYTHON_VERSION=
src_compile() {
cd ${S}
try python setup_all.py build
}
src_install() {
cd ${S}
try python setup_all.py install --prefix=${D}/usr
dodoc MANIFEST
dodoc PKG-INFO
dodoc README*
#need to automate the python version in the path
mv Demo/NumTut ${D}/usr/lib/python2.0/site-packages/
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-25 7:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-25 1:17 [gentoo-dev] Numerical python ebuild Tod M. Neidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox