[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2023-03-08 Thread David Seifert
commit: ebd59921696a132068ca526be3cd88b2f46cabc0
Author: David Seifert  gentoo  org>
AuthorDate: Wed Mar  8 13:40:29 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Mar  8 13:40:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd59921

sci-electronics/gnucap: drop 0.35.20091207-r1

Signed-off-by: David Seifert  gentoo.org>

 sci-electronics/gnucap/Manifest|  5 --
 .../gnucap/gnucap-0.35.20091207-r1.ebuild  | 83 --
 2 files changed, 88 deletions(-)

diff --git a/sci-electronics/gnucap/Manifest b/sci-electronics/gnucap/Manifest
index 0f8320821363..d958a168c245 100644
--- a/sci-electronics/gnucap/Manifest
+++ b/sci-electronics/gnucap/Manifest
@@ -1,6 +1 @@
-DIST gnucap-2009-12-07-models-bsim.tar.gz 4074699 BLAKE2B 
e8d48be7eb22bfe360a4cd80e3605b292be7839100e1ebd40a718bc23c5f9d2330fb3a58c9c18bebaf8b87a6fad3002f5596a4f83e41eefa0eab8f4ed5d9b18e
 SHA512 
4f7caaeab0268df113da726f4fbd5a0f3eff63c325a7c08f0cd10ec727318aff6a51ce81619f0f3e31b87f89a51643cd608cb14ba09a70fb7294df9748ed1db4
-DIST gnucap-2009-12-07-models-jspice3-2.5.tar.gz 502564 BLAKE2B 
a0c60671cb338035035a50cdc6f2d7e9df9aaf7f2ee3c0bd600ec4d0a8aafd2628c6acf37c89f9f7c7ec3879220dc81ceec191ad9cc0a31def76d6df5bba1606
 SHA512 
90d93912d5d000218f43e7b63efcd43473467d7d51c1cee160f3fbe53b0bafd5bdeaf5680e2ca67d3176063ba026352248412d1e266d3f6ed93e731e476d61fe
-DIST gnucap-2009-12-07-models-ngspice17.tar.gz 4418060 BLAKE2B 
b7d300cc93b870b13eab25d4b0303af647303551f2777e61cc38d18d770e9b446b9a1e4f8fd94b81c11f96eb1c6bac4ef113f69806a979ac3fe69903e0855d91
 SHA512 
0f26b4491531d41f18d35b8cde339e99b593794495346186dac74f72bd3632dfe4690ede50a972c47ae41b2229a62d708ecd28bb8fc04b5b7347a481bca709d5
-DIST gnucap-2009-12-07-models-spice3f5.tar.gz 629424 BLAKE2B 
3369374942a0b0b14dc484a6d49b9650d461112f15623f43b1140a4bddd4d23a6035c4c31294f1003828b93bc21b1c1c059acf61c2db85c9578bb8162e247234
 SHA512 
4c16e4bcdd3b4092bd6c89c56421ef9ca85b6aba90d9e244fee03278916c6b5ac1c56ecba62d4a5561ff3d93abc61492c0116ccc350c483128ca792b52fa7155
-DIST gnucap-2009-12-07.tar.gz 545578 BLAKE2B 
a1ff8ed82a8ab57c455fdb96c399a5e480b1eb898d439e39380c4287d65538e9c0e1f61aef08c616aff34390a507243edc1fbb2f55b2bfc6d383264e2281e1c9
 SHA512 
c0e8a4f6b66eeff2cf95e9cf2050a25aa08f660de1e4b3e78011998deb93cd4e5b562cdcf5f3beb72e04cb3c7650cde6ae8c81602ffc31f5e333d84e7e3867a9
 DIST gnucap-20210107.tar.gz 801944 BLAKE2B 
fcef1e234710575285446c63cae85e2ef7e82e74ab65627614b8cc2bd0511427b63aa352a335c2b56c159b9129ce4cac998b86ddd29c19f9c57a63cfc2354676
 SHA512 
7f85a69f73808091b0826bb671174ad2515771c36e624031fb2fe79671366c57cd20ce9c973359869146a90fc568bc0ae1c354655e9d5cd75507b069f45cbfb7

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
deleted file mode 100644
index 6503c350f6fd..
--- a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib toolchain-funcs flag-o-matic
-
-SNAPSHOTDATE="${P##*.}"
-MY_PV="${PN}-${SNAPSHOTDATE:0:4}-${SNAPSHOTDATE:4:2}-${SNAPSHOTDATE:6:2}"
-
-DESCRIPTION="GNUCap is the GNU Circuit Analysis Package"
-SRC_URI="http://www.gnucap.org/devel/${MY_PV}.tar.gz
-   http://www.gnucap.org/devel/${MY_PV}-models-bsim.tar.gz
-   http://www.gnucap.org/devel/${MY_PV}-models-jspice3-2.5.tar.gz
-   http://www.gnucap.org/devel/${MY_PV}-models-ngspice17.tar.gz
-   http://www.gnucap.org/devel/${MY_PV}-models-spice3f5.tar.gz";
-HOMEPAGE="http://www.gnucap.org/";
-
-IUSE="examples"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~ppc x86"
-
-# NOTE: readline could be made optional, but I don't see a point for now.
-RDEPEND="sys-libs/readline:="
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_PV}"
-
-src_prepare() {
-   # No need to install COPYING and INSTALL
-   sed -i \
-   -e 's: COPYING INSTALL::' \
-   -e 's:COPYING history INSTALL:history:' \
-   doc/Makefile.in || die
-
-   if ! use examples ; then
-   sed -i \
-   -e 's:examples modelgen:modelgen:' \
-   Makefile.in || die
-   fi
-
-   sed -i -e 's:CFLAGS = -O2 -g:CPPFLAGS +=:' \
-   -e '/CCFLAGS =/i\CFLAGS += $(CPPFLAGS)' \
-   -e 's:CCFLAGS = $(CFLAGS):CXXFLAGS += $(CPPFLAGS):' \
-   -e 's:LDFLAGS = :LDFLAGS += :' \
-   -e 's:CCFLAGS:CXXFLAGS:' \
-   -e "s:../Gnucap:${S}/src:" \
-   models-*/Make2 || die
-
-   sed -i -e "s:strchr(str2, '|'):const_cast(strchr(str2, '|')):" \
-   {src,modelgen}/ap_match.cc || die
-
-   tc-export CC CXX
-   append-cxxflags -std=gnu++98
-
-   default
-}
-
-src_compile() {
-   emake
-   for PLUGIN_DIR in models-* ; do
-   cd "${S}/${PLUGIN_DIR}"
-  

[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2023-03-07 Thread Sam James
commit: 939b1653544a3e27319ba7a76827639775b5dcc7
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  7 15:53:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 15:53:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939b1653

sci-electronics/gnucap: Stabilize 20210107 x86, #900198

Signed-off-by: Sam James  gentoo.org>

 sci-electronics/gnucap/gnucap-20210107.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-electronics/gnucap/gnucap-20210107.ebuild 
b/sci-electronics/gnucap/gnucap-20210107.ebuild
index 9958fe58fcee..f29ea8e434d1 100644
--- a/sci-electronics/gnucap/gnucap-20210107.ebuild
+++ b/sci-electronics/gnucap/gnucap-20210107.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.gnucap.org/";
 IUSE="examples"
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
 
 RDEPEND="sys-libs/readline:="
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2023-03-07 Thread Sam James
commit: 58be84834ed1e29fe6fd242e6337bfa4378f097a
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  7 15:53:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 15:53:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58be8483

sci-electronics/gnucap: Stabilize 20210107 amd64, #900198

Signed-off-by: Sam James  gentoo.org>

 sci-electronics/gnucap/gnucap-20210107.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/gnucap/gnucap-20210107.ebuild 
b/sci-electronics/gnucap/gnucap-20210107.ebuild
index f898c65a2a47..9958fe58fcee 100644
--- a/sci-electronics/gnucap/gnucap-20210107.ebuild
+++ b/sci-electronics/gnucap/gnucap-20210107.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.gnucap.org/";
 IUSE="examples"
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 
 RDEPEND="sys-libs/readline:="
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2022-03-20 Thread Sam James
commit: 967f774b493948ab6d6fb396aadcf4fc26bfbf31
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 20 18:50:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 20 18:51:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967f774b

sci-electronics/gnucap: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James  gentoo.org>

 sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
index f8588c470fa0..6503c350f6fd 100644
--- a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
+++ b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -61,7 +61,7 @@ src_compile() {
emake
for PLUGIN_DIR in models-* ; do
cd "${S}/${PLUGIN_DIR}"
-   emake CC=$(tc-getCC) CCC=$(tc-getCXX)
+   emake CC="$(tc-getCC)" CCC="$(tc-getCXX)"
done
 }
 



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/, sci-electronics/gnucap/files/

2022-01-27 Thread Andrew Ammerlaan
commit: e79a95397bbf5564ba4b59fdd437b2ebe00d5a1d
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Jan 27 18:25:46 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Jan 27 18:27:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e79a9539

sci-electronics/gnucap: add version 20210107

Closes: https://bugs.gentoo.org/614656
Bug: https://bugs.gentoo.org/628828
Bug: https://bugs.gentoo.org/792735
Bug: https://bugs.gentoo.org/731854
Bug: https://bugs.gentoo.org/725452
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-electronics/gnucap/Manifest|   1 +
 .../gnucap/files/gnucap-20210107-fix-paths.patch   |  68 +++
 .../files/gnucap-20210107-respect-ldflags.patch| 208 +
 sci-electronics/gnucap/gnucap-20210107.ebuild  |  21 +++
 4 files changed, 298 insertions(+)

diff --git a/sci-electronics/gnucap/Manifest b/sci-electronics/gnucap/Manifest
index db20d354963e..0f8320821363 100644
--- a/sci-electronics/gnucap/Manifest
+++ b/sci-electronics/gnucap/Manifest
@@ -3,3 +3,4 @@ DIST gnucap-2009-12-07-models-jspice3-2.5.tar.gz 502564 BLAKE2B 
a0c60671cb338035
 DIST gnucap-2009-12-07-models-ngspice17.tar.gz 4418060 BLAKE2B 
b7d300cc93b870b13eab25d4b0303af647303551f2777e61cc38d18d770e9b446b9a1e4f8fd94b81c11f96eb1c6bac4ef113f69806a979ac3fe69903e0855d91
 SHA512 
0f26b4491531d41f18d35b8cde339e99b593794495346186dac74f72bd3632dfe4690ede50a972c47ae41b2229a62d708ecd28bb8fc04b5b7347a481bca709d5
 DIST gnucap-2009-12-07-models-spice3f5.tar.gz 629424 BLAKE2B 
3369374942a0b0b14dc484a6d49b9650d461112f15623f43b1140a4bddd4d23a6035c4c31294f1003828b93bc21b1c1c059acf61c2db85c9578bb8162e247234
 SHA512 
4c16e4bcdd3b4092bd6c89c56421ef9ca85b6aba90d9e244fee03278916c6b5ac1c56ecba62d4a5561ff3d93abc61492c0116ccc350c483128ca792b52fa7155
 DIST gnucap-2009-12-07.tar.gz 545578 BLAKE2B 
a1ff8ed82a8ab57c455fdb96c399a5e480b1eb898d439e39380c4287d65538e9c0e1f61aef08c616aff34390a507243edc1fbb2f55b2bfc6d383264e2281e1c9
 SHA512 
c0e8a4f6b66eeff2cf95e9cf2050a25aa08f660de1e4b3e78011998deb93cd4e5b562cdcf5f3beb72e04cb3c7650cde6ae8c81602ffc31f5e333d84e7e3867a9
+DIST gnucap-20210107.tar.gz 801944 BLAKE2B 
fcef1e234710575285446c63cae85e2ef7e82e74ab65627614b8cc2bd0511427b63aa352a335c2b56c159b9129ce4cac998b86ddd29c19f9c57a63cfc2354676
 SHA512 
7f85a69f73808091b0826bb671174ad2515771c36e624031fb2fe79671366c57cd20ce9c973359869146a90fc568bc0ae1c354655e9d5cd75507b069f45cbfb7

diff --git a/sci-electronics/gnucap/files/gnucap-20210107-fix-paths.patch 
b/sci-electronics/gnucap/files/gnucap-20210107-fix-paths.patch
new file mode 100644
index ..455475fa7cde
--- /dev/null
+++ b/sci-electronics/gnucap/files/gnucap-20210107-fix-paths.patch
@@ -0,0 +1,68 @@
+diff --git a/apps/Make1 b/apps/Make1
+index 43a2266..a29b29f 100644
+--- a/apps/Make1
 b/apps/Make1
+@@ -23,7 +23,7 @@ TARGET = gnucap-default-plugins
+ #
+ INSTALL_FILES = $(TARGET)$(TARGET_EXT)
+ #
+-INSTALL_DIR = $(PREFIX)/lib/gnucap
++INSTALL_DIR = $(PREFIX)/lib64/gnucap
+ #
+ DELETED =
+ #
+diff --git a/lib/Make1 b/lib/Make1
+index 27f839f..bd9fbfb 100644
+--- a/lib/Make1
 b/lib/Make1
+@@ -23,7 +23,7 @@ TARGET = libgnucap
+ #
+ INSTALL_FILES = $(TARGET)$(TARGET_EXT)
+ #
+-INSTALL_DIR = $(PREFIX)/lib
++INSTALL_DIR = $(PREFIX)/lib64
+ #
+ DELETED =
+ #
+diff --git a/main/Make1 b/main/Make1
+index 14d44c7..2d92c1f 100644
+--- a/main/Make1
 b/main/Make1
+@@ -24,7 +24,7 @@ TARGET = gnucap
+ INSTALL_DIR = $(PREFIX)/bin
+ INSTALL_FILES = $(TARGET)$(TARGET_EXT) ../gnucap-conf
+ #
+-INSTALL_SYSCONF_DIR = $(PREFIX)/etc
++INSTALL_SYSCONF_DIR = $(PREFIX)/../etc
+ INSTALL_SYSCONF_FILES = ../gnucap.conf
+ #
+ DELETED =
+diff --git a/main/configure b/main/configure
+index b68d06a..47e43a2 100755
+--- a/main/configure
 b/main/configure
+@@ -23,8 +23,8 @@ fi
+ 
+ sed -e "s#/usr/local#$prefix#" ../Makefile.template > Makefile
+ #
+-pkglibdir='${prefix}/lib/gnucap'
+-pkglibdir_expanded="${prefix}/lib/gnucap"
++pkglibdir='${prefix}/lib64/gnucap'
++pkglibdir_expanded="${prefix}/lib64/gnucap"
+ 
+ # bug. this is not implemented consistently.
+ CXX=${CXX-c++}
+@@ -32,11 +32,11 @@ CXX=${CXX-c++}

[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2021-02-06 Thread Sam James
commit: a6478c8f332e4842409829f4e09ac5d05acc2c27
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  6 22:01:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  6 22:01:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6478c8f

sci-electronics/gnucap: add missing sys-libs/readline dep

Closes: https://bugs.gentoo.org/644028
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
index b7cea90bde0..0c524c10d33 100644
--- a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
+++ b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,8 +21,9 @@ SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="amd64 ppc x86"
 
-DEPEND=""
-RDEPEND=""
+# NOTE: readline could be made optional, but I don't see a point for now.
+RDEPEND="sys-libs/readline:="
+DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/${MY_PV}"
 



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2019-03-02 Thread Mikle Kolyada
commit: 0844bb0431e8999c979cce65d30cb6e6f8cb4525
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar  3 06:49:30 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar  3 06:49:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0844bb04

sci-electronics/gnucap: amd64 stable wrt bug #678892

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
index 74a3a4eab19..aa2182dda71 100644
--- a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
+++ b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="http://www.gnucap.org/";
 IUSE="examples"
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ppc x86"
+KEYWORDS="amd64 ppc x86"
 
 DEPEND=""
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2019-03-02 Thread Mikle Kolyada
commit: 7c86c6d7d529f72749a1d341fff7a3926b187b1d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar  3 06:50:27 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar  3 06:50:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c86c6d7

sci-electronics/gnucap: Drop old (EAPI=2)

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-electronics/gnucap/gnucap-0.35.20091207.ebuild | 81 --
 1 file changed, 81 deletions(-)

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild
deleted file mode 100644
index ef828018d8f..000
--- a/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit multilib toolchain-funcs flag-o-matic
-
-SNAPSHOTDATE="${P##*.}"
-MY_PV="${PN}-${SNAPSHOTDATE:0:4}-${SNAPSHOTDATE:4:2}-${SNAPSHOTDATE:6:2}"
-
-DESCRIPTION="GNUCap is the GNU Circuit Analysis Package"
-SRC_URI="http://www.gnucap.org/devel/${MY_PV}.tar.gz
-   http://www.gnucap.org/devel/${MY_PV}-models-bsim.tar.gz
-   http://www.gnucap.org/devel/${MY_PV}-models-jspice3-2.5.tar.gz
-   http://www.gnucap.org/devel/${MY_PV}-models-ngspice17.tar.gz
-   http://www.gnucap.org/devel/${MY_PV}-models-spice3f5.tar.gz";
-HOMEPAGE="http://www.gnucap.org/";
-
-IUSE="examples"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
-
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}/${MY_PV}"
-
-src_prepare() {
-   # No need to install COPYING and INSTALL
-   sed -i \
-   -e 's: COPYING INSTALL::' \
-   -e 's:COPYING history INSTALL:history:' \
-   doc/Makefile.in || die "sed failed"
-
-   if ! use examples ; then
-   sed -i \
-   -e 's:examples modelgen:modelgen:' \
-   Makefile.in || die "sed failed"
-   fi
-
-   sed -i -e 's:CFLAGS = -O2 -g:CPPFLAGS +=:' \
-   -e '/CCFLAGS =/i\CFLAGS += $(CPPFLAGS)' \
-   -e 's:CCFLAGS = $(CFLAGS):CXXFLAGS += $(CPPFLAGS):' \
-   -e 's:LDFLAGS = :LDFLAGS += :' \
-   -e 's:CCFLAGS:CXXFLAGS:' \
-   -e "s:../Gnucap:${S}/src:" \
-   models-*/Make2 || die "sed failed"
-
-   sed -i -e "s:strchr(str2, '|'):const_cast(strchr(str2, '|')):" \
-   {src,modelgen}/ap_match.cc || die "sed failed"
-
-   tc-export CC CXX
-   append-cxxflags -std=gnu++98
-}
-
-src_compile () {
-   emake || die "Compilation failed"
-   for PLUGIN_DIR in models-* ; do
-   cd "${S}/${PLUGIN_DIR}"
-   emake CC=$(tc-getCC) CCC=$(tc-getCXX) || die "Compilation 
failed in ${PLUGIN_DIR}"
-   done
-}
-
-src_install () {
-   emake DESTDIR="${D}" install || die "Installation failed"
-   insopts -m0755
-   for PLUGIN_DIR in models-* ; do
-   insinto /usr/$(get_libdir)/gnucap/${PLUGIN_DIR}
-   cd "${S}/${PLUGIN_DIR}"
-   for PLUGIN in */*.so ; do
-   newins ${PLUGIN} ${PLUGIN##*/} \
-   || die "Installation of ${PLUGIN_DIR}/${PLUGIN} failed"
-   done
-   done
-}
-
-pkg_postinst() {
-   elog "Documentation for development releases is now available at :"
-   elog "http://wiki.gnucap.org/dokuwiki/doku.php?id=gnucap:manual";
-}



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2019-03-02 Thread Thomas Deutschmann
commit: 26c15c4faeaadc56d872ac56395b9800d1c0b679
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Mar  2 20:36:38 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Mar  2 20:49:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c15c4f

sci-electronics/gnucap: x86 stable (bug #678892)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
index 6fc878e620e..74a3a4eab19 100644
--- a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
+++ b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="http://www.gnucap.org/";
 IUSE="examples"
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ppc ~x86"
+KEYWORDS="~amd64 ppc x86"
 
 DEPEND=""
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2019-02-27 Thread Sergei Trofimovich
commit: d1d75a0c82c6c6204a15f1d20ec70c614e7dff2d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Feb 27 08:18:57 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Feb 27 08:18:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d75a0c

sci-electronics/gnucap: stable 0.35.20091207-r1 for ppc, bug #678892

Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
index e3064c93b3f..6fc878e620e 100644
--- a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
+++ b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="http://www.gnucap.org/";
 IUSE="examples"
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ppc ~x86"
 
 DEPEND=""
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2019-01-17 Thread Andreas K. Hüttel
commit: d3f7717cea9bd0f240d8fa1a086652bb02c486d7
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Thu Jan 17 22:30:43 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Thu Jan 17 22:31:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f7717c

sci-electronics/gnucap: EAPI bump

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 .../gnucap/gnucap-0.35.20091207-r1.ebuild  | 82 ++
 1 file changed, 82 insertions(+)

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
new file mode 100644
index 000..e3064c93b3f
--- /dev/null
+++ b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib toolchain-funcs flag-o-matic
+
+SNAPSHOTDATE="${P##*.}"
+MY_PV="${PN}-${SNAPSHOTDATE:0:4}-${SNAPSHOTDATE:4:2}-${SNAPSHOTDATE:6:2}"
+
+DESCRIPTION="GNUCap is the GNU Circuit Analysis Package"
+SRC_URI="http://www.gnucap.org/devel/${MY_PV}.tar.gz
+   http://www.gnucap.org/devel/${MY_PV}-models-bsim.tar.gz
+   http://www.gnucap.org/devel/${MY_PV}-models-jspice3-2.5.tar.gz
+   http://www.gnucap.org/devel/${MY_PV}-models-ngspice17.tar.gz
+   http://www.gnucap.org/devel/${MY_PV}-models-spice3f5.tar.gz";
+HOMEPAGE="http://www.gnucap.org/";
+
+IUSE="examples"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${MY_PV}"
+
+src_prepare() {
+   # No need to install COPYING and INSTALL
+   sed -i \
+   -e 's: COPYING INSTALL::' \
+   -e 's:COPYING history INSTALL:history:' \
+   doc/Makefile.in || die
+
+   if ! use examples ; then
+   sed -i \
+   -e 's:examples modelgen:modelgen:' \
+   Makefile.in || die
+   fi
+
+   sed -i -e 's:CFLAGS = -O2 -g:CPPFLAGS +=:' \
+   -e '/CCFLAGS =/i\CFLAGS += $(CPPFLAGS)' \
+   -e 's:CCFLAGS = $(CFLAGS):CXXFLAGS += $(CPPFLAGS):' \
+   -e 's:LDFLAGS = :LDFLAGS += :' \
+   -e 's:CCFLAGS:CXXFLAGS:' \
+   -e "s:../Gnucap:${S}/src:" \
+   models-*/Make2 || die
+
+   sed -i -e "s:strchr(str2, '|'):const_cast(strchr(str2, '|')):" \
+   {src,modelgen}/ap_match.cc || die
+
+   tc-export CC CXX
+   append-cxxflags -std=gnu++98
+
+   default
+}
+
+src_compile () {
+   emake
+   for PLUGIN_DIR in models-* ; do
+   cd "${S}/${PLUGIN_DIR}"
+   emake CC=$(tc-getCC) CCC=$(tc-getCXX)
+   done
+}
+
+src_install () {
+   emake DESTDIR="${D}" install
+   insopts -m0755
+   for PLUGIN_DIR in models-* ; do
+   insinto /usr/$(get_libdir)/gnucap/${PLUGIN_DIR}
+   cd "${S}/${PLUGIN_DIR}"
+   for PLUGIN in */*.so ; do
+   newins ${PLUGIN} ${PLUGIN##*/}
+   done
+   done
+}
+
+pkg_postinst() {
+   elog "Documentation for development releases is now available at :"
+   elog "http://wiki.gnucap.org/dokuwiki/doku.php?id=gnucap:manual";
+}



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/

2017-09-20 Thread Andreas Hüttel
commit: 83191499c969a0fd64a515fdba5d0a5088a36ff2
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Sep 20 21:24:57 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Sep 20 21:25:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83191499

sci-electronics/gnucap: Force -std=gnu++98 to fix build with gcc-6, bug 594184

The code is otherwise rather unfixable. Maybe one day somebody will have mercy
and do a version bump.

Closes: https://bugs.gentoo.org/594184
Package-Manager: Portage-2.3.10, Repoman-2.3.3

 sci-electronics/gnucap/gnucap-0.35.20091207.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild 
b/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild
index 4affd99b9d6..ef828018d8f 100644
--- a/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild
+++ b/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="2"
 
-inherit multilib toolchain-funcs
+inherit multilib toolchain-funcs flag-o-matic
 
 SNAPSHOTDATE="${P##*.}"
 MY_PV="${PN}-${SNAPSHOTDATE:0:4}-${SNAPSHOTDATE:4:2}-${SNAPSHOTDATE:6:2}"
@@ -51,6 +51,7 @@ src_prepare() {
{src,modelgen}/ap_match.cc || die "sed failed"
 
tc-export CC CXX
+   append-cxxflags -std=gnu++98
 }
 
 src_compile () {



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/gnucap/files/

2017-02-01 Thread David Seifert
commit: d3477dc16a229e4a7e709b771838e5063b844135
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Tue Jan 31 17:42:54 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Feb  1 22:40:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3477dc1

sci-electronics/gnucap: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3740

 .../gnucap/files/gnucap-0.35-gcc43.patch   | 22 --
 1 file changed, 22 deletions(-)

diff --git a/sci-electronics/gnucap/files/gnucap-0.35-gcc43.patch 
b/sci-electronics/gnucap/files/gnucap-0.35-gcc43.patch
deleted file mode 100644
index 3bd6489..
--- a/sci-electronics/gnucap/files/gnucap-0.35-gcc43.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur gnucap-0.35-orig/modelgen/md.h gnucap-0.35/modelgen/md.h
 gnucap-0.35-orig/modelgen/md.h 2006-08-28 00:15:43.0 -0600
-+++ gnucap-0.35/modelgen/md.h  2009-02-15 14:31:22.0 -0600
-@@ -44,6 +44,7 @@
- #include 
- #include 
- #include 
-+#include 
- // types
- #include 
- #include 
-diff -Naur gnucap-0.35-orig/src/md.h gnucap-0.35/src/md.h
 gnucap-0.35-orig/src/md.h  2006-08-28 00:15:43.0 -0600
-+++ gnucap-0.35/src/md.h   2009-02-15 14:31:22.0 -0600
-@@ -44,6 +44,7 @@
- #include 
- #include 
- #include 
-+#include 
- // types
- #include 
- #include