1 |
commit: c25ca61f656cb6ad6b5a795a67f7324b22604ebd |
2 |
Author: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 17:51:10 2015 +0000 |
4 |
Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 17:51:10 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c25ca61f |
7 |
|
8 |
sci-physics/thepeg: remove version imported to the tree |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
sci-physics/thepeg/ChangeLog | 6 ++- |
13 |
sci-physics/thepeg/metadata.xml | 2 - |
14 |
sci-physics/thepeg/thepeg-1.9.2.ebuild | 97 ---------------------------------- |
15 |
3 files changed, 5 insertions(+), 100 deletions(-) |
16 |
|
17 |
diff --git a/sci-physics/thepeg/ChangeLog b/sci-physics/thepeg/ChangeLog |
18 |
index a187d89..70568d7 100644 |
19 |
--- a/sci-physics/thepeg/ChangeLog |
20 |
+++ b/sci-physics/thepeg/ChangeLog |
21 |
@@ -1,7 +1,11 @@ |
22 |
# ChangeLog for sci-physics/thepeg |
23 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
24 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
25 |
# $Id$ |
26 |
|
27 |
+ 30 Aug 2015; Jauhien Piatlicki <jauhien@g.o> -thepeg-1.9.2.ebuild, |
28 |
+ metadata.xml: |
29 |
+ remove version imported to the tree |
30 |
+ |
31 |
*thepeg-1.9.2 (31 Aug 2014) |
32 |
|
33 |
31 Aug 2014; Jauhien Piatlicki <jauhien@g.o> +thepeg-1.9.2.ebuild, |
34 |
|
35 |
diff --git a/sci-physics/thepeg/metadata.xml b/sci-physics/thepeg/metadata.xml |
36 |
index c1dafb3..12f7bfb 100644 |
37 |
--- a/sci-physics/thepeg/metadata.xml |
38 |
+++ b/sci-physics/thepeg/metadata.xml |
39 |
@@ -13,8 +13,6 @@ |
40 |
of the toolkit and which can be used by any event generator model. |
41 |
</longdescription> |
42 |
<use> |
43 |
- <flag name='c++0x'>Build ThePEG using the C++11 standard. |
44 |
- Experimental feature, not for production use.</flag> |
45 |
<flag name='fastjet'>Adds support for <pkg>sci-physics/fastjet</pkg></flag> |
46 |
<flag name='hepmc'>Adds support for High Energy Physics Monte Carlo |
47 |
Generators <pkg>sci-physics/hepmc</pkg></flag> |
48 |
|
49 |
diff --git a/sci-physics/thepeg/thepeg-1.9.2.ebuild b/sci-physics/thepeg/thepeg-1.9.2.ebuild |
50 |
deleted file mode 100644 |
51 |
index 149f15f..0000000 |
52 |
--- a/sci-physics/thepeg/thepeg-1.9.2.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,97 +0,0 @@ |
55 |
-# Copyright 1999-2014 Gentoo Foundation |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Id$ |
58 |
- |
59 |
-EAPI=5 |
60 |
- |
61 |
-AUTOTOOLS_AUTORECONF=1 |
62 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
63 |
- |
64 |
-inherit autotools-utils elisp-common eutils java-pkg-opt-2 |
65 |
- |
66 |
-MYP=ThePEG-${PV} |
67 |
- |
68 |
-DESCRIPTION="Toolkit for High Energy Physics Event Generation" |
69 |
-HOMEPAGE="http://home.thep.lu.se/ThePEG/" |
70 |
- |
71 |
-TEST_URI="http://www.hepforge.org/archive/lhapdf/pdfsets/current" |
72 |
-SRC_URI="http://www.hepforge.org/archive/thepeg/${MYP}.tar.bz2 |
73 |
- test? ( hepmc? ( |
74 |
- ${TEST_URI}/cteq6ll.LHpdf |
75 |
- ${TEST_URI}/cteq5l.LHgrid |
76 |
- ${TEST_URI}/GRV98nlo.LHgrid |
77 |
- ${TEST_URI}/MRST2001nlo.LHgrid ) )" |
78 |
-LICENSE="GPL-2" |
79 |
- |
80 |
-SLOT="0/18" |
81 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
82 |
-IUSE="c++0x emacs fastjet hepmc java lhapdf rivet static-libs test zlib" |
83 |
- |
84 |
-RDEPEND=" |
85 |
- sci-libs/gsl:0= |
86 |
- emacs? ( virtual/emacs ) |
87 |
- fastjet? ( sci-physics/fastjet:0= ) |
88 |
- hepmc? ( sci-physics/hepmc:0= ) |
89 |
- java? ( >=virtual/jre-1.5 ) |
90 |
- lhapdf? ( sci-physics/lhapdf:0= ) |
91 |
- rivet? ( sci-physics/rivet:0= ) |
92 |
- zlib? ( sys-libs/zlib:0= )" |
93 |
-DEPEND="${RDEPEND} |
94 |
- test? ( sys-process/time )" |
95 |
- |
96 |
-S="${WORKDIR}/${MYP}" |
97 |
- |
98 |
-PATCHES=( "${FILESDIR}"/${PN}-1.8.3-java.patch ) |
99 |
- |
100 |
-src_prepare() { |
101 |
- find -name 'Makefile.am' -exec \ |
102 |
- sed -i -e '1ipkgdatadir=$(datadir)/thepeg' {} \; || die |
103 |
- # trick to force c++ linking |
104 |
- sed -i \ |
105 |
- -e '1inodist_EXTRA_libThePEG_la_SOURCES = dummy.cxx' \ |
106 |
- -e '/dist_pkgdata_DATA = ThePEG.el/d' \ |
107 |
- lib/Makefile.am || die |
108 |
- autotools-utils_src_prepare |
109 |
- java-pkg-opt-2_src_prepare |
110 |
-} |
111 |
- |
112 |
-src_configure() { |
113 |
- local myeconfargs=( |
114 |
- $(use_enable c++0x stdcxx11) |
115 |
- $(use_with fastjet fastjet "${EPREFIX}"/usr) |
116 |
- $(use_with hepmc hepmc "${EPREFIX}"/usr) |
117 |
- $(use_with java javagui) |
118 |
- $(use_with lhapdf lhapdf "${EPREFIX}"/usr) |
119 |
- $(use_with rivet rivet "${EPREFIX}"/usr) |
120 |
- $(use_with zlib zlib "${EPREFIX}"/usr) |
121 |
- ) |
122 |
- autotools-utils_src_configure |
123 |
-} |
124 |
- |
125 |
-src_compile() { |
126 |
- autotools-utils_src_compile |
127 |
- use emacs && elisp-compile lib/ThePEG.el |
128 |
-} |
129 |
- |
130 |
-src_test() { |
131 |
- emake LHAPATH="${DISTDIR}" -C "${BUILD_DIR}" check |
132 |
-} |
133 |
- |
134 |
-src_install() { |
135 |
- autotools-utils_src_install |
136 |
- use emacs && elisp-install ${PN} lib/ThePEG.el{,c} |
137 |
- use java && java-pkg_newjar java/ThePEG.jar |
138 |
- |
139 |
- cat <<-EOF > "${T}"/50${PN} |
140 |
- LDPATH="${EPREFIX}/usr/$(get_libdir)/ThePEG" |
141 |
- EOF |
142 |
- doenvd "${T}"/50${PN} |
143 |
-} |
144 |
- |
145 |
-pkg_postinst() { |
146 |
- use emacs && elisp-site-regen |
147 |
-} |
148 |
- |
149 |
-pkg_postrm() { |
150 |
- use emacs && elisp-site-regen |
151 |
-} |