1 |
commit: 06daa4f02225c9ca702b4a86479109cb5b2518ec |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 26 19:51:47 2021 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 26 19:52:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06daa4f0 |
7 |
|
8 |
sci-mathematics/cryptominisat: new package; add version 5.8.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/cryptominisat/Manifest | 1 + |
14 |
.../cryptominisat/cryptominisat-5.8.0.ebuild | 41 ++++++++++++++++++++++ |
15 |
sci-mathematics/cryptominisat/metadata.xml | 20 +++++++++++ |
16 |
3 files changed, 62 insertions(+) |
17 |
|
18 |
diff --git a/sci-mathematics/cryptominisat/Manifest b/sci-mathematics/cryptominisat/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000000..9ed3ae1590c6 |
21 |
--- /dev/null |
22 |
+++ b/sci-mathematics/cryptominisat/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST cryptominisat-5.8.0.tar.gz 943785 BLAKE2B 534af88a8432c7e3da63989cad8fd5e1491bd69a80b44977fa681e0356e857a505a82dc860b0d04d07987e3edae2861da67ec9dd781261e03a1120dc342b9759 SHA512 3eb954f01524b189a8de57a05f6060471a083addc4b9077c1e32b769d26393ce3d33468819ba8169deedce43fc3663b0ad8bbad95c6afe5e562e438c57b75496 |
25 |
|
26 |
diff --git a/sci-mathematics/cryptominisat/cryptominisat-5.8.0.ebuild b/sci-mathematics/cryptominisat/cryptominisat-5.8.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..d4517fca935e |
29 |
--- /dev/null |
30 |
+++ b/sci-mathematics/cryptominisat/cryptominisat-5.8.0.ebuild |
31 |
@@ -0,0 +1,41 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8,9,10} ) |
38 |
+ |
39 |
+inherit python-single-r1 cmake |
40 |
+ |
41 |
+DESCRIPTION="Advanced SAT solver with C++ and Python interfaces" |
42 |
+HOMEPAGE="https://github.com/msoos/cryptominisat/" |
43 |
+SRC_URI="https://github.com/msoos/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+SLOT="0/${PV}" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+LICENSE="GPL-2 MIT" |
48 |
+IUSE="+python" |
49 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
50 |
+RESTRICT="test" # tests require many convoluted bundled (git) modules |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-libs/boost:= |
54 |
+ sys-libs/zlib:= |
55 |
+ python? ( ${PYTHON_DEPS} ) |
56 |
+" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+ |
59 |
+pkg_setup() { |
60 |
+ use python && python-single-r1_pkg_setup |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ local mycmakeargs=( |
65 |
+ -DNOBREAKID=ON |
66 |
+ -DNOM4RI=ON |
67 |
+ -DENABLE_PYTHON_INTERFACE=$(usex python) |
68 |
+ -DFORCE_PYTHON3=$(usex python) |
69 |
+ -DENABLE_TESTING=OFF |
70 |
+ ) |
71 |
+ cmake_src_configure |
72 |
+} |
73 |
|
74 |
diff --git a/sci-mathematics/cryptominisat/metadata.xml b/sci-mathematics/cryptominisat/metadata.xml |
75 |
new file mode 100644 |
76 |
index 000000000000..694a2c352cda |
77 |
--- /dev/null |
78 |
+++ b/sci-mathematics/cryptominisat/metadata.xml |
79 |
@@ -0,0 +1,20 @@ |
80 |
+<?xml version="1.0" encoding="UTF-8"?> |
81 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
82 |
+ |
83 |
+<pkgmetadata> |
84 |
+ <maintainer type="project"> |
85 |
+ <email>sci-mathematics@g.o</email> |
86 |
+ <name>Gentoo Mathematics Project</name> |
87 |
+ </maintainer> |
88 |
+ <longdescription> |
89 |
+ This system provides CryptoMiniSat, an advanced incremental SAT solver. |
90 |
+ The system has 3 interfaces: command-line, C++ library and python. |
91 |
+ The command-line interface takes a cnf as an input in the DIMACS format |
92 |
+ with the extension of XOR clauses. The C++ and python interface mimics this |
93 |
+ and also allows for incremental use: assumptions and multiple solve calls. |
94 |
+ </longdescription> |
95 |
+ <upstream> |
96 |
+ <bugs-to>https://github.com/msoos/cryptominisat/issues/</bugs-to> |
97 |
+ <remote-id type="github">msoos/cryptominisat</remote-id> |
98 |
+ </upstream> |
99 |
+</pkgmetadata> |