summaryrefslogtreecommitdiff
path: root/sci-electronics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-27 03:04:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-10-27 03:04:35 +0000
commit83d9fce566bb89f6976f36f5314bfc88b6d261fa (patch)
tree8d8a18f75ff0a6a98313046fcd757ee0135db98c /sci-electronics
parentd0349ca0f4903608beca459a9db2068dab9fa6ea (diff)
gentoo auto-resync : 27:10:2024 - 03:04:35
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/Manifest.gzbin8714 -> 8713 bytes
-rw-r--r--sci-electronics/ngspice/Manifest3
-rw-r--r--sci-electronics/ngspice/ngspice-36.ebuild203
3 files changed, 0 insertions, 206 deletions
diff --git a/sci-electronics/Manifest.gz b/sci-electronics/Manifest.gz
index fb8374f39440..bfa476de3ff4 100644
--- a/sci-electronics/Manifest.gz
+++ b/sci-electronics/Manifest.gz
Binary files differ
diff --git a/sci-electronics/ngspice/Manifest b/sci-electronics/ngspice/Manifest
index b10cfe24ab53..afec9d310b22 100644
--- a/sci-electronics/ngspice/Manifest
+++ b/sci-electronics/ngspice/Manifest
@@ -1,7 +1,4 @@
-DIST ngspice-36-manual.pdf 2397103 BLAKE2B 09dbfe4101b8e1752509caa37ba3a323da7d7391488c3245b3f614114d1666ee32ea1391ad4f39772ed950e270f028b7513115e0c13fde052bfdb5674f021b3b SHA512 bd31f99f7ec0acd2bdd24f008e22cb953bba98fd5cc1164ded0bdde3397bfffa0b0cae25dfeae6cf0e1dadd23c23faa5588010069b62392438296451347a5134
-DIST ngspice-36.tar.gz 8450071 BLAKE2B 51fa2c5998e96a05deb3764f56659ed0970d6362fcbec7367b04a5fbe76fc7dadb08e0d36b660b0e1f8e525079bedf71305877ab2de8e2ab2773c891808fb5a6 SHA512 d862097f465e92986e8d6644374d43249eebee0fb6d79b1404dbb7c11d14a058dfedd4bdb61baf5aa1ffd1d2e71167440db73eb417d4b1249a0a7b83bd39efc3
DIST ngspice-40-manual.pdf 2462604 BLAKE2B a0d680cd76f8acb1be18e94953d70784aaf79e1bcc4bc3995a1221d81e27c13e577d182e7cbacb8430a068db7d86681f22ec4f3537b5704faacb8e982588617f SHA512 1a5c7828aa9a4554052fb01145641415d8a4cbd50db9885d5d937e1b6f50c7c541dfeeabf2efd6ea862036b4d74ce8265bdac1cfad0fc635f28651a0d397bfc5
DIST ngspice-40.tar.gz 9431981 BLAKE2B e45d5d7a9e8d9d3fdae4eb076090a588680055a74cc24ba9ca3d93a7c42b95ee29073101d5791f8069cb27b3049aa1a451476f1df6460477fb156336602678fd SHA512 dab422cc8677e6f4bb92e06be0ce695a53d3e9abbe533c7bb91540d55d2a13514b0b166c8ccafcc17699799a846a35e260dddc400664c6e1137e1b18504e9954
-EBUILD ngspice-36.ebuild 4619 BLAKE2B 5fab4ddbb9e0fc4575a2bad030fd91210f6b46e955d0abd8b965128866ac74396cfac7d120ad4571947920b37dfa1765df79a96e2bbeda6054cd07987799741a SHA512 0e51eb1f7438e162ab41cb426aa61e7e5c1e7f0c170dfd2ab2f7e4a44aa6cf155cb0e41ba7395426051a8351ef62a291ea7935f0cbdcca862fc98068dd9c4412
EBUILD ngspice-40.ebuild 4773 BLAKE2B 3e4d189686c49f7461321856a70e3d6089198d3e3dec5831c8055169febbf59dd03278c018bf0c50a5f8d26a0854c592f8c917faf646a37364670af6a9e8fd3c SHA512 d2491e22c544625069d7baec52f09129a6926bb28b22ba415800ff118d7d9362e253e9e5ae54e19259d2614845922dad8ecd8dd8af1d84bfe5394227ba439c7c
MISC metadata.xml 677 BLAKE2B 541ff3e8439b8e222916341bb9f973ea2189a5b2aceeb1bd83ca7a73af7161f38e272a93fdbab51aba4f14be53f556c10a5c10be2a807ef07bca9e39fa73b6ed SHA512 b439de3838f17c9c21e50cd80d74b733d0061f79a7e736c82295c3db433bb786cdab8dc73ca1b40f6a486288f29f82b677723ea1e13ca583b0456fcfa82de206
diff --git a/sci-electronics/ngspice/ngspice-36.ebuild b/sci-electronics/ngspice/ngspice-36.ebuild
deleted file mode 100644
index 6a99a86b05e4..000000000000
--- a/sci-electronics/ngspice/ngspice-36.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multibuild toolchain-funcs virtualx
-
-DESCRIPTION="The Next Generation Spice (Electronic Circuit Simulator)"
-SRC_URI="https://downloads.sourceforge.net/ngspice/${P}.tar.gz
- doc? ( https://downloads.sourceforge.net/ngspice/${P}-manual.pdf )"
-HOMEPAGE="http://ngspice.sourceforge.net"
-LICENSE="BSD GPL-2"
-
-SLOT="0"
-IUSE="X debug deprecated doc examples fftw openmp +readline +shared tcl"
-KEYWORDS="amd64 ~arm64 ~ppc ~riscv ~sparc ~x86 ~x64-macos"
-
-RESTRICT="!test? ( test )"
-
-DEPEND="sys-libs/ncurses:0=
- X? ( x11-libs/libXaw
- x11-libs/libXt
- x11-libs/libX11 )
- fftw? ( sci-libs/fftw:3.0 )
- readline? ( sys-libs/readline:0= )
- tcl? ( dev-lang/tcl:0
- dev-tcltk/blt )"
-RDEPEND="${DEPEND}"
-
-DOCS=(
- ANALYSES
- AUTHORS
- BUGS
- ChangeLog
- DEVICES
- FAQ
- NEWS
- README
- README.vdmos
- Stuarts_Poly_Notes
-)
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-
- MULTIBUILD_VARIANTS=( "binaries" )
- use shared && MULTIBUILD_VARIANTS+=( "shared" )
- use tcl && MULTIBUILD_VARIANTS+=( "tcl" )
-}
-
-src_prepare() {
- default
-
- if use tcl; then
- if use examples; then
- find examples/tclspice -type f -iname \*tcl -or -iname \*.sh |
- while read s
- do
- sed -i -e 's@../../../src/.libs/libspice.so@libspice.so@g' \
- -e 's@package require BLT@package require Tk\npackage require BLT@g' \
- -e "s@spice::codemodel \(.*\)/\(.*\).cm@spice::codemodel /usr/$(get_libdir)/ngspice/\2.cm@g" \
- "${s}" || die "sed failed"
- done
- fi
- fi
-
- eautoreconf
- multibuild_copy_sources
-}
-
-src_configure() {
- multibuild_foreach_variant ngspice_configure
-}
-
-ngspice_configure() {
- local myeconfargs
-
- pushd "${BUILD_DIR}" &>/dev/null || die
-
- if use debug; then
- myeconfargs=(
- --enable-debug
- --enable-ftedebug
- --enable-cpdebug
- --enable-sensdebug
- --enable-asdebug
- --enable-stepdebug
- --enable-pzdebug
- )
- else
- myeconfargs=(
- --disable-debug
- --disable-ftedebug
- --disable-cpdebug
- --disable-sensdebug
- --disable-asdebug
- --disable-stepdebug
- --disable-pzdebug
- )
- fi
-
- # As of March 2021, these do not compile
- myeconfargs+=(
- --disable-blktmsdebug
- --disable-smltmsdebug
- )
-
- myeconfargs+=(
- --enable-xspice
- --enable-cider
- --disable-rpath
- $(use_enable openmp)
- $(use_with fftw fftw3)
- $(use_with readline)
- )
-
- if [[ "${MULTIBUILD_VARIANT}" == "shared" ]]; then
- myeconfargs+=( --with-ngshared )
- elif [[ "${MULTIBUILD_VARIANT}" == "tcl" ]]; then
- myeconfargs+=( --with-tcl="${EPREFIX}/usr/$(get_libdir)" )
- else
- myeconfargs+=(
- $(use_enable deprecated oldapps)
- $(use_with X x)
- )
- fi
-
- econf "${myeconfargs[@]}"
-
- popd &>/dev/null || die
-}
-
-src_compile() {
- multibuild_foreach_variant ngspice_compile
-}
-
-ngspice_compile() {
- pushd "${BUILD_DIR}" &>/dev/null || die
- default
- popd &>/dev/null || die
-}
-
-src_install() {
- multibuild_foreach_variant ngspice_install
-
- # merge the installations of all variants
- local v
- for v in "${MULTIBUILD_VARIANTS[@]}" ; do
- cp -a "${ED}/tmp/${v}"/* "${ED}" || die "Failed to combine multibuild installations"
- done
- rm -rf "${ED}/tmp" || die
-
- use tcl && DOCS+=( README.tcl )
- use shared && DOCS+=( README.shared-xspice )
- use doc && DOCS+=( "${DISTDIR}"/${P}-manual.pdf )
-
- default
-
- if use examples; then
- if ! use tcl; then
- rm -rf examples/tclspice || die
- fi
-
- insinto /usr/share/${PN}
- doins -r examples
- fi
-}
-
-ngspice_install() {
- pushd "${BUILD_DIR}" &>/dev/null || die
-
- emake DESTDIR="${ED}/tmp/${MULTIBUILD_VARIANT}" install
-
- # Strip shared-library and Tcl-module builds to the bare minimum;
- # all the support files will have been handled by the 'binaries' build.
- if [[ "${MULTIBUILD_VARIANT}" != "binaries" ]]; then
- rm -rf "${ED}/tmp/${MULTIBUILD_VARIANT}"/usr/bin{,.debug} || die
- rm -rf "${ED}/tmp/${MULTIBUILD_VARIANT}"/usr/share || die
- rm -rf "${ED}/tmp/${MULTIBUILD_VARIANT}"/usr/$(get_libdir)/*.la || die
- rm -rf "${ED}/tmp/${MULTIBUILD_VARIANT}"/usr/$(get_libdir)/ngspice/*.cm{,.debug} || die
- fi
-
- popd &>/dev/null || die
-}
-
-src_test() {
- if ! use debug; then
- # tests can be only executed for the binaries variant
- pushd "${WORKDIR}/${P}-binaries" &>/dev/null || die
- echo "set ngbehavior=mc" > "${HOME}"/.spiceinit || die "Failed to configure ${PN} for running the test suite"
- virtx default
- popd &>/dev/null || die
- else
- # https://sourceforge.net/p/ngspice/bugs/353/
- ewarn
- ewarn "Skipping tests because they are known to fail in debug mode"
- ewarn
- fi
-}