1 |
commit: 799d0f1c6f95d0f0b29c260c408454a81dada4ce |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 27 21:24:30 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Apr 28 05:57:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=799d0f1c |
7 |
|
8 |
sci-mathematics/libpotassco: new package, add 0_pre20200612 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
sci-mathematics/libpotassco/Manifest | 1 + |
13 |
.../libpotassco/libpotassco-0_pre20200612.ebuild | 30 ++++++++++++++++++++++ |
14 |
sci-mathematics/libpotassco/metadata.xml | 15 +++++++++++ |
15 |
3 files changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/sci-mathematics/libpotassco/Manifest b/sci-mathematics/libpotassco/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..da926c75d |
20 |
--- /dev/null |
21 |
+++ b/sci-mathematics/libpotassco/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST libpotassco-0_pre20200612.tar.gz 210167 BLAKE2B 2e7e91674458e28b7d2208b200c5db9f4dace7871a239ebc85fa07d70aee9fa22bf48a41f601ac85b7d083bd62750a08eb98255373a77cb1406dd4b451c42aa4 SHA512 649cc07a2fcdea98ece9a3515e2ccc451e8fb6046642be1a8cd09919e100cf215376703690430ae58b8f5d9dab53b4e0bc4b0f3b19e4ff16bd0b62bfe20404fd |
24 |
|
25 |
diff --git a/sci-mathematics/libpotassco/libpotassco-0_pre20200612.ebuild b/sci-mathematics/libpotassco/libpotassco-0_pre20200612.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..ef13e8f96 |
28 |
--- /dev/null |
29 |
+++ b/sci-mathematics/libpotassco/libpotassco-0_pre20200612.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+COMMIT="2f2b80feac1e35cbe1cae986c44dbb20d4151c74" |
39 |
+ |
40 |
+DESCRIPTION="A utility library used by various potassco projects" |
41 |
+HOMEPAGE="https://github.com/potassco/libpotassco" |
42 |
+SRC_URI="https://github.com/potassco/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz" |
43 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+IUSE="test tools" |
49 |
+ |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ local mycmakeargs=( |
54 |
+ -DLIB_POTASSCO_BUILD_TESTS=$(usex test) |
55 |
+ -DLIB_POTASSCO_BUILD_APP=$(usex tools) |
56 |
+ -DLIB_POTASSCO_INSTALL_LIB=ON |
57 |
+ -DLIB_POTASSCO_INSTALL_VERSIONED=OFF |
58 |
+ ) |
59 |
+ cmake_src_configure |
60 |
+} |
61 |
|
62 |
diff --git a/sci-mathematics/libpotassco/metadata.xml b/sci-mathematics/libpotassco/metadata.xml |
63 |
new file mode 100644 |
64 |
index 000000000..b03249627 |
65 |
--- /dev/null |
66 |
+++ b/sci-mathematics/libpotassco/metadata.xml |
67 |
@@ -0,0 +1,15 @@ |
68 |
+<?xml version="1.0" encoding="UTF-8"?> |
69 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
70 |
+<pkgmetadata> |
71 |
+ <maintainer type="person"> |
72 |
+ <email>lssndrbarbieri@×××××.com</email> |
73 |
+ <name>Alessandro Barbieri</name> |
74 |
+ </maintainer> |
75 |
+ <use> |
76 |
+ <flag name="tools">whether or not to build lpconvert tool</flag> |
77 |
+ </use> |
78 |
+ <upstream> |
79 |
+ <bugs-to>https://github.com/potassco/libpotassco/issues</bugs-to> |
80 |
+ <remote-id type="github">potassco/libpotassco</remote-id> |
81 |
+ </upstream> |
82 |
+</pkgmetadata> |