From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/thepeg/
Date: Thu, 7 Nov 2013 20:05:18 +0000 (UTC) [thread overview]
Message-ID: <1383572826.5468573fc0cc40d9b6d7e0f8763751e5c0e66b1e.alexxy@gentoo> (raw)
commit: 5468573fc0cc40d9b6d7e0f8763751e5c0e66b1e
Author: Jauhien Piatlicki <piatlicki <AT> gmail <DOT> com>
AuthorDate: Mon Nov 4 13:47:06 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Mon Nov 4 13:47:06 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5468573f
sci-physics/thepeg: version bump (1.9.0)
---
sci-physics/thepeg/ChangeLog | 5 ++
sci-physics/thepeg/thepeg-1.9.0.ebuild | 92 ++++++++++++++++++++++++++++++++++
2 files changed, 97 insertions(+)
diff --git a/sci-physics/thepeg/ChangeLog b/sci-physics/thepeg/ChangeLog
index 5eae5bc..723b533 100644
--- a/sci-physics/thepeg/ChangeLog
+++ b/sci-physics/thepeg/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*thepeg-1.9.0 (04 Nov 2013)
+
+ 04 Nov 2013; Jauhien Piatlicki <piatlicki@gmail.com> +thepeg-1.9.0.ebuild:
+ Version bump
+
*thepeg-1.8.3 (11 Mar 2013)
11 Mar 2013; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
diff --git a/sci-physics/thepeg/thepeg-1.9.0.ebuild b/sci-physics/thepeg/thepeg-1.9.0.ebuild
new file mode 100644
index 0000000..a9d8b3c
--- /dev/null
+++ b/sci-physics/thepeg/thepeg-1.9.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit autotools 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/"
+SRC_URI="http://www.hepforge.org/archive/thepeg/${MYP}.tar.bz2
+ test? ( hepmc? (
+ http://www.hepforge.org/archive/lhapdf/pdfsets/current/cteq6ll.LHpdf
+ http://www.hepforge.org/archive/lhapdf/pdfsets/current/cteq5l.LHgrid
+ http://www.hepforge.org/archive/lhapdf/pdfsets/current/GRV98nlo.LHgrid
+ http://www.hepforge.org/archive/lhapdf/pdfsets/current/MRST2001nlo.LHgrid ) )"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs hepmc java lhapdf test zlib"
+
+RDEPEND="sci-libs/gsl
+ dev-lang/perl
+ emacs? ( virtual/emacs )
+ hepmc? ( sci-physics/hepmc )
+ java? ( >=virtual/jre-1.5 )
+ lhapdf? ( sci-physics/lhapdf )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}
+ test? ( sys-process/time )"
+
+S="${WORKDIR}/${MYP}"
+
+pkg_setup() {
+ elog "There is an extra option on package Rivet not yet in Gentoo:"
+ elog "You can use the env variable EXTRA_ECONF variable for this:"
+ elog "EXTRA_ECONF=\"--with-rivet=DIR\""
+ elog "where DIR - location of Rivet installation"
+ java-pkg-opt-2_pkg_setup
+}
+
+src_prepare() {
+ find -name 'Makefile.am' -exec sed -i '1ipkgdatadir=$(datadir)/thepeg' {} \; \
+ || die "changing pkgdatadir name failed"
+ sed -i '/dist_pkgdata_DATA = ThePEG.el/d' lib/Makefile.am \
+ || die "preventing install ThePEG.el in pkgdatadir failed"
+ epatch "${FILESDIR}"/${PN}-1.8.3-java.patch
+ eautoreconf
+
+ java-pkg-opt-2_src_prepare
+}
+
+src_configure() {
+ econf \
+ --disable-silent-rules \
+ $(use_with hepmc hepmc "${EPREFIX}"/usr) \
+ $(use_with java javagui) \
+ $(use_with lhapdf LHAPDF "${EPREFIX}"/usr) \
+ $(use_with zlib zlib "${EPREFIX}"/usr)
+}
+
+src_compile() {
+ emake
+ if use emacs; then
+ elisp-compile lib/ThePEG.el || die
+ fi
+}
+
+src_test() {
+ emake LHAPATH="${DISTDIR}" check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ if use emacs; then
+ elisp-install ${PN} lib/ThePEG.el lib/ThePEG.elc || die
+ fi
+ use java && java-pkg_newjar java/ThePEG.jar
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elog "To use installed elisp file you should add"
+ elog "(add-to-list 'load-path \"${SITELISP}/${PN}\")"
+ elog "(load \"ThePEG\")"
+ elog "to your .emacs file"
+ fi
+}
next reply other threads:[~2013-11-07 20:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-07 20:05 Alexey Shvetsov [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
2014-05-07 23:19 Sebastien Fabbro
2013-11-09 8:55 Justin Lecher
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=1383572826.5468573fc0cc40d9b6d7e0f8763751e5c0e66b1e.alexxy@gentoo \
--to=alexxy@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