commit:     0b6d861d173a91589861871acf5fbd35fe28b495
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 17:41:00 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 17:41:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6d861d

sci-mathematics/snns: remove last-rited pkg

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sci-mathematics/snns/Manifest                      |   2 -
 sci-mathematics/snns/files/4.2-ldflags.patch       |  42 ------
 sci-mathematics/snns/files/4.3-bison-version.patch |  11 --
 .../snns/files/4.3-expand-path-strings.patch       |  33 -----
 sci-mathematics/snns/files/4.3-snns-netperf.patch  | 164 ---------------------
 sci-mathematics/snns/files/4.3-unstrip.patch       |  11 --
 sci-mathematics/snns/metadata.xml                  |  15 --
 sci-mathematics/snns/snns-4.3-r2.ebuild            | 123 ----------------
 sci-mathematics/snns/snns-4.3-r3.ebuild            | 124 ----------------
 9 files changed, 525 deletions(-)

diff --git a/sci-mathematics/snns/Manifest b/sci-mathematics/snns/Manifest
deleted file mode 100644
index 5e3146e4835..00000000000
--- a/sci-mathematics/snns/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST SNNSv4.2.Manual.pdf 2103861 BLAKE2B 
2eaafc53a1c6d298f8dd67d019c39ef1dec9a82cae699247235a963d1bbdc673931dabfe30240672044e7d8596d7d6bf69260682a1dad7b4849be26b0e6b7b19
 SHA512 
204ff6cf31cdf6496042b7f1b6a1a446c4050c3d4d92ff046dc4970c4f8d3872f5d3430d2f41138e5e5b64a77348b95960eba53b2c305954b68dd0e483828016
-DIST SNNSv4.3.tar.gz 5076669 BLAKE2B 
177a6d6a03497cfb6980e6d2c2be27a38d683bdfa8132e257599a6867f150eed0f6dd66b5e43a79f812a83760ec0e40cd5879ba2d8a41e4446e289fd08b3ddc0
 SHA512 
a057dc946b581eee01334956c33d6870b8b994d1b835834d58c37ae3a8585dfb1206f3082b17a49ee97b22f4c07c0efb47e4e3ae5aeb37e97f69472da3e21f0b

diff --git a/sci-mathematics/snns/files/4.2-ldflags.patch 
b/sci-mathematics/snns/files/4.2-ldflags.patch
deleted file mode 100644
index 9ff4769731d..00000000000
--- a/sci-mathematics/snns/files/4.2-ldflags.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Respect LDFLAGS
-
-https://bugs.gentoo.org/show_bug.cgi?id=332475
-
---- a/tools/sources/Makefile
-+++ b/tools/sources/Makefile
-@@ -147,19 +147,19 @@
- # Linking of single stand alone programs
- 
- analyze: analyze.o
--      $(CC) analyze.o -lm -o analyze
-+      $(CC) $(LDFLAGS) analyze.o -lm -o analyze
- 
- pat_sel_simple: pat_sel_simple.o
--      $(CC) pat_sel_simple.o -lm -o pat_sel_simple
-+      $(CC) $(LDFLAGS) pat_sel_simple.o -lm -o pat_sel_simple
- 
- mkhead: mkhead.o
--      $(CC) mkhead.o -lm -o mkhead
-+      $(CC) $(LDFLAGS) mkhead.o -lm -o mkhead
- 
- mkout: mkout.o
--      $(CC) mkout.o -lm -o mkout
-+      $(CC) $(LDFLAGS) mkout.o -lm -o mkout
- 
- mkpat: mkpat.o
--      $(CC) mkpat.o -lm -o mkpat
-+      $(CC) $(LDFLAGS) mkpat.o -lm -o mkpat
- 
- 
- # Make sure that kernel libs are available and up to date
---- a/xgui/sources/Makefile
-+++ b/xgui/sources/Makefile
-@@ -202,7 +202,7 @@
- # Linking of xgui
- 
- xgui: $(LIBXGUI1) $(LIBXGUI2) $(BN3DLIB) $(KERNELLIBS)
--      $(CC) $(LIBXGUI1) $(LIBXGUI2) $(BN3DLIB) \
-+      $(CC) $(LDFLAGS) $(LIBXGUI1) $(LIBXGUI2) $(BN3DLIB) \
-       $(X_LIBS) -lXaw3d -lXmu -lXt -lXext $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS) 
\
-       $(KERNELALLLIBS) -o xgui 
- 

diff --git a/sci-mathematics/snns/files/4.3-bison-version.patch 
b/sci-mathematics/snns/files/4.3-bison-version.patch
deleted file mode 100644
index ceb4b1e43c0..00000000000
--- a/sci-mathematics/snns/files/4.3-bison-version.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure        2015-04-08 16:27:05.000000000 -0400
-+++ b/configure        2015-04-08 16:26:41.000000000 -0400
-@@ -5071,7 +5071,7 @@
- else
-     { echo "$as_me:$LINENO: checking for version of bison" >&5
- echo $ECHO_N "checking for version of bison... $ECHO_C" >&6; }
--    bison_version=`$BISON --version`
-+    bison_version=`$BISON --version |head -n 1`
-     { echo "$as_me:$LINENO: result: $bison_version" >&5
- echo "${ECHO_T}$bison_version" >&6; }
-     warn_bison=yes

diff --git a/sci-mathematics/snns/files/4.3-expand-path-strings.patch 
b/sci-mathematics/snns/files/4.3-expand-path-strings.patch
deleted file mode 100644
index e62a3cfa6cd..00000000000
--- a/sci-mathematics/snns/files/4.3-expand-path-strings.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/tools/sources/convert2snns.c     2008-04-21 03:56:07.000000000 -0400
-+++ b/tools/sources/convert2snns.c     2017-12-14 11:13:12.056308969 -0500
-@@ -54,8 +54,8 @@
- /* Init functionname */
- #define KOHONEN_INIT_FUNC_NAME      "Kohonen_Weights_v3.2"
- 
--char   *control_file,pattern_file[80],weight_file[80],
--       string[80],name[50];
-+char   *control_file,pattern_file[256],weight_file[256],
-+       string[256],name[256];
- int    no_of_exemplars,X,Y,
-        ret, i, j, unit_no,
-        IUnits, OUnits, HUnits;
---- a/tools/sources/snns2c.c   2017-12-14 11:05:48.372487874 -0500
-+++ b/tools/sources/snns2c.c   2017-12-14 11:11:08.484915822 -0500
-@@ -1622,7 +1622,7 @@
-   FILE   *fOutFile, *fHeaderFile;
-   pList  OutList, FunctionList;
-   time_t   timer;
--  char   HeaderFile[50];
-+  char   HeaderFile[256];
- 
-   /* calculate time for the date in the header of the output file */
-   time(&timer);
-@@ -1824,7 +1824,7 @@
-   FILE   *fOutFile, *fHeaderFile;
-   pList  OutList, FunctionList;
-   time_t timer;
--  char   HeaderFile[50];
-+  char   HeaderFile[256];
- 
-   /* calculate time for the date in the header of the output file */
-   time(&timer);

diff --git a/sci-mathematics/snns/files/4.3-snns-netperf.patch 
b/sci-mathematics/snns/files/4.3-snns-netperf.patch
deleted file mode 100644
index f154a538b2d..00000000000
--- a/sci-mathematics/snns/files/4.3-snns-netperf.patch
+++ /dev/null
@@ -1,164 +0,0 @@
---- a/examples/nettalk.README  2008-04-21 03:55:43.000000000 -0400
-+++ b/examples/nettalk.README  2015-04-14 09:38:23.836014999 -0400
-@@ -60,7 +60,7 @@
- Hints:
- ======
- 
--We usually call nettalk.net from the tool 'netperf', a benchmarking
-+We usually call nettalk.net from the tool 'snns-netperf', a benchmarking
- version of SNNS without graphical user interface but with the full and
- current SNNS kernel. It is supplied with SNNS in the tools directory.
- We usually train and test nettalk for 10 cycles. Since convergence is
---- a/man/man1/snns.1  2008-04-21 03:56:05.000000000 -0400
-+++ b/man/man1/snns.1  2015-04-14 09:36:27.406012874 -0400
-@@ -111,7 +111,7 @@
- .BR netlearn (1)
- backpropagation test program
- 
--.BR netperf (1)
-+.BR snns-netperf (1)
- benchmark program
- 
- .BR pat_sel (1)
-@@ -132,4 +132,4 @@
- yet. 
- 
- .SH AUTHOR
--Guenter W. Mamier 
-\ No newline at end of file
-+Guenter W. Mamier 
---- a/tools/doc/netperf.doc    2008-04-21 03:56:06.000000000 -0400
-+++ b/tools/doc/netperf.doc    1969-12-31 19:00:00.000000000 -0500
-@@ -1,49 +0,0 @@
--                  ===============================
--                  Description of the tool NETPERF
--                  ===============================
--
--This is a benchmark program for SNNS. Propagtion and
--backpropagation tests are performed.
--
--synopsis: netperf
--
--
--example:
--
--unix >netperf
--
--produces
--
--  SNNS 3D-Kernel V3.1000
--  -----  Benchmark Test  -----
--
--  Filename of the network file: ../../../examples/nettalk.net
--  Loading the network ...
--
--  Network name: nettalk1
--  No. of units       : 349
--  No. of input units : 203
--  No. of output units: 26
--  No. of sites: 0
--  No. of links: 27480
--
--  Learning function: Std_Backpropagation
--  Update function  : Topological_Order
--
--  Do you want to benchmark
--  Propagation [1] or
--  Backpropagation [2] ?
--  Input: 1
--
--  Choose no. of cycles: 100
--
--  Begin propagation ...
--
--
--  No. of units updated: 34900
--  No. of sites updated: 0
--  No. of links updated: 2748000
--  CPU Time used: 3.05 seconds
--
--  No. of connection per second (CPS): 9.0098e+05
--
---- a/tools/doc/snns-netperf.doc       1969-12-31 19:00:00.000000000 -0500
-+++ b/tools/doc/snns-netperf.doc       2015-04-14 09:37:21.126013855 -0400
-@@ -0,0 +1,49 @@
-+                ====================================
-+                Description of the tool SNNS-NETPERF
-+                ====================================
-+
-+This is a benchmark program for SNNS. Propagtion and
-+backpropagation tests are performed.
-+
-+synopsis: snns-netperf
-+
-+
-+example:
-+
-+unix >snns-netperf
-+
-+produces
-+
-+  SNNS 3D-Kernel V3.1000
-+  -----  Benchmark Test  -----
-+
-+  Filename of the network file: ../../../examples/nettalk.net
-+  Loading the network ...
-+
-+  Network name: nettalk1
-+  No. of units       : 349
-+  No. of input units : 203
-+  No. of output units: 26
-+  No. of sites: 0
-+  No. of links: 27480
-+
-+  Learning function: Std_Backpropagation
-+  Update function  : Topological_Order
-+
-+  Do you want to benchmark
-+  Propagation [1] or
-+  Backpropagation [2] ?
-+  Input: 1
-+
-+  Choose no. of cycles: 100
-+
-+  Begin propagation ...
-+
-+
-+  No. of units updated: 34900
-+  No. of sites updated: 0
-+  No. of links updated: 2748000
-+  CPU Time used: 3.05 seconds
-+
-+  No. of connection per second (CPS): 9.0098e+05
-+
---- a/tools/sources/Makefile   2015-04-14 09:34:31.386010756 -0400
-+++ b/tools/sources/Makefile   2015-04-14 09:35:50.526012201 -0400
-@@ -89,7 +89,7 @@
- 
- TOOLS_PRG          = $(TOOLS_SOURCES_C:.c=)
- KRTOOLS_PRG        = snns2c pat_sel netlearn td_bignet ff_bignet \
--                     netperf snnsbat feedback-gennet convert2snns \
-+                     snns-netperf snnsbat feedback-gennet convert2snns \
-                      isnns linknets
- BATCH_PRG          = batchman
- 
-@@ -110,7 +110,7 @@
- tools:       $(TOOLS_PRG) $(KRTOOLS_PRG) $(BATCH_PRG)
- 
- $(TOOLSBINDIR):
--      -mkdir $(TOOLSBINDIR)
-+      -mkdir -p $(TOOLSBINDIR)
- 
- install: tools $(TOOLSBINDIR)
-       for tooltarget in $(TOOLS_PRG) $(KRTOOLS_PRG) $(BATCH_PRG) ; do \
-@@ -191,8 +191,8 @@
- ff_bignet: ff_bignet.o $(KERNELLIBS)
-       $(CC) $(LDFLAGS) ff_bignet.o $(KERNELALLLIBS) -o ff_bignet
- 
--netperf: netperf.o $(KERNELLIBS)
--      $(CC) $(LDFLAGS) netperf.o $(KERNELALLLIBS) -o netperf
-+snns-netperf: netperf.o $(KERNELLIBS)
-+      $(CC) $(LDFLAGS) netperf.o $(KERNELALLLIBS) -o snns-netperf
- 
- snnsbat: snnsbat.o $(KERNELLIBS)
-       $(CC) $(LDFLAGS) snnsbat.o $(KERNELALLLIBS) -o snnsbat

diff --git a/sci-mathematics/snns/files/4.3-unstrip.patch 
b/sci-mathematics/snns/files/4.3-unstrip.patch
deleted file mode 100644
index 4f36040e221..00000000000
--- a/sci-mathematics/snns/files/4.3-unstrip.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configuration/install-sh 2008-04-21 03:55:33.000000000 -0400
-+++ b/configuration/install-sh 2015-04-08 16:59:32.000000000 -0400
-@@ -79,7 +79,7 @@
-           shift
-           continue;;
- 
--      -s) stripcmd="$stripprog"
-+      -s) stripcmd=""
-           shift
-           continue;;
- 

diff --git a/sci-mathematics/snns/metadata.xml 
b/sci-mathematics/snns/metadata.xml
deleted file mode 100644
index cc5d9687eb2..00000000000
--- a/sci-mathematics/snns/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Ian Stakenvicius</name>
-       </maintainer>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Mathematics Project</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="sourceforge">snns</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/sci-mathematics/snns/snns-4.3-r2.ebuild 
b/sci-mathematics/snns/snns-4.3-r2.ebuild
deleted file mode 100644
index 475bb92a24e..00000000000
--- a/sci-mathematics/snns/snns-4.3-r2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-inherit distutils-r1 eutils
-
-MY_P="SNNSv${PV}"
-DESCRIPTION="Stuttgart Neural Network Simulator"
-HOMEPAGE="https://sourceforge.net/projects/snns/";
-SRC_URI="http://www.ra.cs.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz
-       doc? ( 
http://www.ra.cs.uni-tuebingen.de/downloads/SNNS/SNNSv4.2.Manual.pdf )"
-
-LICENSE="LGPL-2.1"
-KEYWORDS="amd64 ppc x86"
-SLOT="0"
-IUSE="X doc python"
-
-RDEPEND="X? (
-               x11-libs/libX11
-               x11-libs/libXaw3d
-               x11-libs/libXt
-       )"
-DEPEND="${RDEPEND}
-       X? ( x11-base/xorg-proto )
-       >=sys-devel/bison-1.2.2"
-
-RDEPEND+=" python? ( ${PYTHON_DEPS} )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-       epatch "${FILESDIR}"/4.3-unstrip.patch
-       epatch "${FILESDIR}"/4.3-bison-version.patch
-       epatch "${FILESDIR}"/4.2-ldflags.patch
-       epatch "${FILESDIR}"/4.3-snns-netperf.patch # bug 248322
-
-       # change all references of Xaw to Xaw3d
-       cd "${S}"/xgui/sources
-       for file in *.c; do
-               sed -e "s:X11/Xaw/:X11/Xaw3d/:g" -i "${file}"
-       done
-
-       # clean up the dirty dist sources and remove files that apparently
-       # are not removed by any clean rules
-       emake clean
-       rm -Rf "${S}"/{tools,xgui}/bin \
-               "${S}"/{Makefile.def,config.h} \
-               "${S}"/configuration/config.{guess,log}
-
-       epatch_user
-
-       if use python; then
-               pushd "${S}"/python > /dev/null || die
-               distutils-r1_src_prepare
-               popd > /dev/null || die
-       fi
-}
-
-src_configure() {
-       econf --enable-global \
-               $(use_with X x)
-
-       if use python; then
-               pushd python > /dev/null || die
-               distutils-r1_src_configure
-               popd > /dev/null || die
-       fi
-}
-
-src_compile() {
-       local compileopts=( compile-kernel compile-tools )
-       use X && compileopts+=( compile-xgui )
-
-       # parallel make sometimes fails (phosphan)
-       # so emake each phase separately (axs)
-       for tgt in "${compileopts[@]}"; do
-               emake ${tgt}
-       done
-
-       if use python; then
-               pushd python > /dev/null || die
-               distutils-r1_src_compile
-               popd > /dev/null || die
-       fi
-}
-
-src_install() {
-       pushd "${S}"/tools/sources > /dev/null || die
-       emake TOOLSBINDIR="${ED}"usr/bin install
-       popd > /dev/null || die
-
-       if use X; then
-               newbin xgui/sources/xgui snns
-
-               echo XGUILOADPATH=/usr/share/doc/${PF} > "${T}"/99snns
-               doenvd "${T}"/99snns
-
-               docompress -x /usr/share/doc/${PF}/{default.cfg,help.hdoc}
-               insinto /usr/share/doc/${PF}
-               doins default.cfg help.hdoc
-       fi
-
-       if use python; then
-               pushd python > /dev/null || die
-               distutils-r1_src_install
-               insinto /usr/share/doc/${PF}/python-examples
-               doins examples/*
-               newdoc README README.python
-               popd > /dev/null || die
-       fi
-
-       if use doc; then
-               insinto /usr/share/doc/${PF}
-               doins "${DISTDIR}"/SNNSv4.2.Manual.pdf
-       fi
-
-       insinto /usr/share/doc/${PF}/examples
-       doins examples/*
-       doman man/man*/*
-}

diff --git a/sci-mathematics/snns/snns-4.3-r3.ebuild 
b/sci-mathematics/snns/snns-4.3-r3.ebuild
deleted file mode 100644
index 706463b27ba..00000000000
--- a/sci-mathematics/snns/snns-4.3-r3.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-inherit distutils-r1
-
-MY_P="SNNSv${PV}"
-DESCRIPTION="Stuttgart Neural Network Simulator"
-HOMEPAGE="https://sourceforge.net/projects/snns/";
-SRC_URI="http://www.ra.cs.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz
-       doc? ( 
http://www.ra.cs.uni-tuebingen.de/downloads/SNNS/SNNSv4.2.Manual.pdf )"
-
-LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~ppc ~x86"
-SLOT="0"
-IUSE="X doc python"
-
-RDEPEND="X? (
-               x11-libs/libX11
-               x11-libs/libXaw3d
-               x11-libs/libXt
-       )
-       python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-       X? ( x11-base/xorg-proto )
-       >=sys-devel/bison-1.2.2"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-       eapply "${FILESDIR}"/4.3-unstrip.patch
-       eapply "${FILESDIR}"/4.3-bison-version.patch
-       eapply "${FILESDIR}"/4.2-ldflags.patch
-       eapply "${FILESDIR}"/4.3-snns-netperf.patch # bug 248322
-       eapply "${FILESDIR}"/4.3-expand-path-strings.patch
-
-       # change all references of Xaw to Xaw3d
-       cd "${S}"/xgui/sources
-       for file in *.c; do
-               sed -e "s:X11/Xaw/:X11/Xaw3d/:g" -i "${file}"
-       done
-
-       # clean up the dirty dist sources and remove files that apparently
-       # are not removed by any clean rules
-       emake clean
-       rm -Rf "${S}"/{tools,xgui}/bin \
-               "${S}"/{Makefile.def,config.h} \
-               "${S}"/configuration/config.{guess,log}
-
-       eapply_user
-
-       if use python; then
-               pushd "${S}"/python > /dev/null || die
-               distutils-r1_src_prepare
-               popd > /dev/null || die
-       fi
-}
-
-src_configure() {
-       econf --enable-global \
-               $(use_with X x)
-
-       if use python; then
-               pushd python > /dev/null || die
-               distutils-r1_src_configure
-               popd > /dev/null || die
-       fi
-}
-
-src_compile() {
-       local compileopts=( compile-kernel compile-tools )
-       use X && compileopts+=( compile-xgui )
-
-       # parallel make sometimes fails (phosphan)
-       # so emake each phase separately (axs)
-       for tgt in "${compileopts[@]}"; do
-               emake ${tgt}
-       done
-
-       if use python; then
-               pushd python > /dev/null || die
-               distutils-r1_src_compile
-               popd > /dev/null || die
-       fi
-}
-
-src_install() {
-       pushd "${S}"/tools/sources > /dev/null || die
-       emake TOOLSBINDIR="${ED}"usr/bin install
-       popd > /dev/null || die
-
-       if use X; then
-               newbin xgui/sources/xgui snns
-
-               echo XGUILOADPATH=/usr/share/doc/${PF} > "${T}"/99snns
-               doenvd "${T}"/99snns
-
-               docompress -x /usr/share/doc/${PF}/{default.cfg,help.hdoc}
-               insinto /usr/share/doc/${PF}
-               doins default.cfg help.hdoc
-       fi
-
-       if use python; then
-               pushd python > /dev/null || die
-               distutils-r1_src_install
-               insinto /usr/share/doc/${PF}/python-examples
-               doins examples/*
-               newdoc README README.python
-               popd > /dev/null || die
-       fi
-
-       if use doc; then
-               insinto /usr/share/doc/${PF}
-               doins "${DISTDIR}"/SNNSv4.2.Manual.pdf
-       fi
-
-       insinto /usr/share/doc/${PF}/examples
-       doins examples/*
-       doman man/man*/*
-}

Reply via email to