diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-02-13 20:33:42 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-02-13 20:33:42 +0000 |
commit | 2c54cc5122af98ce35d32a7ea80c7e830539efa0 (patch) | |
tree | 7aafa26891973624e877f846ace83acdc5cfc4bd /sci-libs/torch | |
parent | Use virtualx.eclass for src_test wrt #304945 but because it still needs RECOR... (diff) | |
download | historical-2c54cc5122af98ce35d32a7ea80c7e830539efa0.tar.gz historical-2c54cc5122af98ce35d32a7ea80c7e830539efa0.tar.bz2 historical-2c54cc5122af98ce35d32a7ea80c7e830539efa0.zip |
Version Bump per 184500
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/torch')
-rw-r--r-- | sci-libs/torch/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/torch/Manifest | 13 | ||||
-rw-r--r-- | sci-libs/torch/torch-3.1.ebuild | 54 |
3 files changed, 73 insertions, 3 deletions
diff --git a/sci-libs/torch/ChangeLog b/sci-libs/torch/ChangeLog index 3a72ef27f51f..ecefabf2432a 100644 --- a/sci-libs/torch/ChangeLog +++ b/sci-libs/torch/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/torch -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/torch/ChangeLog,v 1.6 2009/09/23 20:09:57 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/torch/ChangeLog,v 1.7 2010/02/13 20:33:42 jlec Exp $ + +*torch-3.1 (13 Feb 2010) + + 13 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org> +torch-3.1.ebuild: + Version Bump per 184500 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> torch-3.ebuild: Remove virtual/libc diff --git a/sci-libs/torch/Manifest b/sci-libs/torch/Manifest index bfb35f6ad5b6..ad84cc4fbe10 100644 --- a/sci-libs/torch/Manifest +++ b/sci-libs/torch/Manifest @@ -1,5 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST Torch3doc.tgz 1622648 RMD160 29fa1e0ff9e5137fcbc4a59ceb057f4b7f386789 SHA1 be09ba67fc5d053a6c132cc4f4557dc30d037a20 SHA256 c8ff336cf1af89755ed226ca1211f335d5e8a716d0c2fef18aa34afa2a148822 DIST Torch3src.tgz 775622 RMD160 a83b873da125aae0085976e5b3a15288c988f40e SHA1 9d21812187df5efa77ed3485f09a949843ff6c48 SHA256 f3ae3b951bd2d966d804f273f7607af6044c06861a01143f661efac2bb15f3bd +EBUILD torch-3.1.ebuild 1473 RMD160 4fb27715e03cc8eab1f5946d17ee18d537d584a3 SHA1 c9d051f4f84024ffbaa19bca00e4b79595271a5a SHA256 1065ad3c5e835d9e3af77a632ef539365187fe6a5637448cc64428ecb4ef0f2c EBUILD torch-3.ebuild 2042 RMD160 be0101a511ea1af810902fdc2bf0087d68182409 SHA1 c580727c49640b2515075ed6dde2bd25a5228b55 SHA256 e03f469182db78eac0b37c8fdbf6231bfd34685f7219ff2434d44819caf03d25 -MISC ChangeLog 1069 RMD160 a9e6de01b1bb7b5332bdb4ded6271572f6a663e2 SHA1 7bb566a44d829430f0823cc1c239239a647b2de0 SHA256 688019f89ec18042dba5dce6e4aa66204cf08ed7ee0f481bc53488042eaa2b65 +MISC ChangeLog 1192 RMD160 7245102648417eb8d9a0bf9e6c458330d5bfb318 SHA1 72e1388bc573c4d6617310be5b1586103fa1aa6f SHA256 7c801498e6e28c20be76d39b24f3430e7a6b637a93f41229fd1f16b5cc7a2044 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEUEARECAAYFAkt3DKsACgkQgAnW8HDreRbH4gCfdVXv22tEiUHg/b+HRAjLAsyR +lqwAl2MEJ+gfnI11zz0DBFy97OFvFak= +=L9Hp +-----END PGP SIGNATURE----- diff --git a/sci-libs/torch/torch-3.1.ebuild b/sci-libs/torch/torch-3.1.ebuild new file mode 100644 index 000000000000..93019bfb629e --- /dev/null +++ b/sci-libs/torch/torch-3.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/torch/torch-3.1.ebuild,v 1.1 2010/02/13 20:33:42 jlec Exp $ + +inherit toolchain-funcs multilib + +DESCRIPTION="machine-learning library, written in simple C++" +HOMEPAGE="http://www.torch.ch/" +SRC_URI="http://www.torch.ch/archives/Torch${PV%.1}src.tgz + doc? ( http://www.torch.ch/archives/Torch3doc.tgz )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="debug doc examples" + +S=${WORKDIR}/Torch${PV%.1} + +TORCH_PACKAGES="convolutions datasets decoder distributions gradients kernels matrix nonparametrics speech" + +src_compile() { + local shalldebug="OPT" + use debug && shalldebug="DBG" + # -malign-double makes no sense on a 64-bit arch + use amd64 || extraflags="-malign-double" + cp config/Makefile_options_Linux . + sed -i \ + -e "s:^PACKAGES.*:PACKAGES = ${TORCH_PACKAGES}:" \ + -e "s:^DEBUG.*:DEBUG = ${shalldebug}:" \ + -e "s:^CFLAGS_OPT_FLOAT.*:CFLAGS_OPT_FLOAT = ${CFLAGS} -ffast-math ${extraflags}:" \ + Makefile_options_Linux + + emake -j1 depend || die + emake || die "emake failed" +} + +src_install() { + dolib lib/*/*.a || die + insinto /usr/include/torch + for directory in core ${torch_packages}; do + doins ${directory}/*.h || die + done + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die + fi + + if use doc; then + cd "${WORKDIR}"/docs + doins *.pdf || die + dohtml -r manual/. || die + fi +} |