1 |
commit: f1c7c5be74622af3ffb4c9a19df124d5fc7992a8 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 29 10:15:16 2020 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Feb 29 10:15:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1c7c5be |
7 |
|
8 |
sci-libs/chaco: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
sci-libs/chaco/Manifest | 1 + |
14 |
sci-libs/chaco/chaco-2.2.ebuild | 32 ++++++++++++++++++++++++++++++++ |
15 |
sci-libs/chaco/metadata.xml | 11 +++++++++++ |
16 |
3 files changed, 44 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/chaco/Manifest b/sci-libs/chaco/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..d5c31da |
21 |
--- /dev/null |
22 |
+++ b/sci-libs/chaco/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST Chaco-2.2.tar.gz 854988 BLAKE2B ffa5e0363876e1a6e401056d2e0d8f7064bf86fd7590403a0440e37a6a83c4cbb2b5b9ab3cfc54f313741af3f3b539b301b26ad3f293a0056eace7e23d6d69de SHA512 9b2b58535df8a7c368a9670cdf85d01049e43abbc6ab726dfc88154a94678e1cfe4def40fc4c7162e738cc55f372dab6ce93a0d2f98f09c45a876d246901439e |
25 |
|
26 |
diff --git a/sci-libs/chaco/chaco-2.2.ebuild b/sci-libs/chaco/chaco-2.2.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..36c808a |
29 |
--- /dev/null |
30 |
+++ b/sci-libs/chaco/chaco-2.2.ebuild |
31 |
@@ -0,0 +1,32 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="7" |
36 |
+ |
37 |
+inherit flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="Software for Partitioning Graphs" |
40 |
+HOMEPAGE="https://www3.cs.stonybrook.edu/~algorith/implement/chaco/implement.shtml" |
41 |
+SRC_URI="https://www3.cs.stonybrook.edu/~algorith/implement/${PN}/distrib/Chaco-${PV}.tar.gz" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+S="${WORKDIR}/Chaco-${PV}" |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ sed -i '/CC =/d' code/Makefile |
51 |
+ sed -i '/CFLAGS =/d' code/Makefile |
52 |
+ sed -i -e 's/-O2/${CFLAGS}/g' code/Makefile |
53 |
+ eapply_user |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ append-cflags -fPIE |
58 |
+ cd code |
59 |
+ emake |
60 |
+ cd .. |
61 |
+ dobin exec/chaco |
62 |
+ dodoc doc/* |
63 |
+} |
64 |
|
65 |
diff --git a/sci-libs/chaco/metadata.xml b/sci-libs/chaco/metadata.xml |
66 |
new file mode 100644 |
67 |
index 0000000..ec0716a |
68 |
--- /dev/null |
69 |
+++ b/sci-libs/chaco/metadata.xml |
70 |
@@ -0,0 +1,11 @@ |
71 |
+<?xml version="1.0" encoding="UTF-8"?> |
72 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
73 |
+<pkgmetadata> |
74 |
+ <maintainer type="person"> |
75 |
+ <email>lssndrbarbieri@×××××.com</email> |
76 |
+ <name>Alessandro Barbieri</name> |
77 |
+ </maintainer> |
78 |
+ <longdescription lang="en"> |
79 |
+Chaco contains a wide variety of algorithms and options, many of which were invented by the authors. Some of the algorithms exploit the geometry of the mesh, others its local connectivity or its global structure as captured by eigenvectors of a related matrix. These methods can be mixed and matched in several ways, and combinations often prove to be more effective than any single technique in isolation. All these algorithms are accessed via a simple user interface, or a call from other software. Innovations in Chaco include # Development of multilevel graph partitioning. This widely imitated approach has become the premiere algorithm combining very high quality with short calculation times. # Extension of spectral partitioning to enable the use of 2 or 3 Laplacian eigenvectors to quadrisect of octasect a graph. # Highly efficient and robust eigensolvers for use with spectral graph algorithms. # Generalization of the Kernighan-Lin/Fiduccia-Mattheyses algorithm to handle weighted grap |
80 |
hs, arbitrary number of sets and lazy initiation. # Development of skewed partitioning to improve the mapping of a graph onto a target parallel architecture. # Various post-processing options to improve partitions in a number of ways. |
81 |
+ </longdescription> |
82 |
+</pkgmetadata> |