public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/thepeg/
Date: Wed,  7 May 2014 23:19:56 +0000 (UTC)	[thread overview]
Message-ID: <1399413426.466d3cb19a801a16712329aaeaaddf0a80c35f7b.bicatali@gentoo> (raw)

commit:     466d3cb19a801a16712329aaeaaddf0a80c35f7b
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Tue May  6 21:57:06 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue May  6 21:57:06 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=466d3cb1

sci-physics/thepeg: Version bump

Package-Manager: portage-2.2.8-prefix

---
 sci-physics/thepeg/ChangeLog           |  8 +++-
 sci-physics/thepeg/thepeg-1.9.1.ebuild | 87 ++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+), 2 deletions(-)

diff --git a/sci-physics/thepeg/ChangeLog b/sci-physics/thepeg/ChangeLog
index 5914b9e..57d3fad 100644
--- a/sci-physics/thepeg/ChangeLog
+++ b/sci-physics/thepeg/ChangeLog
@@ -1,7 +1,12 @@
 # ChangeLog for sci-physics/thepeg
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*thepeg-1.9.1 (06 May 2014)
+
+  06 May 2014; Sébastien Fabbro <bicatali@gentoo.org> +thepeg-1.9.1.ebuild:
+  sci-physics/thepeg: Version bump
+
 *thepeg-1.9.0-r1 (09 Nov 2013)
 
   09 Nov 2013; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
@@ -39,4 +44,3 @@
   07 Sep 2012; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
   +thepeg-1.8.0.ebuild, +files/thepeg-1.8.0-java.patch, +metadata.xml:
   New Ebuild for bug #424003 thanks to hasufell, mgorny and xarthisius.
-

diff --git a/sci-physics/thepeg/thepeg-1.9.1.ebuild b/sci-physics/thepeg/thepeg-1.9.1.ebuild
new file mode 100644
index 0000000..e70b39f
--- /dev/null
+++ b/sci-physics/thepeg/thepeg-1.9.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils elisp-common eutils java-pkg-opt-2
+
+MYP=ThePEG-${PV}
+
+DESCRIPTION="Toolkit for High Energy Physics Event Generation"
+HOMEPAGE="http://home.thep.lu.se/ThePEG/"
+
+TEST_URI="http://www.hepforge.org/archive/lhapdf/pdfsets/current"
+SRC_URI="http://www.hepforge.org/archive/thepeg/${MYP}.tar.bz2
+	test? ( hepmc? (
+	   ${TEST_URI}/cteq6ll.LHpdf
+	   ${TEST_URI}/cteq5l.LHgrid
+	   ${TEST_URI}/GRV98nlo.LHgrid
+	   ${TEST_URI}/MRST2001nlo.LHgrid ) )"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="emacs fastjet hepmc java lhapdf rivet static-libs test zlib"
+
+RDEPEND="
+	sci-libs/gsl:0=
+	emacs? ( virtual/emacs )
+	fastjet? ( sci-physics/fastjet:0= )
+	hepmc? ( sci-physics/hepmc:0= )
+	java? ( >=virtual/jre-1.5 )
+	lhapdf? ( sci-physics/lhapdf:0= )
+	rivet? ( sci-physics/rivet:0= )
+	zlib? ( sys-libs/zlib:0= )"
+DEPEND="${RDEPEND}
+	test? ( sys-process/time )"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.3-java.patch )
+
+src_prepare() {
+	find -name 'Makefile.am' -exec \
+		sed -i -e '1ipkgdatadir=$(datadir)/thepeg' {} \; || die
+	sed -i -e '/dist_pkgdata_DATA = ThePEG.el/d' lib/Makefile.am || die
+	autotools-utils_src_prepare
+	java-pkg-opt-2_src_prepare
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_with fastjet fastjet "${EPREFIX}"/usr)
+		$(use_with hepmc hepmc "${EPREFIX}"/usr)
+		$(use_with java javagui)
+		$(use_with lhapdf lhapdf "${EPREFIX}"/usr)
+		$(use_with rivet rivet "${EPREFIX}"/usr)
+		$(use_with zlib zlib "${EPREFIX}"/usr)
+	)
+	autotools-utils_src_configure
+}
+
+src_compile() {
+	autotools-utils_src_compile
+	use emacs && elisp-compile lib/ThePEG.el
+}
+
+src_test() {
+	emake LHAPATH="${DISTDIR}" -C "${BUILD_DIR}" check
+}
+
+src_install() {
+	autotools-utils_src_install
+	use emacs && elisp-install ${PN} lib/ThePEG.el{,c}
+	use java && java-pkg_newjar java/ThePEG.jar
+}
+
+pkg_postinst() {
+	use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+	use emacs && elisp-site-regen
+}


             reply	other threads:[~2014-05-07 23:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 23:19 Sebastien Fabbro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-30 18:11 [gentoo-commits] proj/sci:master commit in: sci-physics/thepeg/ Jauhien Piatlicki
2014-08-31 17:11 Jauhien Piatlicki
2014-08-31 10:54 Jauhien Piatlicki
2014-05-07 23:19 Sebastien Fabbro
2013-11-09  8:55 Justin Lecher
2013-11-07 20:05 Alexey Shvetsov
2012-09-10  8:16 Kacper Kowalik
2012-09-10  8:16 Kacper Kowalik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1399413426.466d3cb19a801a16712329aaeaaddf0a80c35f7b.bicatali@gentoo \
    --to=bicatali@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox