summaryrefslogtreecommitdiff
path: root/sci-libs/beagle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-17 00:09:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-17 00:09:46 +0100
commit74e526c590f52d24a213e25f77858ae0b34ec2c8 (patch)
tree0f6f22133ae9cc04958f6df6d39a02d90ffb1aaf /sci-libs/beagle
parent0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (diff)
gentoo auto-resync : 17:06:2024 - 00:09:46
Diffstat (limited to 'sci-libs/beagle')
-rw-r--r--sci-libs/beagle/Manifest6
-rw-r--r--sci-libs/beagle/beagle-3.0.3-r2.ebuild56
-rw-r--r--sci-libs/beagle/files/beagle-3.0.3-fix-c++14.patch30
-rw-r--r--sci-libs/beagle/files/beagle-3.0.3-gcc43.patch89
-rw-r--r--sci-libs/beagle/files/beagle-3.0.3-gcc47.patch10
-rw-r--r--sci-libs/beagle/metadata.xml15
6 files changed, 0 insertions, 206 deletions
diff --git a/sci-libs/beagle/Manifest b/sci-libs/beagle/Manifest
deleted file mode 100644
index 0ee18a9cd70c..000000000000
--- a/sci-libs/beagle/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX beagle-3.0.3-fix-c++14.patch 1087 BLAKE2B 80c087c98cd5e39331bc078902c3bc1ff437d7b6bb06bcd73c149daae93fca835b15a9bb62df72eab748796435d8bc2be7195d5026a23201be21f6cdc6552305 SHA512 fdbcd7bbde24943ad3327ee98078e25eea9c1a450c52594f50e59b3344a6c7a9a8d9be81665ccdef1dd95d2bc5945c8001309d4df013491238add0036835caca
-AUX beagle-3.0.3-gcc43.patch 3096 BLAKE2B d7c34018389306ce1689f62bbb746def1dca82f39a23398b01ce6c4ed9c33e976b96fe55e33a81850d6032fb09932ba2f9554e06c51ef7ecd64f87aab20eea96 SHA512 3611b41ea82030b192cf36cfa9636a72e874e69b60f69dcbe0745b21c98e8d89e09f52f902b6d4e174a5a64e05b14352227610b4780f917d29122ef03270e702
-AUX beagle-3.0.3-gcc47.patch 447 BLAKE2B 6158075defe88efb7161c6270c66cbc1b2b8576df2b157f2a0a8b9b26cde42d92d596a6ec2bd89a34365112b4571f04efb2e6abc1674b03bb0747c7533768c28 SHA512 693db5621625c8c3323a7f252041f5c2c2eb2609901f326891b782dbcc369f0bf531a2eda40ba08bddb824224e3863ee01917ad56cc99117b2a27aa63599b6d3
-DIST beagle-3.0.3.tar.gz 5002994 BLAKE2B f23c3178a52333aef0d1ba71d3a9ae240a805f016c9f619f59d76f818d9a647505af608aab2e0eb19efba6c6a3ed9d14455e03cfaa38df2b324689ba8139b849 SHA512 2f8f027f3f24d0fd287e27a80fe5b24e18550144add06fb8157dd03f734f5ce212f62889720c81fd33246fa7086e9b913802ec0c5155df5bd801c36888b346cb
-EBUILD beagle-3.0.3-r2.ebuild 1163 BLAKE2B 76e852e0049ae48fa56fb2d9f554f80f2d7c11e105aae97c74abecc3f9364e34dd728ac7c3e2b92370907dab87c73fa5b47b529396b1ca0e61a7471879807105 SHA512 fb92170c62064e7a640505d35f09e0208fc075e9fb9e5fb12450d9db1555ff68e7750a835960127534592290e1ad028ff37465e1f84ff8db9182fbbe249b41f2
-MISC metadata.xml 676 BLAKE2B 1a1fc3f468bc74ca6a0eb1e1ed022a06866600b3821f514ccbcbd46bd13c56e017cba805f9f9f31367f5441acb56a0232426a20385018613381fa56a8b8e2eeb SHA512 d9882071e3845620498a52b5459e3a8ef51496602984be77b3e31844a3f9de4d3c17c3c5577a4a8b5ad7d3051f2b9c1fb73b089f8a24d162486bfcc970f216a0
diff --git a/sci-libs/beagle/beagle-3.0.3-r2.ebuild b/sci-libs/beagle/beagle-3.0.3-r2.ebuild
deleted file mode 100644
index 846df89bd57d..000000000000
--- a/sci-libs/beagle/beagle-3.0.3-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Open BEAGLE, a versatile EC/GA/GP framework"
-HOMEPAGE="https://chgagne.github.io/beagle/"
-SRC_URI="https://downloads.sourceforge.net/beagle/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples static-libs"
-
-RDEPEND="sys-libs/zlib"
-DEPEND="${RDEPEND}"
-BDEPEND="doc? ( app-text/doxygen )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.0.3-gcc43.patch"
- "${FILESDIR}/${PN}-3.0.3-gcc47.patch"
- "${FILESDIR}/${PN}-3.0.3-fix-c++14.patch"
-)
-
-src_prepare() {
- default
- sed -e "s:@LIBS@:& -lpthread:" -i PACC/Threading/Makefile.in || die
-
- # fix build with C++17, bug #898274
- sed -e "s/register //" -i PACC/Util/{MTRand.hpp,Tokenizer.cpp} || die
-}
-
-src_configure() {
- econf \
- --enable-optimization \
- $(use_enable static-libs static)
-}
-
-src_compile() {
- default
- use doc && emake doc
-}
-
-src_install() {
- use doc && local HTML_DOCS=( refman/. )
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- default
-
- if ! use static-libs; then
- find "${D}" -name '*.la' -delete || die
- fi
-}
diff --git a/sci-libs/beagle/files/beagle-3.0.3-fix-c++14.patch b/sci-libs/beagle/files/beagle-3.0.3-fix-c++14.patch
deleted file mode 100644
index 896b58225890..000000000000
--- a/sci-libs/beagle/files/beagle-3.0.3-fix-c++14.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Fix building with C++14, where destructors are noexcept(true) by default.
-See also: https://bugs.gentoo.org/show_bug.cgi?id=597342
-
---- a/PACC/Threading/Thread.cpp
-+++ b/PACC/Threading/Thread.cpp
-@@ -79,6 +79,9 @@
- \attention If the destructor in the derived thread class (e.g. MyThread above) does not wait for thread termination, the potential hazardous situation is that the runtime system will have deleted all of its members before calling this destructor (in C++, class destructors are called in reversed sequence). Thus, the still running thread could access deleted data members with unpredictable and unexpected results. So beware!
- */
- Threading::Thread::~Thread(void)
-+#if __cplusplus >= 201103L
-+ noexcept(false)
-+#endif
- {
- lock();
- if(mThread) {
---- a/PACC/Threading/Thread.hpp
-+++ b/PACC/Threading/Thread.hpp
-@@ -53,7 +53,11 @@
- class Thread : public Condition {
- public:
- Thread(void);
-- virtual ~Thread(void);
-+ virtual ~Thread(void)
-+#if __cplusplus >= 201103L
-+ noexcept(false)
-+#endif
-+ ;
-
- void cancel(void);
- bool isRunning(void) const;
diff --git a/sci-libs/beagle/files/beagle-3.0.3-gcc43.patch b/sci-libs/beagle/files/beagle-3.0.3-gcc43.patch
deleted file mode 100644
index 608ce388e793..000000000000
--- a/sci-libs/beagle/files/beagle-3.0.3-gcc43.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-diff -rupN beagle-3.0.3b/PACC/Math/Matrix.cpp beagle-3.0.3/PACC/Math/Matrix.cpp
---- beagle-3.0.3b/PACC/Math/Matrix.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Math/Matrix.cpp 2009-01-21 00:26:46.000000000 -0400
-@@ -40,6 +40,7 @@
- #include <stdexcept>
- #include <iomanip>
- #include <cmath>
-+#include <climits>
-
- using namespace std;
- using namespace PACC;
-diff -rupN beagle-3.0.3b/PACC/Math/Vector.hpp beagle-3.0.3/PACC/Math/Vector.hpp
---- beagle-3.0.3b/PACC/Math/Vector.hpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Math/Vector.hpp 2009-01-21 00:26:29.000000000 -0400
-@@ -42,6 +42,7 @@
- #include "XML/Document.hpp"
- #include "XML/Streamer.hpp"
- #include <cmath>
-+#include <algorithm>
-
- namespace PACC {
-
-diff -rupN beagle-3.0.3b/PACC/Socket/Cafe.cpp beagle-3.0.3/PACC/Socket/Cafe.cpp
---- beagle-3.0.3b/PACC/Socket/Cafe.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Socket/Cafe.cpp 2009-01-21 00:31:09.000000000 -0400
-@@ -35,6 +35,7 @@
-
- #include "Socket/Cafe.hpp"
- #include <iostream>
-+#include <cstring>
-
- #ifdef WIN32
- ///////////// specifics for windows /////////////
-diff -rupN beagle-3.0.3b/PACC/Socket/Port.cpp beagle-3.0.3/PACC/Socket/Port.cpp
---- beagle-3.0.3b/PACC/Socket/Port.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Socket/Port.cpp 2009-01-21 00:30:54.000000000 -0400
-@@ -34,6 +34,7 @@
- */
-
- #include "Socket/Port.hpp"
-+#include <cstring>
-
- #ifdef WIN32
- ///////////// specifics for windows /////////////
-diff -rupN beagle-3.0.3b/PACC/Threading/Thread.cpp beagle-3.0.3/PACC/Threading/Thread.cpp
---- beagle-3.0.3b/PACC/Threading/Thread.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Threading/Thread.cpp 2009-01-21 00:28:02.000000000 -0400
-@@ -35,6 +35,7 @@
-
- #include "Threading/Thread.hpp"
- #include "Util/Assert.hpp"
-+#include <cstdlib>
-
- #ifdef WIN32
- #include <windows.h>
-diff -rupN beagle-3.0.3b/PACC/Util/SignalHandler.cpp beagle-3.0.3/PACC/Util/SignalHandler.cpp
---- beagle-3.0.3b/PACC/Util/SignalHandler.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Util/SignalHandler.cpp 2009-01-20 23:44:20.000000000 -0400
-@@ -37,6 +37,7 @@
- #include "Util/Assert.hpp"
- #include <signal.h>
- #include <stdexcept>
-+#include <cstdlib>
-
- using namespace std;
- using namespace PACC;
-diff -rupN beagle-3.0.3b/PACC/Util/Tokenizer.cpp beagle-3.0.3/PACC/Util/Tokenizer.cpp
---- beagle-3.0.3b/PACC/Util/Tokenizer.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Util/Tokenizer.cpp 2009-01-20 23:44:10.000000000 -0400
-@@ -36,6 +36,8 @@
- #include "Util/Tokenizer.hpp"
- #include "Util/Assert.hpp"
- #include <stdexcept>
-+#include <cstring>
-+#include <cstdlib>
-
- using namespace std;
- using namespace PACC;
-diff -rupN beagle-3.0.3b/PACC/XML/Node.cpp beagle-3.0.3/PACC/XML/Node.cpp
---- beagle-3.0.3b/PACC/XML/Node.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/XML/Node.cpp 2009-01-20 23:45:09.000000000 -0400
-@@ -39,6 +39,7 @@
- #include "Util/Assert.hpp"
- #include <sstream>
- #include <stdexcept>
-+#include <cstring>
-
- using namespace std;
- using namespace PACC;
diff --git a/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch b/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch
deleted file mode 100644
index b74fb32b9989..000000000000
--- a/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/beagle/include/beagle/RouletteT.hpp
-+++ b/beagle/include/beagle/RouletteT.hpp
-@@ -87,7 +87,7 @@
- Beagle_StackTraceBeginM();
- Beagle_AssertM(inWeight>=0.0);
- if(VectorType::empty()==false) inWeight += VectorType::back().first;
-- push_back(std::make_pair(inWeight,inValue));
-+ this->push_back(std::make_pair(inWeight,inValue));
- Beagle_StackTraceEndM("void RouletteT<T>::insert(const T& inValue, double inWeight)");
- }
diff --git a/sci-libs/beagle/metadata.xml b/sci-libs/beagle/metadata.xml
deleted file mode 100644
index 61308c44d1d4..000000000000
--- a/sci-libs/beagle/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription>
- Open BEAGLE is a C++ Evolutionary Computation (EC) framework. It provides an high-level software environment to do any kind of EC, with support for tree-based genetic programming, bit string and real-valued genetic algorithms, and evolution strategy.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">beagle</remote-id>
- <remote-id type="github">chgagne/beagle</remote-id>
- </upstream>
-</pkgmetadata>