public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/ngspice/files/, sci-electronics/ngspice/
Date: Mon,  1 Jan 2018 17:56:52 +0000 (UTC)	[thread overview]
Message-ID: <1514829406.f4c745f13ca82f877ed7f630e14c343dababd68d.zlogene@gentoo> (raw)

commit:     f4c745f13ca82f877ed7f630e14c343dababd68d
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 17:55:16 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 17:56:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c745f1

sci-electronics/ngspice: Drop old (bug #605728)

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sci-electronics/ngspice/Manifest                   |   2 -
 .../ngspice/files/ngspice-26-respect-ldflags.patch |  31 -------
 sci-electronics/ngspice/ngspice-26.ebuild          | 102 ---------------------
 3 files changed, 135 deletions(-)

diff --git a/sci-electronics/ngspice/Manifest b/sci-electronics/ngspice/Manifest
index 15963ee80df..106266fe01b 100644
--- a/sci-electronics/ngspice/Manifest
+++ b/sci-electronics/ngspice/Manifest
@@ -1,4 +1,2 @@
-DIST ngspice-26-manual.pdf 2141771 BLAKE2B 16956c46640de4696f7197997b170a2b1aad9b2f9fbe299b801de100d8aaca949b5be6f259e353a168ae90d992d91ff65e8a819b49fdf509fae98ec7dfa610d7 SHA512 1c160aeef61d8091a6d788677bcf7ea682393cc886d5d535f87bb800cdae4f095cbf1e833babadea481956b904b4bdb688cc18b80d9d6a29cab33a54275abab1
-DIST ngspice-26.tar.gz 6925987 BLAKE2B 8f8e54000234ea3896a55863df99b6ce83ad322e3049845e0a817635ebfebdc8398e6fa4831727c4798a8d9dce1b1c2a01354505e48dc0b2db9e9036aa2ae5aa SHA512 eb6a81df90de803c9f7544e8d0de7cc413aac169f69d1dec5cc6d2e667b66d42aede7f14c75bcdd10288be0c2ac07863fd4028b9fe59f2f515d680c2ffa41cab
 DIST ngspice-27-manual.pdf 3117788 BLAKE2B 6e271abc50b0139c4776844ea31176d231e68c70ce34d0daec48aefc5ef5a9eac90a77f3141081f38c6ac8d42bb95ec061bf1d43bfd3a4fb13e4822c2eff4f57 SHA512 ed87764715917e2cd832c49e911a2908dba9907f9f01c933cb7f97a92c7f9ff345bc26a2f0561dd34b2eede6874b6a67b4864abf3dcff127bd0306e778e997b5
 DIST ngspice-27.tar.gz 7372998 BLAKE2B ce8590518fa4eb4292c73c4eaefdd9d0da19bca8120b51daae954a5b9d86f51912d2dccb5a827480caadce8321373d96f045226db4986a78bcc9170f2e46f9a5 SHA512 1714f95ab5716c228a0b39395a742e8b9a823e0e6f7e08625d089541ea786df5fd7b9d2982bcec8431e27ac6ba7603ecc507f9cfcb0a6aacd53f5633f52bd2ea

diff --git a/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch b/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch
deleted file mode 100644
index 31fe300b105..00000000000
--- a/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- ngspice-26/src/xspice/icm/makedefs.in
-+++ ngspice-26/src/xspice/icm/makedefs.in
-@@ -44,16 +44,19 @@
- LIBS = -lm
- 
- # Flags to use when linking shared library
--LDFLAGS = -shared
- ifeq ($(ISMINGW), 1)
--  LDFLAGS = -shared @LDFLAGS@
--endif
--ifeq "$(strip $(uname))" "Darwin"
--  LDFLAGS = -bundle -flat_namespace -undefined suppress
--endif
--ifeq "$(strip $(uname))" "SunOS"
--  ifneq "$(CC)" "gcc"
--    LDFLAGS = -G
-+  LDFLAGS += -shared @LDFLAGS@
-+else
-+  ifeq "$(strip $(uname))" "Darwin"
-+    LDFLAGS += -bundle -flat_namespace -undefined suppress
-+  else
-+    ifeq "$(strip $(uname))" "SunOS"
-+      ifneq "$(CC)" "gcc"
-+        LDFLAGS += -G
-+      else
-+        LDFLAGS += -shared
-+      endif
-+    endif
-   endif
- endif
- 

diff --git a/sci-electronics/ngspice/ngspice-26.ebuild b/sci-electronics/ngspice/ngspice-26.ebuild
deleted file mode 100644
index 3c185422f41..00000000000
--- a/sci-electronics/ngspice/ngspice-26.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="3"
-
-inherit autotools eutils
-
-DESCRIPTION="The Next Generation Spice (Electronic Circuit Simulator)"
-SRC_URI="mirror://sourceforge/ngspice/${P}.tar.gz
-	mirror://sourceforge/ngspice/${PN}-${PV}-manual.pdf"
-HOMEPAGE="http://ngspice.sourceforge.net"
-LICENSE="BSD GPL-2"
-
-SLOT="0"
-IUSE="X debug readline"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x64-macos"
-
-DEPEND="sys-libs/ncurses
-	readline? ( >=sys-libs/readline-5.0 )
-	X? ( x11-libs/libXaw
-		x11-libs/libXt
-		x11-libs/libX11
-		sci-visualization/xgraph )"
-
-RDEPEND="$DEPEND"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-respect-ldflags.patch
-	sed -e '/CFLAGS=/s: -s::' -i configure.ac || die "sed failed"
-	sed -e 's/_CFLAGS -O2/_CFLAGS/' -i configure.ac || die "sed failed"
-	sed -e '/AM_INIT_AUTOMAKE/s:-Werror::' -i configure.ac || die "sed failed"
-	# builds also with ncurses[tinfo] (bug #458128)
-	sed -e 's/ncurses termcap/ncurses termcap tinfo/g' -i configure.ac || die
-	eautoreconf
-}
-
-src_configure() {
-	local MYCONF
-	if use debug ; then
-		MYCONF="--enable-debug \
-			--enable-ftedebug \
-			--enable-cpdebug \
-			--enable-asdebug \
-			--enable-stepdebug \
-			--enable-pzdebug"
-	else
-		MYCONF="--disable-debug \
-			--disable-ftedebug \
-			--disable-cpdebug \
-			--disable-asdebug \
-			--disable-stepdebug \
-			--disable-pzdebug"
-	fi
-	# Those don't compile
-	MYCONF="${MYCONF} \
-		--disable-sensdebug \
-		--disable-blktmsdebug \
-		--disable-smltmsdebug"
-
-	econf \
-		${MYCONF} \
-		--enable-xspice \
-		--enable-cider \
-		--enable-ndev \
-		--disable-xgraph \
-		--disable-dependency-tracking \
-		--disable-rpath \
-		$(use_with X x) \
-		$(use_with readline)
-}
-
-# These will need to be looked at some day:
-# --enable-adms
-# --enable-nodelimiting
-# --enable-predictor
-# --enable-newtrunc
-# --enable-openmp
-
-src_install () {
-	local infoFile
-	for infoFile in doc/ngspice.info*; do
-		echo 'INFO-DIR-SECTION EDA' >> ${infoFile}
-		echo 'START-INFO-DIR-ENTRY' >> ${infoFile}
-		echo '* NGSPICE: (ngspice). Electronic Circuit Simulator.' >> ${infoFile}
-		echo 'END-INFO-DIR-ENTRY' >> ${infoFile}
-	done
-
-	emake DESTDIR="${D}" install || die "make install failed"
-	dodoc ANALYSES AUTHORS BUGS ChangeLog DEVICES NEWS \
-		README Stuarts_Poly_Notes || die "failed to install documentation"
-
-	insinto /usr/share/doc/${PF}
-	doins "${DISTDIR}"/${PN}-${PV}-manual.pdf || die "failed to install manual"
-
-	# We don't need ngmakeidx to be installed
-	rm "${D}"/usr/bin/ngmakeidx
-}
-
-src_test () {
-	# Bug 108405
-	true
-}


             reply	other threads:[~2018-01-01 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-01 17:56 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-18 10:14 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/ngspice/files/, sci-electronics/ngspice/ David Seifert
2017-12-03 17:24 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1514829406.f4c745f13ca82f877ed7f630e14c343dababd68d.zlogene@gentoo \
    --to=zlogene@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox