diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-20 11:15:46 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-20 11:15:46 +0100 |
commit | 0dd0fe2b6c5655a1016fe50ec572fe55f414c230 (patch) | |
tree | b97433f890adb02a41866aeb196e5dd3131161f9 /sci-mathematics/minisat | |
parent | sci-mathematics/nauty: Remove old (diff) | |
download | gentoo-0dd0fe2b6c5655a1016fe50ec572fe55f414c230.tar.gz gentoo-0dd0fe2b6c5655a1016fe50ec572fe55f414c230.tar.bz2 gentoo-0dd0fe2b6c5655a1016fe50ec572fe55f414c230.zip |
sci-mathematics/minisat: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-mathematics/minisat')
-rw-r--r-- | sci-mathematics/minisat/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/minisat/files/minisat-2.2.0-header_fix.patch | 160 | ||||
-rw-r--r-- | sci-mathematics/minisat/metadata.xml | 3 | ||||
-rw-r--r-- | sci-mathematics/minisat/minisat-2.2.0-r4.ebuild | 65 |
4 files changed, 0 insertions, 229 deletions
diff --git a/sci-mathematics/minisat/Manifest b/sci-mathematics/minisat/Manifest index 558c507bbb33..4f851e3ea3c4 100644 --- a/sci-mathematics/minisat/Manifest +++ b/sci-mathematics/minisat/Manifest @@ -1,3 +1,2 @@ DIST MiniSat.pdf 327416 BLAKE2B 77f77d763c9554680b4c5e1688801e8462102e8ddbcc3b53badccee17a98f935ef0e971a636abeb04021a2b3a3e9d6acfe4828b5dd20e6ef8733d71788cc31b0 SHA512 94e70c721740c0b7fd52621c7a5e43dd9207eed92e60a1c64ee63b541b9861d2580d14ba64c49c6c4f273ac028ded43bc944c71131e51693cdd7d1763af582f6 -DIST minisat-2.2.0.tar.gz 43879 BLAKE2B da4fd7694db0fe7b9a0979de8f2f3f005d7f112e2b2fe9e30b0dd6b5a5fb5bf6c7fd4ef8e8f2dd9fec34f8d5bfebb5be622810e07ca45da6989d2f84a011edc6 SHA512 cf79b05d43ebdc8fd8081899a1f853370de051cafe6e5b143eaff9827efc542b58062782a3ce2a3d1a03561a9ffd780c9cdc645bb50036eb61e80fa729136e64 DIST minisat-2.2.0_p20130925.tar.gz 49544 BLAKE2B 8c6893fb6c604140609c36cc912c02a73c1f2726d7f399595c50d674aff69c57f9c4914da6d95c37a46fefc218dd4b0550645bd7058d46640d08103e2a4ec333 SHA512 37fc35cc4f3104d7f0e8ee9f7123fc34e175df578658266799d809d71d6cf081e811919f304a02f6cb9c3827d308e59408149d63d1d1e7c6d0b495350f93b3d9 diff --git a/sci-mathematics/minisat/files/minisat-2.2.0-header_fix.patch b/sci-mathematics/minisat/files/minisat-2.2.0-header_fix.patch deleted file mode 100644 index 486c012fe2a4..000000000000 --- a/sci-mathematics/minisat/files/minisat-2.2.0-header_fix.patch +++ /dev/null @@ -1,160 +0,0 @@ ---- ./utils/System.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./utils/System.h 2011-04-12 18:33:41.000000000 -0700 -@@ -25,7 +25,7 @@ - #include <fpu_control.h> - #endif - --#include "mtl/IntTypes.h" -+#include <mtl/IntTypes.h> - - //------------------------------------------------------------------------------------------------- - ---- ./utils/Options.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./utils/Options.h 2011-04-12 18:34:38.000000000 -0700 -@@ -25,9 +25,9 @@ - #include <math.h> - #include <string.h> - --#include "mtl/IntTypes.h" --#include "mtl/Vec.h" --#include "utils/ParseUtils.h" -+#include <mtl/IntTypes.h> -+#include <mtl/Vec.h> -+#include "ParseUtils.h" - - namespace Minisat { - ---- ./core/SolverTypes.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./core/SolverTypes.h 2011-04-12 18:27:58.000000000 -0700 -@@ -24,11 +24,11 @@ - - #include <assert.h> - --#include "mtl/IntTypes.h" --#include "mtl/Alg.h" --#include "mtl/Vec.h" --#include "mtl/Map.h" --#include "mtl/Alloc.h" -+#include <mtl/IntTypes.h> -+#include <mtl/Alg.h> -+#include <mtl/Vec.h> -+#include <mtl/Map.h> -+#include <mtl/Alloc.h> - - namespace Minisat { - ---- ./core/Solver.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./core/Solver.h 2011-04-12 18:26:56.000000000 -0700 -@@ -21,11 +21,11 @@ - #ifndef Minisat_Solver_h - #define Minisat_Solver_h - --#include "mtl/Vec.h" --#include "mtl/Heap.h" --#include "mtl/Alg.h" --#include "utils/Options.h" --#include "core/SolverTypes.h" -+#include <mtl/Vec.h> -+#include <mtl/Heap.h> -+#include <mtl/Alg.h> -+#include <utils/Options.h> -+#include "SolverTypes.h" - - - namespace Minisat { ---- ./mtl/Vec.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./mtl/Vec.h 2011-04-12 18:30:50.000000000 -0700 -@@ -24,8 +24,8 @@ - #include <assert.h> - #include <new> - --#include "mtl/IntTypes.h" --#include "mtl/XAlloc.h" -+#include "IntTypes.h" -+#include "XAlloc.h" - - namespace Minisat { - ---- ./mtl/Sort.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./mtl/Sort.h 2011-04-12 18:31:05.000000000 -0700 -@@ -21,7 +21,7 @@ - #ifndef Minisat_Sort_h - #define Minisat_Sort_h - --#include "mtl/Vec.h" -+#include "Vec.h" - - //================================================================================================= - // Some sorting algorithms for vec's ---- ./mtl/Alg.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./mtl/Alg.h 2011-04-12 18:32:26.000000000 -0700 -@@ -21,7 +21,7 @@ - #ifndef Minisat_Alg_h - #define Minisat_Alg_h - --#include "mtl/Vec.h" -+#include "Vec.h" - - namespace Minisat { - ---- ./mtl/Alloc.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./mtl/Alloc.h 2011-04-12 18:32:18.000000000 -0700 -@@ -21,8 +21,8 @@ - #ifndef Minisat_Alloc_h - #define Minisat_Alloc_h - --#include "mtl/XAlloc.h" --#include "mtl/Vec.h" -+#include "XAlloc.h" -+#include "Vec.h" - - namespace Minisat { - ---- ./mtl/Heap.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./mtl/Heap.h 2011-04-12 18:32:05.000000000 -0700 -@@ -21,7 +21,7 @@ - #ifndef Minisat_Heap_h - #define Minisat_Heap_h - --#include "mtl/Vec.h" -+#include "Vec.h" - - namespace Minisat { - ---- ./mtl/Map.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./mtl/Map.h 2011-04-12 18:31:36.000000000 -0700 -@@ -20,8 +20,8 @@ - #ifndef Minisat_Map_h - #define Minisat_Map_h - --#include "mtl/IntTypes.h" --#include "mtl/Vec.h" -+#include "IntTypes.h" -+#include "Vec.h" - - namespace Minisat { - ---- ./mtl/Queue.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./mtl/Queue.h 2011-04-12 18:31:18.000000000 -0700 -@@ -21,7 +21,7 @@ - #ifndef Minisat_Queue_h - #define Minisat_Queue_h - --#include "mtl/Vec.h" -+#include "Vec.h" - - namespace Minisat { - ---- ./simp/SimpSolver.h.orig 2010-07-10 09:07:36.000000000 -0700 -+++ ./simp/SimpSolver.h 2011-04-12 18:35:20.000000000 -0700 -@@ -21,8 +21,8 @@ - #ifndef Minisat_SimpSolver_h - #define Minisat_SimpSolver_h - --#include "mtl/Queue.h" --#include "core/Solver.h" -+#include <mtl/Queue.h> -+#include <core/Solver.h> - - - namespace Minisat { diff --git a/sci-mathematics/minisat/metadata.xml b/sci-mathematics/minisat/metadata.xml index 7c2c5eb3b390..42c0e14a3f43 100644 --- a/sci-mathematics/minisat/metadata.xml +++ b/sci-mathematics/minisat/metadata.xml @@ -5,9 +5,6 @@ <email>sci@gentoo.org</email> <name>Gentoo Science Project</name> </maintainer> - <use> - <flag name="extended-solver">Build extended version of SAT solver with additional features.</flag> - </use> <upstream> <remote-id type="github">niklasso/minisat</remote-id> </upstream> diff --git a/sci-mathematics/minisat/minisat-2.2.0-r4.ebuild b/sci-mathematics/minisat/minisat-2.2.0-r4.ebuild deleted file mode 100644 index 2bbc706d240a..000000000000 --- a/sci-mathematics/minisat/minisat-2.2.0-r4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Small yet efficient SAT solver with reference paper" -HOMEPAGE="http://minisat.se/Main.html" -SRC_URI="http://minisat.se/downloads/${P}.tar.gz - doc? ( http://minisat.se/downloads/MiniSat.pdf )" - -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -LICENSE="MIT" - -IUSE="debug doc extended-solver" - -DEPEND="sys-libs/zlib" -RDEPEND="${DEPEND}" - -DOCS=( README doc/ReleaseNotes-2.2.0.txt ) -PATCHES=( "${FILESDIR}"/${P}-header_fix.patch ) - -S=${WORKDIR}/${PN} - -src_prepare() { - default - # Remove makefile silencing - sed -i -e 's:@\(\$\|ln\|rm\|for\):\1:g' mtl/template.mk || die -} - -src_configure() { - myconf=$(usex debug d r) - myext=$(usex debug debug release) - mydir=$(usex extended-solver simp core) - - tc-export CXX -} - -src_compile() { - export MROOT="$S" - emake -C $mydir $myconf - LIB="${PN}" emake -C $mydir lib$myconf -} - -src_install() { - insinto /usr/include/${PN}2/mtl - doins mtl/*.h - - insinto /usr/include/${PN}2/core - doins core/Solver*.h - - insinto /usr/include/${PN}2/simp - doins simp/Simp*.h - - insinto /usr/include/${PN}2/utils - doins utils/*.h - - newbin ${mydir}/${PN}_${myext} ${PN} - newlib.a ${mydir}/lib${PN}_${myext}.a lib${PN}.a - - use doc && DOCS+=( "${DISTDIR}"/MiniSat.pdf ) - einstalldocs -} |