Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ekopath/
Date: Fri, 04 Mar 2016 06:12:21
Message-Id: 1457071927.be4c5c34a725474277047af34d3d2318c7a5e0af.mgorny@gentoo
1 commit: be4c5c34a725474277047af34d3d2318c7a5e0af
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 4 06:11:21 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 4 06:12:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4c5c34
7
8 dev-lang/ekopath: Snapshot bump
9
10 dev-lang/ekopath/Manifest | 1 +
11 dev-lang/ekopath/ekopath-6.0.705_p20160303.ebuild | 74 +++++++++++++++++++++++
12 2 files changed, 75 insertions(+)
13
14 diff --git a/dev-lang/ekopath/Manifest b/dev-lang/ekopath/Manifest
15 index b4f4c5e..0abe010 100644
16 --- a/dev-lang/ekopath/Manifest
17 +++ b/dev-lang/ekopath/Manifest
18 @@ -1,3 +1,4 @@
19 DIST ekopath-2015-12-13-installer.run 57231316 SHA256 85a3fc7df59373bfef32bf9388fd77c19d7c780dc5e9e52e1e8664f0139a9ac6 SHA512 9454f263c921d26f521e374eb2f346f1e257bf58daf2ce5e54ce1a2cced7291bd9b5ece08cd4da441498f66bcd6a01a45309d4463fe65ea5d094b21612a8d3f8 WHIRLPOOL 3157ed63da3d87912163af2e8927a332640b2682289234b25b5f7b75a698490dc2cf8e0d5f51d82eb0b072654f15040c6b94f94e3cf7a428b793a575d6f71ed0
20 DIST ekopath-2015-12-31-installer.run 57236877 SHA256 f8e5a2910ac001ace7d42254553e27f79b62eb6650d89778eced3ff483854917 SHA512 d191ce829c1c285c848c58f7bca194df72975d0d0685cf70c324831ca9ce67729dbf9fa46f36b4e17cc726fb8144739608fa825d4e2dd447b40dc0b1461f9f9b WHIRLPOOL 7988f8c93522aa38ec18c69979789fda1f64ab647d712da02260961a98e7ee75d90525c76947e6f32c073f289af419154d58072e5edac5093fdeaee7489c096c
21 DIST ekopath-2016-01-24-installer.run 57266129 SHA256 3ea7471dc29ccfd89b7a7cee788243cd94f0b86cbe4345f7576a4444119b1122 SHA512 514e1a317822ca8edf2bfe2f2d99928717876731fbb3949165ded97fe7ed99acf01eb27f862ba9c84e8a3fd4f0c46aa31734925847351ad0b74a4d0bde8c4240 WHIRLPOOL a9ca485f5196563fd5fe449c3ab745c162492eff6c51b560234338ab0aa96b3128fd44e401eb28e50c47425315447c1b8f2f9a80bb9ce59fdac21232c6262f8d
22 +DIST ekopath-2016-03-03-installer.run 57856781 SHA256 0db16cf44f38e170e80230e08cccd2596187c869a3cd9ec74a6c368f9f1cb617 SHA512 c7ddb516f420a2efd278472f2694cad87b6e8e956f56b48473f432cc9b3565e568713915137b980cd03e89003e80a098a29cb7f3fea93f02c590577ef521f0ba WHIRLPOOL a270e5eb8731fc5a8c536d2328b5c5d1012397df895d01009dc2d3751c0f344697069e998d51fcbc183cec719652cbfee0032b3b7ae408f5d9104376f22ddbaa
23
24 diff --git a/dev-lang/ekopath/ekopath-6.0.705_p20160303.ebuild b/dev-lang/ekopath/ekopath-6.0.705_p20160303.ebuild
25 new file mode 100644
26 index 0000000..c886d13
27 --- /dev/null
28 +++ b/dev-lang/ekopath/ekopath-6.0.705_p20160303.ebuild
29 @@ -0,0 +1,74 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +inherit versionator multilib pax-utils
37 +
38 +MY_PV=$(get_version_component_range 1-3)
39 +DATE=$(get_version_component_range 4)
40 +DATE=${DATE#p}
41 +DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
42 +INSTALLER=${PN}-${DATE}-installer.run
43 +
44 +DESCRIPTION="PathScale EKOPath Compiler Suite"
45 +HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
46 +SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${INSTALLER}"
47 +
48 +LICENSE="all-rights-reserved"
49 +SLOT="0"
50 +KEYWORDS="~amd64"
51 +IUSE=""
52 +
53 +DEPEND="!!app-arch/rpm"
54 +RDEPEND=""
55 +
56 +RESTRICT="bindist mirror"
57 +
58 +QA_PREBUILT="
59 + opt/${PN}/lib/${MY_PV}/x8664/*
60 + opt/${PN}/bin/*"
61 +
62 +S="${WORKDIR}"
63 +
64 +src_unpack() {
65 + cp "${DISTDIR}/${INSTALLER}" "${S}/" || die
66 + chmod +x "${S}/${INSTALLER}" || die
67 +}
68 +
69 +src_prepare() {
70 + cat > 99${PN} <<-EOF || die
71 + PATH=${EROOT%/}/opt/${PN}/bin
72 + ROOTPATH=${EROOT%/}/opt/${PN}/bin
73 + LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
74 + MANPATH=${EROOT%/}/opt/${PN}/docs/man
75 + EOF
76 +}
77 +
78 +src_install() {
79 + # EI_PAX marking is obsolete and PT_PAX breaks the binary.
80 + # We must use XT_PAX to run the installer.
81 + if [[ ${PAX_MARKINGS} == "XT" ]]; then
82 + pax-mark m "${INSTALLER}"
83 + fi
84 +
85 + ./"${INSTALLER}" \
86 + --prefix "${ED%/}/opt/${PN}" \
87 + --mode unattended || die
88 +
89 + if [[ ! -d ${ED%/}/opt/${PN}/lib/${MY_PV} ]]; then
90 + local guess
91 + cd "${ED%/}/opt/${PN}/lib" && guess=( * )
92 +
93 + if [[ ${guess[@]} ]]; then
94 + die "Incorrect release version in PV, guessing it should be: ${guess[*]}"
95 + else
96 + die "No libdir installed"
97 + fi
98 + fi
99 + [[ -x ${ED%}/opt/${PN}/bin/pathcc ]] || die "No pathcc executable was installed, your hardware is unsupported most likely"
100 +
101 + rm -r "${ED}/opt/${PN}"/uninstall* || die
102 + doenvd 99${PN}
103 +}