Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/
Date: Tue, 12 Jul 2016 19:31:08
Message-Id: 1468351854.8e8dc18523775030358380a16e83f08fcff5b4dd.ottxor@gentoo
1 commit: 8e8dc18523775030358380a16e83f08fcff5b4dd
2 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 12 19:30:17 2016 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 12 19:30:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8dc185
7
8 dev-lang/ispc: version bump
9
10 Package-Manager: portage-2.2.28
11
12 dev-lang/ispc/Manifest | 1 +
13 dev-lang/ispc/ispc-1.9.1.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
17 index 11e4fc0..159d89e 100644
18 --- a/dev-lang/ispc/Manifest
19 +++ b/dev-lang/ispc/Manifest
20 @@ -1,3 +1,4 @@
21 DIST ispc-1.8.2-llvm-3.7.patch.gz 15723 SHA256 8fc724b7076b0d288cf1ffeb1d71cfdbba8bf54e5923c1b862572646f6f29931 SHA512 7ad3997e8c0168d83bdc9cd0444e48467c31f9f497105ea6a98c358f8dd1db5c9acba636e5d86e6aed77c16f2a9d776142a3f2f9d2e3780ffddbb116e6679054 WHIRLPOOL 9f92edb0dbec381f43dea9b929683186254a8824cbf8b213d460166b03bf952555b0386f9346732e1ad5bd8ba90dac3c7ef531be94b30dd3288918026ae60064
22 DIST ispc-1.8.2.tar.gz 19259133 SHA256 d17ea68b7192d261a2830d6e00df656a73fbccd08a249433fcaf24a886902a9d SHA512 bb1f64afe41af138c386fb12a2a7f477f7bc8df2543191bbe7e5d7624e6b00dfec11ba422f6f396cd91af1c7b4cb5d2b3febf7902740d85c6d068de8ab94765a WHIRLPOOL 45ba7c52b3ada111f518b2a94d71d8c259040114ae84881c693f6e3491bd4b6897563eba4bccb6ae83a7cb90901bf1723bcbfeb9a124267ed235b1b8fdf61d69
23 DIST ispc-1.9.0.tar.gz 19271046 SHA256 b151e50f80754d81302f968c66cc7444c65010c20d1f83382b94c22491bb3971 SHA512 d886697fd0390017ee0b8c8682834d8b600b10c08eb069eea53eba7cc68788ec5a8e3f50366636add362c5a0508ef38fc0789f6a349d913b972f325830c78c28 WHIRLPOOL 63020bc499e16655bed565187d97ca7810aea294ca32ec8bef5344e4fb11ecc109cf6af7018d820ed28674b82c2a50148bb2d598d0d3cee848d990072bedb717
24 +DIST ispc-1.9.1.tar.gz 19276043 SHA256 c52910a007f1b0c732dd1cb981e7c22f3b9b575f0b097a49f4e43fc7a3e7e976 SHA512 4acd9e99dadba684829235a267e15ca8ff4cf33c4cadaa2983006bcb2c2f45fce49e8b11963f4bce78c256aaf8ece0583cf6cb729c6bc75af32b7fa4238ca743 WHIRLPOOL 3eabea7e671ba4383f517b05c47409ec11dabc822e56ec2d909a6bb37f5d56ac7bb94be6b3059edb8ad7bc036d7bebe5061772c4fd0650f1e7c04f4d2ce12cdf
25
26 diff --git a/dev-lang/ispc/ispc-1.9.1.ebuild b/dev-lang/ispc/ispc-1.9.1.ebuild
27 new file mode 100644
28 index 0000000..53edbc7
29 --- /dev/null
30 +++ b/dev-lang/ispc/ispc-1.9.1.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python2_7 )
39 +
40 +inherit toolchain-funcs python-any-r1
41 +
42 +DESCRIPTION="Intel SPMD Program Compiler"
43 +HOMEPAGE="https://ispc.github.com/"
44 +
45 +if [[ ${PV} = *9999 ]]; then
46 + inherit git-r3
47 + EGIT_REPO_URI="git://github.com/ispc/ispc.git"
48 + KEYWORDS=""
49 +else
50 + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
51 + KEYWORDS="~amd64 ~x86"
52 +fi
53 +
54 +LICENSE="BSD BSD-2 UoI-NCSA"
55 +SLOT="0"
56 +IUSE="examples"
57 +
58 +RDEPEND="
59 + >=sys-devel/clang-3.0
60 + >=sys-devel/llvm-3.0
61 + "
62 +DEPEND="
63 + ${RDEPEND}
64 + ${PYTHON_DEPS}
65 + sys-devel/bison
66 + sys-devel/flex
67 + "
68 +
69 +src_compile() {
70 + sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") verbose
71 + emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" CPP="$(tc-getCPP)"
72 +}
73 +
74 +src_install() {
75 + dobin ispc
76 + dodoc README.rst
77 +
78 + if use examples; then
79 + insinto "/usr/share/doc/${PF}/examples"
80 + docompress -x "/usr/share/doc/${PF}/examples"
81 + doins -r examples/*
82 + fi
83 +}