sci-libs/torch: Remove last rited packages
authorMichał Górny <mgorny@gentoo.org>
Sun, 26 Jun 2016 15:13:13 +0000 (17:13 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 26 Jun 2016 15:13:13 +0000 (17:13 +0200)
profiles/package.mask
sci-libs/torch/Manifest [deleted file]
sci-libs/torch/files/3.1-prll.patch [deleted file]
sci-libs/torch/metadata.xml [deleted file]
sci-libs/torch/torch-3.1.ebuild [deleted file]
sci-libs/torch/torch-3.ebuild [deleted file]

index 054e892d7ef1e03f3e0fade97e5bca3d566bbf5c..b1d268b44acd332fe0c6a529c56b9b4babf95400 100644 (file)
@@ -278,11 +278,6 @@ www-client/luakit
 # See tracker bug https://bugs.gentoo.org/583478
 >=app-text/hunspell-1.4.0
 
-# David Seifert <soap@gentoo.org> (15 May 2016)
-# Masked for removal. Deprecated, relies on ancient CUDA APIs,
-# does not build with current CUDA releases. See bug #583068.
-sci-libs/torch
-
 # Alon Bar-Lev <alonbl@gentoo.org) (13 May 2016)
 # Force gnutls-3.4 testing so we can stabilize it.
 >=net-libs/gnutls-3.5.0
diff --git a/sci-libs/torch/Manifest b/sci-libs/torch/Manifest
deleted file mode 100644 (file)
index 8096562..0000000
+++ /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 (file)
index 02193c3..0000000
+++ /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 (file)
index ce2e292..0000000
+++ /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 (file)
index 12805a6..0000000
+++ /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 (file)
index e7cf73a..0000000
+++ /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
-}