Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/ekopath: ekopath-6.0.430_p20150629.ebuild ChangeLog ekopath-5.0.1_pre20131115.ebuild ekopath-5.0.5_pre20150226.ebuild ekopath-6.0.373_p20150519.ebuild ekopath-6.0.396_p20150605.ebuild
Date: Tue, 30 Jun 2015 14:27:43
Message-Id: 20150630142739.471B6749@oystercatcher.gentoo.org
1 mgorny 15/06/30 14:27:39
2
3 Modified: ChangeLog
4 Added: ekopath-6.0.430_p20150629.ebuild
5 Removed: ekopath-5.0.1_pre20131115.ebuild
6 ekopath-5.0.5_pre20150226.ebuild
7 ekopath-6.0.373_p20150519.ebuild
8 ekopath-6.0.396_p20150605.ebuild
9 Log:
10 Bump. Remove old.
11
12 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
13
14 Revision Changes Path
15 1.30 dev-lang/ekopath/ChangeLog
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.30&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.30&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?r1=1.29&r2=1.30
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v
24 retrieving revision 1.29
25 retrieving revision 1.30
26 diff -u -r1.29 -r1.30
27 --- ChangeLog 6 Jun 2015 11:46:50 -0000 1.29
28 +++ ChangeLog 30 Jun 2015 14:27:39 -0000 1.30
29 @@ -1,6 +1,14 @@
30 # ChangeLog for dev-lang/ekopath
31 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.29 2015/06/06 11:46:50 mgorny Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.30 2015/06/30 14:27:39 mgorny Exp $
34 +
35 +*ekopath-6.0.430_p20150629 (30 Jun 2015)
36 +
37 + 30 Jun 2015; Michał Górny <mgorny@g.o>
38 + +ekopath-6.0.430_p20150629.ebuild, -ekopath-5.0.1_pre20131115.ebuild,
39 + -ekopath-5.0.5_pre20150226.ebuild, -ekopath-6.0.373_p20150519.ebuild,
40 + -ekopath-6.0.396_p20150605.ebuild:
41 + Bump. Remove old.
42
43 *ekopath-6.0.396_p20150605 (06 Jun 2015)
44
45
46
47
48 1.1 dev-lang/ekopath/ekopath-6.0.430_p20150629.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-6.0.430_p20150629.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-6.0.430_p20150629.ebuild?rev=1.1&content-type=text/plain
52
53 Index: ekopath-6.0.430_p20150629.ebuild
54 ===================================================================
55 # Copyright 1999-2015 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-6.0.430_p20150629.ebuild,v 1.1 2015/06/30 14:27:39 mgorny Exp $
58
59 EAPI=5
60
61 inherit versionator multilib pax-utils
62
63 MY_PV=$(get_version_component_range 1-3)
64 DATE=$(get_version_component_range 4)
65 DATE=${DATE#p}
66 DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
67 INSTALLER=${PN}-${DATE}-installer.run
68
69 DESCRIPTION="PathScale EKOPath Compiler Suite"
70 HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
71 SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${INSTALLER}"
72
73 LICENSE="all-rights-reserved"
74 SLOT="0"
75 KEYWORDS="~amd64"
76 IUSE=""
77
78 DEPEND="!!app-arch/rpm"
79 RDEPEND=""
80
81 RESTRICT="bindist mirror"
82
83 QA_PREBUILT="
84 opt/${PN}/lib/${MY_PV}/x8664/*
85 opt/${PN}/bin/*"
86
87 S="${WORKDIR}"
88
89 src_unpack() {
90 cp "${DISTDIR}/${INSTALLER}" "${S}/" || die
91 chmod +x "${S}/${INSTALLER}" || die
92 }
93
94 src_prepare() {
95 cat > 99${PN} <<-EOF
96 PATH=${EROOT%/}/opt/${PN}/bin
97 ROOTPATH=${EROOT%/}/opt/${PN}/bin
98 LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
99 MANPATH=${EROOT%/}/opt/${PN}/docs/man
100 EOF
101 }
102
103 src_install() {
104 # EI_PAX marking is obsolete and PT_PAX breaks the binary.
105 # We must use XT_PAX to run the installer.
106 if [[ ${PAX_MARKINGS} == "XT" ]]; then
107 pax-mark m "${INSTALLER}"
108 fi
109
110 ./"${INSTALLER}" \
111 --prefix "${ED%/}/opt/${PN}" \
112 --mode unattended || die
113
114 if [[ ! -d ${ED%/}/opt/${PN}/lib/${MY_PV} ]]; then
115 local guess
116 cd "${ED%/}/opt/${PN}/lib" && guess=( * )
117
118 if [[ ${guess[@]} ]]; then
119 die "Incorrect release version in PV, guessing it should be: ${guess[*]}"
120 else
121 die "No libdir installed"
122 fi
123 fi
124 [[ -x ${ED%}/opt/${PN}/bin/pathcc ]] || die "No pathcc executable was installed, your hardware is unsupported most likely"
125
126 rm -r "${ED}/opt/${PN}"/uninstall* || die
127 doenvd 99${PN}
128 }