1 |
commit: eb51ca1449d7cb1ed83dfbb05c6dbb7ba6a285ab |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 28 17:44:30 2021 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 28 17:44:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb51ca14 |
7 |
|
8 |
sci-mathematics/smtinterpol: new package; add version 2.5_p20211018 |
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/smtinterpol/Manifest | 1 + |
14 |
.../smtinterpol-Version.template-version.patch | 11 ++++++ |
15 |
.../files/smtinterpol-build.xml-basename.patch | 12 +++++++ |
16 |
sci-mathematics/smtinterpol/metadata.xml | 13 +++++++ |
17 |
.../smtinterpol/smtinterpol-2.5_p20211018.ebuild | 41 ++++++++++++++++++++++ |
18 |
5 files changed, 78 insertions(+) |
19 |
|
20 |
diff --git a/sci-mathematics/smtinterpol/Manifest b/sci-mathematics/smtinterpol/Manifest |
21 |
new file mode 100644 |
22 |
index 000000000000..4d43fb1c44cb |
23 |
--- /dev/null |
24 |
+++ b/sci-mathematics/smtinterpol/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST smtinterpol-2.5_p20211018.tar.gz 10676726 BLAKE2B 27bed1f707241416f71d10ae33c39b7fe638b9650a26f3237409722a8782af3b09890dce9acf30ab2d0412cfbe94f57684850c51e486d3d7f7dddd8025021c8d SHA512 8630ae5f9cf3fdcbceffeeb1f199c2e21e27d0348d3aec5a7062ee5eb942c640661ae58603f273881f30f24630a92b041ea867086ce6d0a2eab5fdd924eb01c3 |
27 |
|
28 |
diff --git a/sci-mathematics/smtinterpol/files/smtinterpol-Version.template-version.patch b/sci-mathematics/smtinterpol/files/smtinterpol-Version.template-version.patch |
29 |
new file mode 100644 |
30 |
index 000000000000..b6c5971be7ea |
31 |
--- /dev/null |
32 |
+++ b/sci-mathematics/smtinterpol/files/smtinterpol-Version.template-version.patch |
33 |
@@ -0,0 +1,11 @@ |
34 |
+index bf87cd1..6ca4533 100644 |
35 |
+--- a/SMTInterpol/src/de/uni_freiburg/informatik/ultimate/smtinterpol/Version.template |
36 |
++++ b/SMTInterpol/src/de/uni_freiburg/informatik/ultimate/smtinterpol/Version.template |
37 |
+@@ -23,5 +23,5 @@ package de.uni_freiburg.informatik.ultimate.smtinterpol; |
38 |
+ * @author Jochen Hoenicke |
39 |
+ */ |
40 |
+ public interface Version { |
41 |
+- public final static String VERSION = "${version}"; |
42 |
++ public final static String VERSION = "0"; |
43 |
+ } |
44 |
+\ No newline at end of file |
45 |
|
46 |
diff --git a/sci-mathematics/smtinterpol/files/smtinterpol-build.xml-basename.patch b/sci-mathematics/smtinterpol/files/smtinterpol-build.xml-basename.patch |
47 |
new file mode 100644 |
48 |
index 000000000000..d6d2256826fd |
49 |
--- /dev/null |
50 |
+++ b/sci-mathematics/smtinterpol/files/smtinterpol-build.xml-basename.patch |
51 |
@@ -0,0 +1,12 @@ |
52 |
+index e105c33..21295bf 100644 |
53 |
+--- a/build.xml |
54 |
++++ b/build.xml |
55 |
+@@ -32,7 +32,7 @@ stage: Upload new version to Maven Central (owner only) |
56 |
+ <arg value="describe"/> |
57 |
+ </exec> |
58 |
+ <echo>Version is ${version}</echo> |
59 |
+- <property name="jar.basename" value="${artifactId}-${version}"/> |
60 |
++ <property name="jar.basename" value="${artifactId}"/> |
61 |
+ <tstamp> |
62 |
+ <format property="build.date" pattern="yyyy-MM-dd"/> |
63 |
+ <format property="build.year" pattern="yyyy"/> |
64 |
|
65 |
diff --git a/sci-mathematics/smtinterpol/metadata.xml b/sci-mathematics/smtinterpol/metadata.xml |
66 |
new file mode 100644 |
67 |
index 000000000000..242a13366da1 |
68 |
--- /dev/null |
69 |
+++ b/sci-mathematics/smtinterpol/metadata.xml |
70 |
@@ -0,0 +1,13 @@ |
71 |
+<?xml version="1.0" encoding="UTF-8"?> |
72 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
73 |
+ |
74 |
+<pkgmetadata> |
75 |
+ <maintainer type="project"> |
76 |
+ <email>sci-mathematics@g.o</email> |
77 |
+ <name>Gentoo Mathematics Project</name> |
78 |
+ </maintainer> |
79 |
+ <upstream> |
80 |
+ <bugs-to>https://github.com/ultimate-pa/smtinterpol/issues/</bugs-to> |
81 |
+ <remote-id type="github">ultimate-pa/smtinterpol</remote-id> |
82 |
+ </upstream> |
83 |
+</pkgmetadata> |
84 |
|
85 |
diff --git a/sci-mathematics/smtinterpol/smtinterpol-2.5_p20211018.ebuild b/sci-mathematics/smtinterpol/smtinterpol-2.5_p20211018.ebuild |
86 |
new file mode 100644 |
87 |
index 000000000000..495a57f37578 |
88 |
--- /dev/null |
89 |
+++ b/sci-mathematics/smtinterpol/smtinterpol-2.5_p20211018.ebuild |
90 |
@@ -0,0 +1,41 @@ |
91 |
+# Copyright 1999-2021 Gentoo Authors |
92 |
+# Distributed under the terms of the GNU General Public License v2 |
93 |
+ |
94 |
+EAPI=8 |
95 |
+ |
96 |
+H=32d7fa8751f668f9e9a18e4e96df3337b53d2150 |
97 |
+ |
98 |
+inherit java-pkg-2 java-ant-2 |
99 |
+ |
100 |
+DESCRIPTION="Interpolating SMT-solver that can compute Craig interpolants for various theories" |
101 |
+HOMEPAGE="http://ultimate.informatik.uni-freiburg.de/smtinterpol/" |
102 |
+SRC_URI="https://github.com/ultimate-pa/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" |
103 |
+S="${WORKDIR}/${PN}-${H}" |
104 |
+ |
105 |
+LICENSE="LGPL-3" |
106 |
+SLOT="0" |
107 |
+KEYWORDS="~amd64 ~x86" |
108 |
+ |
109 |
+DEPEND=">=virtual/jdk-1.8" |
110 |
+RDEPEND=">=virtual/jre-1.8" |
111 |
+ |
112 |
+PATCHES=( |
113 |
+ "${FILESDIR}"/${PN}-Version.template-version.patch |
114 |
+ "${FILESDIR}"/${PN}-build.xml-basename.patch |
115 |
+) |
116 |
+ |
117 |
+src_prepare() { |
118 |
+ default |
119 |
+ java-pkg-2_src_prepare |
120 |
+} |
121 |
+ |
122 |
+src_compile() { |
123 |
+ eant all |
124 |
+} |
125 |
+ |
126 |
+src_install() { |
127 |
+ java-pkg_dojar dist/*.jar |
128 |
+ java-pkg_dolauncher ${PN} --jar ${PN}.jar |
129 |
+ |
130 |
+ einstalldocs |
131 |
+} |