public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lang/ekopath: ekopath-6.0.396_p20150605.ebuild ChangeLog ekopath-6.0.357_p20150511.ebuild ekopath-6.0.383_p20150526.ebuild
@ 2015-06-06 11:46 Michal Gorny (mgorny)
  0 siblings, 0 replies; only message in thread
From: Michal Gorny (mgorny) @ 2015-06-06 11:46 UTC (permalink / raw
  To: gentoo-commits

mgorny      15/06/06 11:46:50

  Modified:             ChangeLog
  Added:                ekopath-6.0.396_p20150605.ebuild
  Removed:              ekopath-6.0.357_p20150511.ebuild
                        ekopath-6.0.383_p20150526.ebuild
  Log:
  Snapshot bump. Improve sanity checks a little.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.29                 dev-lang/ekopath/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?r1=1.28&r2=1.29

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog	27 May 2015 10:12:32 -0000	1.28
+++ ChangeLog	6 Jun 2015 11:46:50 -0000	1.29
@@ -1,6 +1,13 @@
 # ChangeLog for dev-lang/ekopath
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.28 2015/05/27 10:12:32 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.29 2015/06/06 11:46:50 mgorny Exp $
+
+*ekopath-6.0.396_p20150605 (06 Jun 2015)
+
+  06 Jun 2015; Michał Górny <mgorny@gentoo.org>
+  +ekopath-6.0.396_p20150605.ebuild, -ekopath-6.0.357_p20150511.ebuild,
+  -ekopath-6.0.383_p20150526.ebuild:
+  Snapshot bump. Improve sanity checks a little.
 
 *ekopath-6.0.373_p20150526 (27 May 2015)
 *ekopath-6.0.383_p20150526 (27 May 2015)



1.1                  dev-lang/ekopath/ekopath-6.0.396_p20150605.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-6.0.396_p20150605.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-6.0.396_p20150605.ebuild?rev=1.1&content-type=text/plain

Index: ekopath-6.0.396_p20150605.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-6.0.396_p20150605.ebuild,v 1.1 2015/06/06 11:46:50 mgorny Exp $

EAPI=5

inherit versionator multilib pax-utils

MY_PV=$(get_version_component_range 1-3)
DATE=$(get_version_component_range 4)
DATE=${DATE#p}
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
INSTALLER=${PN}-${DATE}-installer.run

DESCRIPTION="PathScale EKOPath Compiler Suite"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${INSTALLER}"

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="!!app-arch/rpm"
RDEPEND=""

RESTRICT="bindist mirror"

QA_PREBUILT="
	opt/${PN}/lib/${MY_PV}/x8664/*
	opt/${PN}/bin/*"

S="${WORKDIR}"

src_unpack() {
	cp "${DISTDIR}/${INSTALLER}" "${S}/" || die
	chmod +x "${S}/${INSTALLER}" || die
}

src_prepare() {
	cat > 99${PN} <<-EOF
		PATH=${EROOT%/}/opt/${PN}/bin
		ROOTPATH=${EROOT%/}/opt/${PN}/bin
		LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
		MANPATH=${EROOT%/}/opt/${PN}/docs/man
	EOF
}

src_install() {
	# EI_PAX marking is obsolete and PT_PAX breaks the binary.
	# We must use XT_PAX to run the installer.
	if [[ ${PAX_MARKINGS} == "XT" ]]; then
		pax-mark m "${INSTALLER}"
	fi

	./"${INSTALLER}" \
		--prefix "${ED%/}/opt/${PN}" \
		--mode unattended || die

	if [[ ! -d ${ED%/}/opt/${PN}/lib/${MY_PV} ]]; then
		local guess
		cd "${ED%/}/opt/${PN}/lib" && guess=( * )

		if [[ ${guess[@]} ]]; then
			die "Incorrect release version in PV, guessing it should be: ${guess[*]}"
		else
			die "No libdir installed"
		fi
	fi
	[[ -x ${ED%}/opt/${PN}/bin/pathcc ]] || die "No pathcc executable was installed, your hardware is unsupported most likely"

	rm -r "${ED}/opt/${PN}"/uninstall* || die
	doenvd 99${PN}
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-06 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-06 11:46 [gentoo-commits] gentoo-x86 commit in dev-lang/ekopath: ekopath-6.0.396_p20150605.ebuild ChangeLog ekopath-6.0.357_p20150511.ebuild ekopath-6.0.383_p20150526.ebuild Michal Gorny (mgorny)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox