Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/polymake/files/, sci-mathematics/polymake/
Date: Sun, 29 Dec 2013 00:31:24
Message-Id: 1388274886.8254a134f7edcc84dc96f784f38566eff8678f2e.jlec@gentoo
1 commit: 8254a134f7edcc84dc96f784f38566eff8678f2e
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 28 23:54:46 2013 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 28 23:54:46 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8254a134
7
8 More up to date version in tree
9
10 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
11
12 ---
13 sci-mathematics/polymake/ChangeLog | 8 ---
14 sci-mathematics/polymake/files/2.10-soname.patch | 11 ---
15 .../files/polymake-2.11-drop-jreality.patch | 25 -------
16 sci-mathematics/polymake/metadata.xml | 17 -----
17 sci-mathematics/polymake/polymake-2.11-r1.ebuild | 82 ----------------------
18 5 files changed, 143 deletions(-)
19
20 diff --git a/sci-mathematics/polymake/ChangeLog b/sci-mathematics/polymake/ChangeLog
21 deleted file mode 100644
22 index 91e35b6..0000000
23 --- a/sci-mathematics/polymake/ChangeLog
24 +++ /dev/null
25 @@ -1,8 +0,0 @@
26 -# ChangeLog for sci-mathematics/polymake
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: $
29 -
30 - 03 Mar 2013; Justin Lecher <jlec@g.o> polymake-2.11-r1.ebuild,
31 - metadata.xml:
32 - Add missing multilib.eclass
33 -
34
35 diff --git a/sci-mathematics/polymake/files/2.10-soname.patch b/sci-mathematics/polymake/files/2.10-soname.patch
36 deleted file mode 100644
37 index 14e66ea..0000000
38 --- a/sci-mathematics/polymake/files/2.10-soname.patch
39 +++ /dev/null
40 @@ -1,11 +0,0 @@
41 ---- polymake-2.10.fixed/support/corelib.make 2011-06-20 08:30:06.000000000 +0100
42 -+++ polymake-2.10/support/corelib.make 2011-08-20 23:42:29.000000000 +0100
43 -@@ -89,7 +89,7 @@
44 - ifneq (${LDcallableFlags},none)
45 - # no explicit dependence on XSObjects here because they are built in compile-xs using the Makefile generated by xsubpp
46 - ${CallableLib} : ${SharedObjects} ${CallableSharedObjects} ${GlueObjects} ${CallableGlueObjects} ${XXSObjects} $(patsubst %,${SourceDir}/perl/%.xs,${XSModules})
47 -- ${CXX} ${LDcallableFlags} -o $@ ${SharedObjects} ${CallableSharedObjects} ${GlueObjects} ${CallableGlueObjects} ${XXSObjects} ${XSObjects} ${LDFLAGS} ${PERLccdlflags} -lmpfr -lgmp ${LIBS} -L${PERLarchlib}/CORE -lperl
48 -+ ${CXX} ${LDcallableFlags} -Wl,-soname,libpolymake.so.0 -o $@ ${SharedObjects} ${CallableSharedObjects} ${GlueObjects} ${CallableGlueObjects} ${XXSObjects} ${XSObjects} ${LDFLAGS} ${PERLccdlflags} -lmpfr -lgmp ${LIBS} -L${PERLarchlib}/CORE -lperl
49 - else
50 - ${CallableLib} : ${XXSObjects} $(patsubst %,${SourceDir}/perl/%.xs,${XSModules})
51 - endif
52
53 diff --git a/sci-mathematics/polymake/files/polymake-2.11-drop-jreality.patch b/sci-mathematics/polymake/files/polymake-2.11-drop-jreality.patch
54 deleted file mode 100644
55 index 0eefe58..0000000
56 --- a/sci-mathematics/polymake/files/polymake-2.11-drop-jreality.patch
57 +++ /dev/null
58 @@ -1,25 +0,0 @@
59 -diff -U 3 -dHrN polymake-2.11.orig/Makefile polymake-2.11/Makefile
60 ---- polymake-2.11.orig/Makefile 2011-12-23 15:51:41.762207359 +0100
61 -+++ polymake-2.11/Makefile 2011-12-23 15:52:13.889973019 +0100
62 -@@ -134,11 +134,11 @@
63 - @case "$$(uname -s)" in \
64 - *linux*|*Linux*) \
65 - for d in linux32 linux64; do \
66 -- ${PERL} ${INSTALL_PL} -m ${DirMask} -U external/jreality/jni/$$d ${InstallArch}/lib/jreality/jni/$$d; \
67 -+ true; \
68 - done; \
69 - ;; \
70 - Darwin*|darwin*) \
71 -- ${PERL} ${INSTALL_PL} -m ${DirMask} -U external/jreality/jni/macosx ${InstallArch}/lib/jreality/jni/macosx; \
72 -+ true; \
73 - ;; \
74 - esac
75 - [ -d ${InstallBin} ] || $(call _CreateDir,${InstallBin})
76 -@@ -166,7 +166,6 @@
77 - @+$(call _MakeApps, install-src)
78 - $(if ${.svn},${CallPolymake} --no-config --script filter_rules -m ${InstallTop} ${Apps})
79 - [ ! -d java_build ] || $(call _InstallSubdir,java_build,-X de)
80 -- [ ! -d java_build ] || $(call _InstallSubdirRenamed,external/jreality/lib,java_build/jreality/lib)
81 - $(call _InstallSubdir,povray)
82 - $(call _InstallSubdir,scripts)
83 - $(call _InstallSubdir,xml)
84
85 diff --git a/sci-mathematics/polymake/metadata.xml b/sci-mathematics/polymake/metadata.xml
86 deleted file mode 100644
87 index 86e481e..0000000
88 --- a/sci-mathematics/polymake/metadata.xml
89 +++ /dev/null
90 @@ -1,17 +0,0 @@
91 -<?xml version="1.0" encoding="UTF-8"?>
92 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
93 -<pkgmetadata>
94 - <maintainer>
95 - <email>tomka@g.o</email>
96 - <name>Thomas Kahle</name>
97 - </maintainer>
98 - <herd>sci-mathematics</herd>
99 - <use>
100 - <flag name="libpolymake">Build the polymake library to build applications using the C++ interface.</flag>
101 - </use>
102 - <longdescription lang="en">
103 -Polymake started out as a tool for the algorithmic treatment of convex
104 -polyhedra. By now it also deals with finite simplicial complexes,
105 -tight spans of finite metric spaces, and other objects.
106 -</longdescription>
107 -</pkgmetadata>
108
109 diff --git a/sci-mathematics/polymake/polymake-2.11-r1.ebuild b/sci-mathematics/polymake/polymake-2.11-r1.ebuild
110 deleted file mode 100644
111 index e75f91f..0000000
112 --- a/sci-mathematics/polymake/polymake-2.11-r1.ebuild
113 +++ /dev/null
114 @@ -1,82 +0,0 @@
115 -# Copyright 1999-2013 Gentoo Foundation
116 -# Distributed under the terms of the GNU General Public License v2
117 -# $Header: $
118 -
119 -EAPI=2
120 -
121 -inherit eutils flag-o-matic multilib
122 -
123 -MY_PV=${PV}
124 -
125 -DESCRIPTION="research tool for polyhedral geometry and combinatorics"
126 -SRC_URI="http://polymake.org/lib/exe/fetch.php/download/${PN}-${MY_PV}.tar.bz2"
127 -HOMEPAGE="http://polymake.org"
128 -
129 -IUSE="libpolymake"
130 -
131 -SLOT="0"
132 -LICENSE="GPL-2"
133 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
134 -
135 -DEPEND="dev-libs/gmp
136 - dev-libs/boost
137 - dev-libs/libxml2:2
138 - dev-perl/XML-LibXML
139 - dev-libs/libxslt
140 - dev-perl/XML-LibXSLT
141 - dev-perl/XML-Writer
142 - dev-perl/Term-ReadLine-Gnu"
143 -RDEPEND="${DEPEND}"
144 -
145 -src_prepare() {
146 - # embedded jreality is a precompiled desaster (bug #346073)
147 - epatch "${FILESDIR}/${P}"-drop-jreality.patch
148 - # Assign a soname
149 - epatch "${FILESDIR}/2.10"-soname.patch
150 - rm -rf java_build/jreality
151 -
152 - # Don't strip
153 - sed -i '/system "strip $to"/d' support/install.pl || die
154 -
155 - einfo "During compile this package uses up to"
156 - einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if"
157 - einfo "you run into trouble."
158 -}
159 -
160 -src_configure () {
161 - export CXXOPT=$(get-flag -O)
162 - local myconf
163 - if use libpolymake ; then
164 - # WTF: If we leave myconf as the empty string here
165 - # then configure will fail.
166 - myconf="--without-prereq"
167 - else
168 - # --with-callable is not supported :(
169 - myconf="--without-callable"
170 - fi
171 - echo ${myconf}
172 - # Configure does not accept --host, therefore econf cannot be used
173 - ./configure --prefix="${EPREFIX}/usr" \
174 - --without-java \
175 - --without-prereq \
176 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
177 - --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
178 - "${myconf}" || die
179 -}
180 -
181 -src_install(){
182 - emake -j1 DESTDIR="${D}" install || die "install failed"
183 -}
184 -
185 -pkg_postinst(){
186 - elog "Polymake uses Perl Modules compiled during install."
187 - elog "You have to reinstall polymake after an upgrade of Perl."
188 - elog " "
189 - elog "This version of polymake does not ship docs. Sorry."
190 - elog "Help can be found on http://www.opt.tu-darmstadt.de/polymake_doku/ "
191 - elog " "
192 - elog "Visualization in polymake is via jreality which ships pre-compiled"
193 - elog "binary libraries. Until this situation is resolved, support for"
194 - elog "jreality has been dropped. Please contribute to Bug #346073 to "
195 - elog "make jreality available in Gentoo."
196 -}