Сравнение ngspice-36 с ngspice-40

/usr/portage/sci-electronics/ngspice/ngspice-40.ebuild 2023-10-09 14:52:35.044368490 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit autotools multibuild toolchain-funcs virtualx
7 7

  
8 8
DESCRIPTION="The Next Generation Spice (Electronic Circuit Simulator)"
9
SRC_URI="mirror://sourceforge/ngspice/${P}.tar.gz
10
	doc? ( mirror://sourceforge/ngspice/${P}-manual.pdf )"
11 9
HOMEPAGE="http://ngspice.sourceforge.net"
12
LICENSE="BSD GPL-2"
10
SRC_URI="
11
	mirror://sourceforge/ngspice/${P}.tar.gz
12
	doc? ( mirror://sourceforge/ngspice/${P}-manual.pdf )
13
"
13 14

  
15
LICENSE="BSD GPL-2 MPL-2.0"
14 16
SLOT="0"
15 17
IUSE="X debug deprecated doc examples fftw openmp +readline +shared tcl"
16
KEYWORDS="amd64 ~arm64 ~ppc ~riscv ~sparc ~x86 ~x64-macos"
17

  
18
KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~sparc ~x86 ~x64-macos"
18 19
RESTRICT="!test? ( test )"
19 20

  
20
DEPEND="sys-libs/ncurses:0=
21
	X? ( x11-libs/libXaw
21
DEPEND="
22
	sys-libs/ncurses:=
23
	X? (
24
		x11-libs/libXaw
22 25
		x11-libs/libXt
23
		x11-libs/libX11 )
24
	fftw? ( sci-libs/fftw:3.0 )
25
	readline? ( sys-libs/readline:0= )
26
	tcl? ( dev-lang/tcl:0
27
		dev-tcltk/blt )"
26
		x11-libs/libX11
27
	)
28
	fftw? ( sci-libs/fftw:3.0= )
29
	readline? ( sys-libs/readline:= )
30
	tcl? (
31
		dev-lang/tcl:=
32
		dev-tcltk/blt
33
	)
34
"
28 35
RDEPEND="${DEPEND}"
29 36

  
30 37
DOCS=(
......
144 151
	popd &>/dev/null || die
145 152
}
146 153

  
154
src_test() {
155
	if ! use debug; then
156
		# tests can be only executed for the binaries variant
157
		pushd "${WORKDIR}/${P}-binaries" &>/dev/null || die
158
		echo "set ngbehavior=mc" > "${HOME}"/.spiceinit || die "Failed to configure ${PN} for running the test suite"
159
		virtx default
160
		popd &>/dev/null || die
161
	else
162
		# https://sourceforge.net/p/ngspice/bugs/353/
163
		ewarn
164
		ewarn "Skipping tests because they are known to fail in debug mode"
165
		ewarn
166
	fi
167
}
168

  
147 169
src_install() {
148 170
	multibuild_foreach_variant ngspice_install
149 171

  
......
186 208

  
187 209
	popd &>/dev/null || die
188 210
}
189

  
190
src_test() {
191
	if ! use debug; then
192
		# tests can be only executed for the binaries variant
193
		pushd "${WORKDIR}/${P}-binaries" &>/dev/null || die
194
		echo "set ngbehavior=mc" > "${HOME}"/.spiceinit || die "Failed to configure ${PN} for running the test suite"
195
		virtx default
196
		popd &>/dev/null || die
197
	else
198
		# https://sourceforge.net/p/ngspice/bugs/353/
199
		ewarn
200
		ewarn "Skipping tests because they are known to fail in debug mode"
201
		ewarn
202
	fi
203
}
Спасибо!