Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gfan/
Date: Thu, 27 Jan 2022 13:30:06
Message-Id: 1643290147.e347c86f458b202e25985944ec097f72e94f3f23.mjo@gentoo
1 commit: e347c86f458b202e25985944ec097f72e94f3f23
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 27 13:29:07 2022 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 27 13:29:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e347c86f
7
8 sci-mathematics/gfan: remove old "unused" ebuilds.
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-mathematics/gfan/gfan-0.6.2-r2.ebuild | 67 -------------------------------
14 sci-mathematics/gfan/gfan-0.6.2-r3.ebuild | 67 -------------------------------
15 2 files changed, 134 deletions(-)
16
17 diff --git a/sci-mathematics/gfan/gfan-0.6.2-r2.ebuild b/sci-mathematics/gfan/gfan-0.6.2-r2.ebuild
18 deleted file mode 100644
19 index 24132c367b9e..000000000000
20 --- a/sci-mathematics/gfan/gfan-0.6.2-r2.ebuild
21 +++ /dev/null
22 @@ -1,67 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit flag-o-matic toolchain-funcs
29 -
30 -DESCRIPTION="Compute Groebner fans and tropical varieties"
31 -HOMEPAGE="https://users-math.au.dk/~jensen/software/gfan/gfan.html"
32 -SRC_URI="https://users-math.au.dk/~jensen/software/${PN}/${PN}${PV}.tar.gz"
33 -
34 -LICENSE="GPL-2+"
35 -SLOT="0"
36 -KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
37 -IUSE="doc"
38 -
39 -BDEPEND="doc? ( virtual/latex-base )"
40 -DEPEND="dev-libs/gmp:0=[cxx(+)]
41 - sci-libs/cddlib:0="
42 -RDEPEND="${DEPEND}"
43 -
44 -S="${WORKDIR}/${PN}${PV}"
45 -
46 -PATCHES=(
47 - "${FILESDIR}/${PN}-0.6.2-xcode9.3_compat.patch"
48 - "${FILESDIR}/${PN}-0.6.2-testsuite.patch"
49 - "${FILESDIR}/${PN}-0.6.2-Makefile.patch"
50 - )
51 -
52 -pkg_setup() {
53 - tc-export CC CXX
54 -
55 - # This should really go in cppflags, but that doesn't work with
56 - # gfan's hand-written Makefile.
57 - append-cxxflags -DNOCDDPREFIX
58 -}
59 -
60 -src_prepare() {
61 - default
62 -
63 - # This test hangs on x86, bug 717112.
64 - rm -r testsuite/0602ResultantFanProjection || \
65 - die "unable to disable test 0602ResultantFanProjection"
66 -}
67 -
68 -src_configure() {
69 - # The upstream Makefile says that GCC produces bad code with -O3.
70 - replace-flags "-O3" "-O2"
71 - default
72 -}
73 -
74 -src_compile() {
75 - default
76 - if use doc; then
77 - pushd doc > /dev/null || die
78 - # The LaTeX build commands need to be repeated until the
79 - # document "stops changing," which is not as easy as it
80 - # sounds to detect. Running it twice seems to work here.
81 - pdflatex manual.tex && bibtex manual && pdflatex manual.tex || die
82 - popd > /dev/null || die
83 - fi
84 -}
85 -
86 -src_install() {
87 - emake PREFIX="${ED}/usr" install
88 - use doc && dodoc doc/manual.pdf
89 -}
90
91 diff --git a/sci-mathematics/gfan/gfan-0.6.2-r3.ebuild b/sci-mathematics/gfan/gfan-0.6.2-r3.ebuild
92 deleted file mode 100644
93 index 00132defd82f..000000000000
94 --- a/sci-mathematics/gfan/gfan-0.6.2-r3.ebuild
95 +++ /dev/null
96 @@ -1,67 +0,0 @@
97 -# Copyright 1999-2021 Gentoo Authors
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=7
101 -
102 -inherit flag-o-matic toolchain-funcs
103 -
104 -DESCRIPTION="Compute Groebner fans and tropical varieties"
105 -HOMEPAGE="https://users-math.au.dk/~jensen/software/gfan/gfan.html"
106 -SRC_URI="https://users-math.au.dk/~jensen/software/${PN}/${PN}${PV}.tar.gz"
107 -
108 -LICENSE="GPL-2+"
109 -SLOT="0"
110 -KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
111 -IUSE="doc"
112 -
113 -BDEPEND="doc? ( virtual/latex-base )"
114 -DEPEND="dev-libs/gmp:0=[cxx(+)]
115 - sci-libs/cddlib:0="
116 -RDEPEND="${DEPEND}"
117 -
118 -S="${WORKDIR}/${PN}${PV}"
119 -
120 -PATCHES=(
121 - "${FILESDIR}/${PN}-0.6.2-xcode9.3_compat.patch"
122 - "${FILESDIR}/${PN}-0.6.2-testsuite.patch"
123 - "${FILESDIR}/${PN}-0.6.2-Makefile.patch"
124 - )
125 -
126 -pkg_setup() {
127 - tc-export CC CXX
128 -
129 - # This should really go in cppflags, but that doesn't work with
130 - # gfan's hand-written Makefile.
131 - append-cxxflags -DNOCDDPREFIX -I"${EPREFIX}"/usr/include/cddlib
132 -}
133 -
134 -src_prepare() {
135 - default
136 -
137 - # This test hangs on x86, bug 717112.
138 - rm -r testsuite/0602ResultantFanProjection || \
139 - die "unable to disable test 0602ResultantFanProjection"
140 -}
141 -
142 -src_configure() {
143 - # The upstream Makefile says that GCC produces bad code with -O3.
144 - replace-flags "-O3" "-O2"
145 - default
146 -}
147 -
148 -src_compile() {
149 - default
150 - if use doc; then
151 - pushd doc > /dev/null || die
152 - # The LaTeX build commands need to be repeated until the
153 - # document "stops changing," which is not as easy as it
154 - # sounds to detect. Running it twice seems to work here.
155 - pdflatex manual.tex && bibtex manual && pdflatex manual.tex || die
156 - popd > /dev/null || die
157 - fi
158 -}
159 -
160 -src_install() {
161 - emake PREFIX="${ED}/usr" install
162 - use doc && dodoc doc/manual.pdf
163 -}