Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/colpack/
Date: Tue, 07 Mar 2017 00:17:34
Message-Id: 1488845831.f77072674ef785f8a22f468127d10ee6cbcd5408.bicatali@gentoo
1 commit: f77072674ef785f8a22f468127d10ee6cbcd5408
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 4 00:41:31 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 7 00:17:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7707267
7
8 sci-libs/colpack: version bump
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 sci-libs/colpack/Manifest | 1 +
13 sci-libs/colpack/colpack-1.0.10.ebuild | 48 ++++++++++++++++++++++++++++++++++
14 sci-libs/colpack/metadata.xml | 11 +++++---
15 3 files changed, 56 insertions(+), 4 deletions(-)
16
17 diff --git a/sci-libs/colpack/Manifest b/sci-libs/colpack/Manifest
18 index f78f4a87ff7..f28958b8806 100644
19 --- a/sci-libs/colpack/Manifest
20 +++ b/sci-libs/colpack/Manifest
21 @@ -1,2 +1,3 @@
22 DIST ColPack-1.0.6.tar.gz 1027189 SHA256 d03208883aaa48544124c7fa950c2ea1aa88bc38c7997c4a563b176b6bc212ea SHA512 646ffdd459c40906f6c57888c0e38b791f9559a88ce649e9041271655a9d98658db1c6c0f3b09d64b9bd2c7d74c71a6bd8b13972ae7c7bbac42b300b8e3844c9 WHIRLPOOL 80e5c7f368b362bf4dda84661b364fa1f55215446339fec98bce5dfd7a7dcffc97a79c73329d0a721f012c7bc6651626f6ed5b1f5e284c1b540bcf047d0178b7
23 DIST ColPack-1.0.9.tar.gz 1185335 SHA256 06c5d3e61ab873b27d7962a9f09e90cbc52ccd9f480e88f1ecb50e6bced11932 SHA512 762ab506f95788f9134033b60bf582472b80ab14766ad6795a7db1b780de0ae49bb30f1c9bd74b4f62cf46cc6029c37ef90a483e41b62bf4067cd4a71eb3db6c WHIRLPOOL f84e1766350265c3ecfb43d827327a018218be342f22adbd5f95d7172b9b489c12ed3978796b9c9d70b69058d88816ed6cb5979217ccca16c7691ecccedc3a51
24 +DIST colpack-1.0.10.tar.gz 658087 SHA256 b22ead7da80fa1735291b2d83198adf41bf36101e4fcb2c4f07c1cfacf211c75 SHA512 566b7906c5d0dbcd6dcb9c359510ee8b13bf3249e56d8f88f7806493d1df14f54638a0558d601ab4dbc28f36093795eede57a059a7c4e66438b47bf5a0119808 WHIRLPOOL c416c981aff798c6f0c9c33cf24f93fc0ab498e965159070697bc9eadb0014d9f6729858c7113811eec10e4219867075ef11191f6ca214320f83ccb2bf5bf625
25
26 diff --git a/sci-libs/colpack/colpack-1.0.10.ebuild b/sci-libs/colpack/colpack-1.0.10.ebuild
27 new file mode 100644
28 index 00000000000..6469493e7fa
29 --- /dev/null
30 +++ b/sci-libs/colpack/colpack-1.0.10.ebuild
31 @@ -0,0 +1,48 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit autotools eutils
38 +
39 +MYPN="ColPack"
40 +
41 +DESCRIPTION="C++ algorithms for specialized vertex coloring problems"
42 +LICENSE="GPL-3 LGPL-3"
43 +HOMEPAGE="http://cscapes.cs.purdue.edu/coloringpage/"
44 +SRC_URI="https://github.com/CSCsw/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +SLOT="0"
47 +IUSE="openmp static-libs"
48 +KEYWORDS="~alpha ~amd64 ~x86 ~amd64-linux ~x86-linux"
49 +
50 +RDEPEND=""
51 +DEPEND="${RDEPEND}"
52 +
53 +S="${WORKDIR}/${MYPN}-${PV}"
54 +
55 +pkg_setup() {
56 + if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
57 + ewarn "You are using gcc without OpenMP"
58 + die "Need an OpenMP capable compiler"
59 + fi
60 +}
61 +
62 +src_prepare() {
63 + default
64 + sed -e 's/-O3//' -i Makefile.am || die
65 + eautoreconf
66 +}
67 +
68 +src_configure() {
69 + econf \
70 + --enable-shared \
71 + $(use_enable static-libs static) \
72 + $(use_enable openmp)
73 +}
74 +
75 +src_install() {
76 + default
77 + rm -rf "${ED}"/usr/examples
78 + use static-libs || prune_libtool_files --all
79 +}
80
81 diff --git a/sci-libs/colpack/metadata.xml b/sci-libs/colpack/metadata.xml
82 index 174f7cf0ae9..c9aa068b01c 100644
83 --- a/sci-libs/colpack/metadata.xml
84 +++ b/sci-libs/colpack/metadata.xml
85 @@ -6,8 +6,11 @@
86 <name>Gentoo Science Project</name>
87 </maintainer>
88 <longdescription lang="en">
89 - ColPack is a package comprising of implementations of algorithms for
90 - the specialized vertex coloring problems as well as algorithms for a
91 - variety of related supporting tasks in derivative computation.
92 -</longdescription>
93 + ColPack is a package comprising of implementations of algorithms for
94 + the specialized vertex coloring problems as well as algorithms for a
95 + variety of related supporting tasks in derivative computation.
96 + </longdescription>
97 + <upstream>
98 + <remote-id type="github">CSCsw/ColPack</remote-id>
99 + </upstream>
100 </pkgmetadata>