1 |
commit: f4c745f13ca82f877ed7f630e14c343dababd68d |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 17:55:16 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 17:56:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c745f1 |
7 |
|
8 |
sci-electronics/ngspice: Drop old (bug #605728) |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
sci-electronics/ngspice/Manifest | 2 - |
13 |
.../ngspice/files/ngspice-26-respect-ldflags.patch | 31 ------- |
14 |
sci-electronics/ngspice/ngspice-26.ebuild | 102 --------------------- |
15 |
3 files changed, 135 deletions(-) |
16 |
|
17 |
diff --git a/sci-electronics/ngspice/Manifest b/sci-electronics/ngspice/Manifest |
18 |
index 15963ee80df..106266fe01b 100644 |
19 |
--- a/sci-electronics/ngspice/Manifest |
20 |
+++ b/sci-electronics/ngspice/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST ngspice-26-manual.pdf 2141771 BLAKE2B 16956c46640de4696f7197997b170a2b1aad9b2f9fbe299b801de100d8aaca949b5be6f259e353a168ae90d992d91ff65e8a819b49fdf509fae98ec7dfa610d7 SHA512 1c160aeef61d8091a6d788677bcf7ea682393cc886d5d535f87bb800cdae4f095cbf1e833babadea481956b904b4bdb688cc18b80d9d6a29cab33a54275abab1 |
23 |
-DIST ngspice-26.tar.gz 6925987 BLAKE2B 8f8e54000234ea3896a55863df99b6ce83ad322e3049845e0a817635ebfebdc8398e6fa4831727c4798a8d9dce1b1c2a01354505e48dc0b2db9e9036aa2ae5aa SHA512 eb6a81df90de803c9f7544e8d0de7cc413aac169f69d1dec5cc6d2e667b66d42aede7f14c75bcdd10288be0c2ac07863fd4028b9fe59f2f515d680c2ffa41cab |
24 |
DIST ngspice-27-manual.pdf 3117788 BLAKE2B 6e271abc50b0139c4776844ea31176d231e68c70ce34d0daec48aefc5ef5a9eac90a77f3141081f38c6ac8d42bb95ec061bf1d43bfd3a4fb13e4822c2eff4f57 SHA512 ed87764715917e2cd832c49e911a2908dba9907f9f01c933cb7f97a92c7f9ff345bc26a2f0561dd34b2eede6874b6a67b4864abf3dcff127bd0306e778e997b5 |
25 |
DIST ngspice-27.tar.gz 7372998 BLAKE2B ce8590518fa4eb4292c73c4eaefdd9d0da19bca8120b51daae954a5b9d86f51912d2dccb5a827480caadce8321373d96f045226db4986a78bcc9170f2e46f9a5 SHA512 1714f95ab5716c228a0b39395a742e8b9a823e0e6f7e08625d089541ea786df5fd7b9d2982bcec8431e27ac6ba7603ecc507f9cfcb0a6aacd53f5633f52bd2ea |
26 |
|
27 |
diff --git a/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch b/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch |
28 |
deleted file mode 100644 |
29 |
index 31fe300b105..00000000000 |
30 |
--- a/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch |
31 |
+++ /dev/null |
32 |
@@ -1,31 +0,0 @@ |
33 |
---- ngspice-26/src/xspice/icm/makedefs.in |
34 |
-+++ ngspice-26/src/xspice/icm/makedefs.in |
35 |
-@@ -44,16 +44,19 @@ |
36 |
- LIBS = -lm |
37 |
- |
38 |
- # Flags to use when linking shared library |
39 |
--LDFLAGS = -shared |
40 |
- ifeq ($(ISMINGW), 1) |
41 |
-- LDFLAGS = -shared @LDFLAGS@ |
42 |
--endif |
43 |
--ifeq "$(strip $(uname))" "Darwin" |
44 |
-- LDFLAGS = -bundle -flat_namespace -undefined suppress |
45 |
--endif |
46 |
--ifeq "$(strip $(uname))" "SunOS" |
47 |
-- ifneq "$(CC)" "gcc" |
48 |
-- LDFLAGS = -G |
49 |
-+ LDFLAGS += -shared @LDFLAGS@ |
50 |
-+else |
51 |
-+ ifeq "$(strip $(uname))" "Darwin" |
52 |
-+ LDFLAGS += -bundle -flat_namespace -undefined suppress |
53 |
-+ else |
54 |
-+ ifeq "$(strip $(uname))" "SunOS" |
55 |
-+ ifneq "$(CC)" "gcc" |
56 |
-+ LDFLAGS += -G |
57 |
-+ else |
58 |
-+ LDFLAGS += -shared |
59 |
-+ endif |
60 |
-+ endif |
61 |
- endif |
62 |
- endif |
63 |
- |
64 |
|
65 |
diff --git a/sci-electronics/ngspice/ngspice-26.ebuild b/sci-electronics/ngspice/ngspice-26.ebuild |
66 |
deleted file mode 100644 |
67 |
index 3c185422f41..00000000000 |
68 |
--- a/sci-electronics/ngspice/ngspice-26.ebuild |
69 |
+++ /dev/null |
70 |
@@ -1,102 +0,0 @@ |
71 |
-# Copyright 1999-2017 Gentoo Foundation |
72 |
-# Distributed under the terms of the GNU General Public License v2 |
73 |
- |
74 |
-EAPI="3" |
75 |
- |
76 |
-inherit autotools eutils |
77 |
- |
78 |
-DESCRIPTION="The Next Generation Spice (Electronic Circuit Simulator)" |
79 |
-SRC_URI="mirror://sourceforge/ngspice/${P}.tar.gz |
80 |
- mirror://sourceforge/ngspice/${PN}-${PV}-manual.pdf" |
81 |
-HOMEPAGE="http://ngspice.sourceforge.net" |
82 |
-LICENSE="BSD GPL-2" |
83 |
- |
84 |
-SLOT="0" |
85 |
-IUSE="X debug readline" |
86 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x64-macos" |
87 |
- |
88 |
-DEPEND="sys-libs/ncurses |
89 |
- readline? ( >=sys-libs/readline-5.0 ) |
90 |
- X? ( x11-libs/libXaw |
91 |
- x11-libs/libXt |
92 |
- x11-libs/libX11 |
93 |
- sci-visualization/xgraph )" |
94 |
- |
95 |
-RDEPEND="$DEPEND" |
96 |
- |
97 |
-src_prepare() { |
98 |
- epatch "${FILESDIR}"/${P}-respect-ldflags.patch |
99 |
- sed -e '/CFLAGS=/s: -s::' -i configure.ac || die "sed failed" |
100 |
- sed -e 's/_CFLAGS -O2/_CFLAGS/' -i configure.ac || die "sed failed" |
101 |
- sed -e '/AM_INIT_AUTOMAKE/s:-Werror::' -i configure.ac || die "sed failed" |
102 |
- # builds also with ncurses[tinfo] (bug #458128) |
103 |
- sed -e 's/ncurses termcap/ncurses termcap tinfo/g' -i configure.ac || die |
104 |
- eautoreconf |
105 |
-} |
106 |
- |
107 |
-src_configure() { |
108 |
- local MYCONF |
109 |
- if use debug ; then |
110 |
- MYCONF="--enable-debug \ |
111 |
- --enable-ftedebug \ |
112 |
- --enable-cpdebug \ |
113 |
- --enable-asdebug \ |
114 |
- --enable-stepdebug \ |
115 |
- --enable-pzdebug" |
116 |
- else |
117 |
- MYCONF="--disable-debug \ |
118 |
- --disable-ftedebug \ |
119 |
- --disable-cpdebug \ |
120 |
- --disable-asdebug \ |
121 |
- --disable-stepdebug \ |
122 |
- --disable-pzdebug" |
123 |
- fi |
124 |
- # Those don't compile |
125 |
- MYCONF="${MYCONF} \ |
126 |
- --disable-sensdebug \ |
127 |
- --disable-blktmsdebug \ |
128 |
- --disable-smltmsdebug" |
129 |
- |
130 |
- econf \ |
131 |
- ${MYCONF} \ |
132 |
- --enable-xspice \ |
133 |
- --enable-cider \ |
134 |
- --enable-ndev \ |
135 |
- --disable-xgraph \ |
136 |
- --disable-dependency-tracking \ |
137 |
- --disable-rpath \ |
138 |
- $(use_with X x) \ |
139 |
- $(use_with readline) |
140 |
-} |
141 |
- |
142 |
-# These will need to be looked at some day: |
143 |
-# --enable-adms |
144 |
-# --enable-nodelimiting |
145 |
-# --enable-predictor |
146 |
-# --enable-newtrunc |
147 |
-# --enable-openmp |
148 |
- |
149 |
-src_install () { |
150 |
- local infoFile |
151 |
- for infoFile in doc/ngspice.info*; do |
152 |
- echo 'INFO-DIR-SECTION EDA' >> ${infoFile} |
153 |
- echo 'START-INFO-DIR-ENTRY' >> ${infoFile} |
154 |
- echo '* NGSPICE: (ngspice). Electronic Circuit Simulator.' >> ${infoFile} |
155 |
- echo 'END-INFO-DIR-ENTRY' >> ${infoFile} |
156 |
- done |
157 |
- |
158 |
- emake DESTDIR="${D}" install || die "make install failed" |
159 |
- dodoc ANALYSES AUTHORS BUGS ChangeLog DEVICES NEWS \ |
160 |
- README Stuarts_Poly_Notes || die "failed to install documentation" |
161 |
- |
162 |
- insinto /usr/share/doc/${PF} |
163 |
- doins "${DISTDIR}"/${PN}-${PV}-manual.pdf || die "failed to install manual" |
164 |
- |
165 |
- # We don't need ngmakeidx to be installed |
166 |
- rm "${D}"/usr/bin/ngmakeidx |
167 |
-} |
168 |
- |
169 |
-src_test () { |
170 |
- # Bug 108405 |
171 |
- true |
172 |
-} |