sci-mathematics/normaliz: Remove old

Package-Manager: portage-2.3.0_rc1
This commit is contained in:
Thomas Kahle
2016-06-08 09:34:58 +02:00
parent 2b1d931e61
commit be772b50a5
2 changed files with 0 additions and 64 deletions
-1
View File
@@ -1,3 +1,2 @@
DIST Normaliz2.12.2.zip 6432949 SHA256 230772425b3c9964b9e144c0919c75fac0ec95260a1943c10a8a94eea9d7273e SHA512 fd42071cb87b8efbaf9af0885c173a0583e0b38dedb8821a83225eeebb44060a7b5748c44adfc4faeac20c3a1706071bcb9883cb4447e4a1ff3aeb770bd22038 WHIRLPOOL cb2974e02eac6e6d51c234214a719a24ad2e12d1400f0a6f8aee3e7a4ba3aa2ba053beec65c9032f42726e4dd4f1866820bb5b7b96f7c3d34cd132fcdbdb91af
DIST Normaliz3.1.0.zip 5734218 SHA256 dfb6b801c4a4bb9aeec6601c58eca2c92bfc420d126c5e0dce0e1f2cdb7d8200 SHA512 835f39cfcd7b6b39139a7c731320e297df2e7a41d0e68e0bfb4d72b9d6905a8b83b1ef61408458c071315933968290d5166470445cd19af4ef1b5ac6ba04496a WHIRLPOOL 25fedc897515fc4b8ce2ec82f70a2c2474b63d928c22126f140f69836af3f7af0cf9de9e1849ae6a886155e5ceabcedc8a42b234ad939648f5278302cb7a1950
DIST Normaliz3.1.1.zip 5839858 SHA256 192e60d3671d4516c4904b166dec96c5b32c63c0fbaae15d067e25b8d9b6119e SHA512 efa75844542df45d3cff6b6f877f2d6132905b722468b3df5a89468798bf66cbaf33f359000fb462f4d24fb3414f4c293a8ba84112a6712862dd593bb5f314ba WHIRLPOOL 5f9b503899d2d7a8c0367d516b709e45e8d034a70c06a16bbfd680c7c2b070fcc3f686c37473c73ab96c4b99b669e767817190d4882fce2085b47a7bf57de51c
@@ -1,63 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs versionator
MYPV=$(get_version_component_range 1-2)
MYP="Normaliz${MYPV}"
DESCRIPTION="Tool for computations in affine monoids and more"
HOMEPAGE="www.mathematik.uni-osnabrueck.de/normaliz/"
SRC_URI="https://www.normaliz.uni-osnabrueck.de/wp-content/uploads/2016/02/Normaliz${PV}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm ~x86"
IUSE="doc extras openmp"
RDEPEND="dev-libs/gmp[cxx]"
DEPEND="${RDEPEND}
app-arch/unzip
dev-libs/boost"
# Only a boost header is needed -> not RDEPEND
S=${WORKDIR}/${MYP}
src_prepare () {
epatch "${FILESDIR}/${PN}-3.0.0-respect-flags.patch"
# Respect users AR tool (Bug 474532)
sed -e "s:ar -cr:$(tc-getAR) -cr:" -i source/libnormaliz/Makefile || die
if use openmp && tc-has-openmp; then
export OPENMP=yes
else
export OPENMP=no
fi
}
src_compile(){
emake CXX="$(tc-getCXX)" OPENMP="${OPENMP}" -C source
}
src_install() {
dobin source/normaliz
if use doc ; then
dodoc doc/"Normaliz.pdf"
dodoc doc/"NmzIntegrate.pdf"
fi
if use extras; then
elog "You have selected to install extras which consist of Macaulay2"
elog "and Singular packages. These have been installed into "
elog "/usr/share/${PN}, and cannot be used without additional setup. Please refer"
elog "to the homepages of the respective projects for additional information."
elog "Note however, Gentoo's versions of Singular and Macaulay2 bring their own"
elog "copies of these interface packages. Usually you don't need normaliz's versions."
insinto "/usr/share/${PN}"
doins Singular/normaliz.lib
doins Macaulay2/Normaliz.m2
fi
}