diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-06-26 17:13:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-06-26 17:13:13 +0200 |
commit | af5bd0ce8576e0ad533467aa9c7e2d3b8945121d (patch) | |
tree | b1be9a39d0342833c4db83a79904a30b332daeeb /sci-libs | |
parent | media-tv/tvmovie2vdr: Remove last rited packages (diff) | |
download | gentoo-af5bd0ce8576e0ad533467aa9c7e2d3b8945121d.tar.gz gentoo-af5bd0ce8576e0ad533467aa9c7e2d3b8945121d.tar.bz2 gentoo-af5bd0ce8576e0ad533467aa9c7e2d3b8945121d.zip |
sci-libs/torch: Remove last rited packages
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/torch/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/torch/files/3.1-prll.patch | 40 | ||||
-rw-r--r-- | sci-libs/torch/metadata.xml | 11 | ||||
-rw-r--r-- | sci-libs/torch/torch-3.1.ebuild | 57 | ||||
-rw-r--r-- | sci-libs/torch/torch-3.ebuild | 71 |
5 files changed, 0 insertions, 181 deletions
diff --git a/sci-libs/torch/Manifest b/sci-libs/torch/Manifest deleted file mode 100644 index 809656229c12..000000000000 --- a/sci-libs/torch/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST Torch3doc.tgz 1622648 SHA256 c8ff336cf1af89755ed226ca1211f335d5e8a716d0c2fef18aa34afa2a148822 SHA512 955c142da718cbf98e8778df496e6cd30c8397f6cdb976a10044cf03673b581ad7995cfa36a79a11ed0fe67e46c6f3541fded3ae92df0bc93af0c2e5e2a706d9 WHIRLPOOL 49cb726979c79282cebfe6c8a94f74d792011c6706cd38749d54375cf26207be4e0f617079082377e7d9805e4001b4cff39a117f54aeff8daacea8a440523e05 -DIST Torch3src.tgz 775622 SHA256 f3ae3b951bd2d966d804f273f7607af6044c06861a01143f661efac2bb15f3bd SHA512 86de7e3b1e95e21424cf2c8b8e92155073cf6b7e755442640acaeb52747d06baff2c37c369eb6c107df41e3f8ce9abe203184fd8acc12f4ef9207079122a632a WHIRLPOOL a2d979e269deb35f68cd41cd5fabcfcfc64cbc377de5c952f62c823c428698a67639fa4e4106f356c21a92773a0ed5950d07a7db660924f54fd9921088a42462 diff --git a/sci-libs/torch/files/3.1-prll.patch b/sci-libs/torch/files/3.1-prll.patch deleted file mode 100644 index 02193c310bc4..000000000000 --- a/sci-libs/torch/files/3.1-prll.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/Makefile b/Makefile -index 8771305..a39977f 100644 ---- a/Makefile -+++ b/Makefile -@@ -5,10 +5,19 @@ include Makefile_options_$(OS) - SUBDIRS := core - SUBDIRS += $(PACKAGES) - --all: -- @echo ">>> Try to compile Torch <<<" -- @for subdir in ${SUBDIRS} ; do ( cd $$subdir ; ${MAKE} $@) || exit 10 ; done -- @echo ">> !!! Ok !!! <<<" -+.PHONY: subdirs $(SUBDIRS) -+ -+core: $(PACKAGES) -+ -+all: subdirs -+ -+subdirs: $(SUBDIRS) -+ -+$(SUBDIRS): -+ @\mkdir -p $(OBJS_DIR) -+ @\mkdir -p $(LIBS_DIR) -+ $(MAKE) -C $@ depend -+ $(MAKE) -C $@ - - clean: - @echo ">>> Atomise all <<<" -diff --git a/core/Makefile b/core/Makefile -index 588d366..42b8a11 100644 ---- a/core/Makefile -+++ b/core/Makefile -@@ -11,6 +11,7 @@ all: $(LIBTORCH) - $(LIBTORCH): $(OBJS) - @echo "Archiving..." - @$(AR) $(LIBTORCH) $(OBJS) -+ @ranlib $(LIBTORCH) - - $(OBJS_DIR)/%.o: %.cc - @echo $< diff --git a/sci-libs/torch/metadata.xml b/sci-libs/torch/metadata.xml deleted file mode 100644 index ce2e292dbbd9..000000000000 --- a/sci-libs/torch/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription> - Torch is a machine-learning library, written in simple C++. -</longdescription> -</pkgmetadata> diff --git a/sci-libs/torch/torch-3.1.ebuild b/sci-libs/torch/torch-3.1.ebuild deleted file mode 100644 index 12805a6e4d8f..000000000000 --- a/sci-libs/torch/torch-3.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils multilib toolchain-funcs - -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="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug doc examples" - -S=${WORKDIR}/Torch${PV%.1} - -TORCH_PACKAGES="convolutions datasets decoder distributions gradients kernels matrix nonparametrics speech" - -src_prepare() { - epatch "${FILESDIR}"/${PV}-prll.patch -} - -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 = ${CXXFLAGS} -ffast-math ${extraflags} -fPIC:" \ - -e "s:g++:$(tc-getCXX):g" \ - Makefile_options_Linux || die - - emake || die "emake failed" -} - -src_install() { - dolib.a lib/*/*.a - insinto /usr/include/torch - for directory in core ${TORCH_PACKAGES}; do - doins ${directory}/*.h - done - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples - fi - - use doc && dodoc "${WORKDIR}"/docs/*pdf \ - && dohtml -r "${WORKDIR}"/docs/manual/* -} diff --git a/sci-libs/torch/torch-3.ebuild b/sci-libs/torch/torch-3.ebuild deleted file mode 100644 index e7cf73a0ef11..000000000000 --- a/sci-libs/torch/torch-3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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}src.tgz - doc? ( http://www.torch.ch/archives/Torch3doc.tgz )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="x86 ~amd64" -IUSE="doc debug" - -DEPEND="" - -S=${WORKDIR}/Torch${PV} - -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 = -Wall ${CFLAGS} -ffast-math ${extraflags}:" \ - Makefile_options_Linux - - make depend - emake || die "emake failed" -} - -src_install() { - dolib lib/*/*.a - dodir /usr/include/torch - insinto /usr/include/torch - for directory in core ${torch_packages}; do - doins ${directory}/*.h - done - # prepare the options Makefile - sed -i \ - -e "s:^LIBS_DIR.*:LIBS_DIR=/usr/$(get_libdir):" \ - -e 's|^INCS := .*|INCS := -I /usr/include/torch $(MYINCS)|' \ - -e '/^INCS +=/c\\' \ - Makefile_options_Linux - dodir /usr/share/${PN} - insinto /usr/share/${PN} - doins Makefile_options_Linux - dodir /usr/share/doc/${PF} - insinto /usr/share/doc/${PF} - cp -pPR examples "${D}"/usr/share/doc/${PF} - cd "${D}"/usr/share/doc/${PF} - sed -i \ - -e 's|^TORCHDIR.*|TORCHDIR := /usr/share/torch|' \ - -e '/MAKE/c\\' -e '/VERSION_KEY/c\\' \ - examples/*/Makefile - for ex in examples/*/Makefile; do - echo -e '\t$(CC) $(CFLAGS_$(MODE)) $(INCS) -o $@ $< $(LIBS)' >> ${ex} - done - if use doc; then - cd "${WORKDIR}"/docs - doins *.pdf - dohtml -r manual/. - fi -} |