* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/chaco/
@ 2020-02-29 11:15 Alessandro Barbieri
0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2020-02-29 11:15 UTC (permalink / raw
To: gentoo-commits
commit: f1c7c5be74622af3ffb4c9a19df124d5fc7992a8
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 10:15:16 2020 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Feb 29 10:15:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1c7c5be
sci-libs/chaco: new package
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sci-libs/chaco/Manifest | 1 +
sci-libs/chaco/chaco-2.2.ebuild | 32 ++++++++++++++++++++++++++++++++
sci-libs/chaco/metadata.xml | 11 +++++++++++
3 files changed, 44 insertions(+)
diff --git a/sci-libs/chaco/Manifest b/sci-libs/chaco/Manifest
new file mode 100644
index 0000000..d5c31da
--- /dev/null
+++ b/sci-libs/chaco/Manifest
@@ -0,0 +1 @@
+DIST Chaco-2.2.tar.gz 854988 BLAKE2B ffa5e0363876e1a6e401056d2e0d8f7064bf86fd7590403a0440e37a6a83c4cbb2b5b9ab3cfc54f313741af3f3b539b301b26ad3f293a0056eace7e23d6d69de SHA512 9b2b58535df8a7c368a9670cdf85d01049e43abbc6ab726dfc88154a94678e1cfe4def40fc4c7162e738cc55f372dab6ce93a0d2f98f09c45a876d246901439e
diff --git a/sci-libs/chaco/chaco-2.2.ebuild b/sci-libs/chaco/chaco-2.2.ebuild
new file mode 100644
index 0000000..36c808a
--- /dev/null
+++ b/sci-libs/chaco/chaco-2.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit flag-o-matic
+
+DESCRIPTION="Software for Partitioning Graphs"
+HOMEPAGE="https://www3.cs.stonybrook.edu/~algorith/implement/chaco/implement.shtml"
+SRC_URI="https://www3.cs.stonybrook.edu/~algorith/implement/${PN}/distrib/Chaco-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/Chaco-${PV}"
+
+src_prepare() {
+ sed -i '/CC =/d' code/Makefile
+ sed -i '/CFLAGS =/d' code/Makefile
+ sed -i -e 's/-O2/${CFLAGS}/g' code/Makefile
+ eapply_user
+}
+
+src_install() {
+ append-cflags -fPIE
+ cd code
+ emake
+ cd ..
+ dobin exec/chaco
+ dodoc doc/*
+}
diff --git a/sci-libs/chaco/metadata.xml b/sci-libs/chaco/metadata.xml
new file mode 100644
index 0000000..ec0716a
--- /dev/null
+++ b/sci-libs/chaco/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <longdescription lang="en">
+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
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.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/chaco/
@ 2020-03-03 5:11 Alessandro Barbieri
0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2020-03-03 5:11 UTC (permalink / raw
To: gentoo-commits
commit: 826ed85ef89db68fca8e272bf850dae44927e2b0
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Mar 3 04:31:22 2020 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Mar 3 04:31:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=826ed85e
sci-libs/chaco: quotes
Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sci-libs/chaco/chaco-2.2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/chaco/chaco-2.2.ebuild b/sci-libs/chaco/chaco-2.2.ebuild
index 36c808a..d4f784c 100644
--- a/sci-libs/chaco/chaco-2.2.ebuild
+++ b/sci-libs/chaco/chaco-2.2.ebuild
@@ -27,6 +27,6 @@ src_install() {
cd code
emake
cd ..
- dobin exec/chaco
- dodoc doc/*
+ dobin "exec/chaco"
+ dodoc -r doc/.
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/chaco/
@ 2021-04-12 8:00 Alessandro Barbieri
0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2021-04-12 8:00 UTC (permalink / raw
To: gentoo-commits
commit: 956793289a2e739abc535a45060656a5bbde8a69
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 12 07:54:20 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 12 07:54:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95679328
sci-libs/chaco: added missing die
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sci-libs/chaco/chaco-2.2.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/sci-libs/chaco/chaco-2.2.ebuild b/sci-libs/chaco/chaco-2.2.ebuild
index 12c58a451..745dd01c6 100644
--- a/sci-libs/chaco/chaco-2.2.ebuild
+++ b/sci-libs/chaco/chaco-2.2.ebuild
@@ -13,14 +13,10 @@ KEYWORDS="~amd64 ~x86"
PATCHES=( "${FILESDIR}/makefile.patch" )
S="${WORKDIR}/Chaco-${PV}"
-#src_prepare() {
-# eapply_user
-#}
-
src_install() {
- pushd code
+ pushd code || die
emake
- popd
+ popd || die
dobin "exec/chaco"
dodoc -r doc/.
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-12 8:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-29 11:15 [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/chaco/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2020-03-03 5:11 Alessandro Barbieri
2021-04-12 8:00 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox