diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2010-01-01 23:56:50 -0600 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2010-01-01 23:56:50 -0600 |
commit | fee63ad337b7e3af7d1187f9b7ffe11049e2f6d3 (patch) | |
tree | f8ec9abb3dc8115ec0314101c7c85c6cf634296a /sci-mathematics/orange | |
parent | mlpy: Add dependencies. (diff) | |
download | dberkholz-fee63ad337b7e3af7d1187f9b7ffe11049e2f6d3.tar.gz dberkholz-fee63ad337b7e3af7d1187f9b7ffe11049e2f6d3.tar.bz2 dberkholz-fee63ad337b7e3af7d1187f9b7ffe11049e2f6d3.zip |
New package: orange: data mining / machine learning with GUI and Python interface.
Diffstat (limited to 'sci-mathematics/orange')
-rw-r--r-- | sci-mathematics/orange/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/orange/orange-2010.01.01.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-mathematics/orange/Manifest b/sci-mathematics/orange/Manifest new file mode 100644 index 0000000..5186e19 --- /dev/null +++ b/sci-mathematics/orange/Manifest @@ -0,0 +1,2 @@ +DIST orange-source-snapshot-2010-01-01.zip 11677562 RMD160 d2ea0ed8d14ec19eea06e52e2b67eeb1d7f9182f SHA1 32c08401a94f7f2ae989c64cb4f7bf15a5dd8bb2 SHA256 240a5feb3b2929b1af983fe4d21ad793ed5ec980e0bddaf1da4904513f206fde +EBUILD orange-2010.01.01.ebuild 1385 RMD160 ba76f78aa4d57a6cecff7fcada5fd500acffd304 SHA1 81fd8c497f986d689c2cfd5cad15692eb4b67b06 SHA256 236654d224e1e7472ef6302150f818d3f33ecdcbf46dba86b206953b22dd9b0d diff --git a/sci-mathematics/orange/orange-2010.01.01.ebuild b/sci-mathematics/orange/orange-2010.01.01.ebuild new file mode 100644 index 0000000..3e060a9 --- /dev/null +++ b/sci-mathematics/orange/orange-2010.01.01.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils python versionator + +MY_PV=$(replace_all_version_separators -) +DESCRIPTION="Data visualization and analysis; data mining through visual programming or Python scripting" +HOMEPAGE="http://www.ailab.si/orange/" +SRC_URI="http://www.ailab.si/orange/download/orange-source-snapshot-${MY_PV}.zip" +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND=" + dev-python/numarray + dev-python/numpy + dev-python/numeric + dev-python/matplotlib + dev-python/imaging + >=dev-python/pyqwt-5.1" +DEPEND="${RDEPEND}" + +src_compile() { + pushd source 2>/dev/null || die + sed -i \ + -e "/^COMPILER/s:g++:$(tc-getCXX):" \ + -e "/^CCOMPILER/s:gcc:$(tc-getCC):" \ + -e "/^LINKER/s:gcc:$(tc-getCC):" \ + makefile.defs \ + || die + emake \ + CXXFLAGS="${CXXFLAGS}" \ + || die + popd 2>/dev/null || die +} + +src_install() { + python_version + + ORANGE_DIR=/usr/$(get_libdir)/python${PYVER}/site-packages/orange + dodir ${ORANGE_DIR} || die + cp -r *.py *.so *.a OrangeCanvas OrangeWidgets "${D}"${ORANGE_DIR}/ || die + + dodir /usr/share/doc/${PF} + cp -r doc/* "${D}"usr/share/doc/${PF}/ || die + + make_wrapper \ + orange-canvas \ + "python ${ORANGE_DIR}/OrangeCanvas/orngCanvas.pyw" \ + || die + + # Make the orange-canvas wrapper run + echo ${ORANGE_DIR} > "${D}"${ORANGE_DIR}/orange.pth || die +} |