From 24905eb23878e68a2d6b69d4f0fbcd3c03804d13 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Thu, 6 Dec 2012 20:32:34 +0000 Subject: Initial import (Portage version: 2.2.01.21313-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) --- dev-python/pyml/ChangeLog | 9 +++++++++ dev-python/pyml/Manifest | 3 +++ dev-python/pyml/metadata.xml | 9 +++++++++ dev-python/pyml/pyml-0.7.11.ebuild | 41 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 dev-python/pyml/ChangeLog create mode 100644 dev-python/pyml/Manifest create mode 100644 dev-python/pyml/metadata.xml create mode 100644 dev-python/pyml/pyml-0.7.11.ebuild (limited to 'dev-python/pyml') diff --git a/dev-python/pyml/ChangeLog b/dev-python/pyml/ChangeLog new file mode 100644 index 000000000000..f65952a865ab --- /dev/null +++ b/dev-python/pyml/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-python/pyml +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyml/ChangeLog,v 1.1 2012/12/06 20:32:34 bicatali Exp $ + +*pyml-0.7.11 (06 Dec 2012) + + 06 Dec 2012; Sébastien Fabbro +metadata.xml, + +pyml-0.7.11.ebuild: + Initial import diff --git a/dev-python/pyml/Manifest b/dev-python/pyml/Manifest new file mode 100644 index 000000000000..89bb55a85bf0 --- /dev/null +++ b/dev-python/pyml/Manifest @@ -0,0 +1,3 @@ +DIST PyML-0.7.11.tar.gz 5869461 SHA256 9b2ba1657c2e90a94072d94f62ab605f1baa8ebde2cf9a798583dd300f7eb4b6 SHA512 bc00d87fe32f6211541ff3fecd66a2f5ca2005cbcd34455339a71e2f053727f624bf88e708b25cc9d71a08f71608a038f2f5b58f0bf610796a457235e30b3571 WHIRLPOOL e19f7094482fcc08f4c989e4869a295a4f17f50d5a8bfb57760cbde2c976af98d5faefc5af94ccdda060b424da7b456d968bb88c8a28a9ed8acf367f3ff6cddd +EBUILD pyml-0.7.11.ebuild 963 SHA256 64055c755ad33af1feb7350e5a4e295f7487adfeb540ae4c6b5fffc2e9b7b534 SHA512 06b6b328348d7c87ed36bbc2cb9c45bc6a6d4465442acbcf88c208d0f323a1029abbf455fc85c7311c030ca8666de56abd88d30cca719a29913359daf2a58c76 WHIRLPOOL 66919899fcbbf7802ff11f53f67725ff1aad62ef0db79b070d6673d3e3e80f74c40dde6647c94d4079a334e092bd2fdac892e3fe4715c99b8c0e8a2706168230 +MISC metadata.xml 325 SHA256 6274384de54b66ff285ef7e5acf0cf3b1d43b81762fd333c1376e56b6753eabe SHA512 0639db766294ab1c149528f86582f10e7d101ca0554992100c62fed75d15cb73f12419d3def985cd1edffd77da502116066f21b271b42016e267bef67e3b433b WHIRLPOOL 934d4527938db5c8204dfdf8cf3b4f6ecafb4a6429d1c9221fc6b96cc582accc7eec2d67bd59221df0cf285d7ba4d1feb381a42371e303521237249cd6f65a1f diff --git a/dev-python/pyml/metadata.xml b/dev-python/pyml/metadata.xml new file mode 100644 index 000000000000..7fc4a02d14ee --- /dev/null +++ b/dev-python/pyml/metadata.xml @@ -0,0 +1,9 @@ + + + +sci + + PyML is a flexible Python framework for using various classification + methods including Support Vector Machines (SVM). + + diff --git a/dev-python/pyml/pyml-0.7.11.ebuild b/dev-python/pyml/pyml-0.7.11.ebuild new file mode 100644 index 000000000000..b3fde070fa2c --- /dev/null +++ b/dev-python/pyml/pyml-0.7.11.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyml/pyml-0.7.11.ebuild,v 1.1 2012/12/06 20:32:34 bicatali Exp $ + +EAPI=4 + +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-pypy-* *-jython" + +inherit distutils + +MYP=PyML-${PV} + +DESCRIPTION="Python machine learning package" +HOMEPAGE="http://pyml.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +RDEPEND="dev-python/numpy" +DEPEND="${RDEPEND} + dev-python/setuptools" + +S="${WORKDIR}/${MYP}" + +src_test() { + cd data + testing() { + PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib*)" \ + "$(PYTHON)" -c "from PyML.demo import pyml_test; pyml_test.test('svm')" || return 1 + } + python_execute_function testing +} + +src_install() { + distutils_src_install + use doc && dodoc doc/tutorial.pdf && dohtml -r doc/autodoc/* +} -- cgit v1.2.3-65-gdbad