1 |
commit: 73c2198c584032651087016c3560a70c7225178d |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Tue Mar 25 10:59:47 2014 +0000 |
4 |
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Mar 25 11:02:27 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=73c2198c |
7 |
|
8 |
Add live-ebuild, add subslot-dependency on sci-physics/root (depends on #505358 to become effective) and dev-libs/boost . |
9 |
|
10 |
--- |
11 |
sci-physics/genfit/ChangeLog | 7 +++++++ |
12 |
sci-physics/genfit/genfit-02.00.00.ebuild | 22 ++++++++++++---------- |
13 |
.../{genfit-02.00.00.ebuild => genfit-9999.ebuild} | 22 ++++++++++++---------- |
14 |
3 files changed, 31 insertions(+), 20 deletions(-) |
15 |
|
16 |
diff --git a/sci-physics/genfit/ChangeLog b/sci-physics/genfit/ChangeLog |
17 |
index f074dc7..99d6f82 100644 |
18 |
--- a/sci-physics/genfit/ChangeLog |
19 |
+++ b/sci-physics/genfit/ChangeLog |
20 |
@@ -2,6 +2,13 @@ |
21 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
22 |
# $Header: $ |
23 |
|
24 |
+*genfit-9999 (25 Mar 2014) |
25 |
+ |
26 |
+ 25 Mar 2014; Oliver Freyermuth <o.freyermuth@××××××××××.com> |
27 |
+ genfit-02.00.00.ebuild, +genfit-9999.ebuild: |
28 |
+ Add live-ebuild, add subslot-dependency on sci-physics/root (depends on |
29 |
+ #505358 to become effective) and dev-libs/boost . |
30 |
+ |
31 |
22 Mar 2014; <o.freyermuth@××××××××××.com> genfit-02.00.00.ebuild: |
32 |
Fix incorrect working directory (adapt to zipped file) |
33 |
|
34 |
|
35 |
diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-02.00.00.ebuild |
36 |
index 596f3e9..375e355 100644 |
37 |
--- a/sci-physics/genfit/genfit-02.00.00.ebuild |
38 |
+++ b/sci-physics/genfit/genfit-02.00.00.ebuild |
39 |
@@ -5,28 +5,30 @@ |
40 |
EAPI=5 |
41 |
|
42 |
inherit cmake-utils versionator |
43 |
- |
44 |
-#ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/tags/v$(replace_all_version_separators '-')" |
45 |
-#ESVN_PROJECT="${PN}.${PV}" |
46 |
- |
47 |
-TAG_VER=${PN}-code-1688-tags-v$(replace_all_version_separators '-') |
48 |
+if [[ ${PV} == *9999* ]]; then |
49 |
+ inherit subversion |
50 |
+ ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/trunk" |
51 |
+ ESVN_PROJECT="${PN}.${PV}" |
52 |
+else |
53 |
+ TAG_VER=${PN}-code-1688-tags-v$(replace_all_version_separators '-') |
54 |
+ SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/${TAG_VER}.zip" |
55 |
+fi |
56 |
|
57 |
DESCRIPTION="a generic toolkit for track reconstruction for experiments in particle and nuclear physics" |
58 |
HOMEPAGE="http://genfit.sourceforge.net/Main.html" |
59 |
-SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/${TAG_VER}.zip" |
60 |
|
61 |
LICENSE="LGPL-3" |
62 |
SLOT="0" |
63 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
64 |
+[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
65 |
IUSE="doc examples" |
66 |
|
67 |
RDEPEND=" |
68 |
- sci-physics/root |
69 |
- dev-libs/boost" |
70 |
+ sci-physics/root:= |
71 |
+ dev-libs/boost:=" |
72 |
DEPEND="${RDEPEND} |
73 |
doc? ( app-doc/doxygen[dot] )" |
74 |
|
75 |
-S=${WORKDIR}/${TAG_VER} |
76 |
+[[ ${PV} == *9999* ]] || S=${WORKDIR}/${TAG_VER} |
77 |
|
78 |
src_compile() { |
79 |
cmake-utils_src_compile |
80 |
|
81 |
diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-9999.ebuild |
82 |
similarity index 69% |
83 |
copy from sci-physics/genfit/genfit-02.00.00.ebuild |
84 |
copy to sci-physics/genfit/genfit-9999.ebuild |
85 |
index 596f3e9..375e355 100644 |
86 |
--- a/sci-physics/genfit/genfit-02.00.00.ebuild |
87 |
+++ b/sci-physics/genfit/genfit-9999.ebuild |
88 |
@@ -5,28 +5,30 @@ |
89 |
EAPI=5 |
90 |
|
91 |
inherit cmake-utils versionator |
92 |
- |
93 |
-#ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/tags/v$(replace_all_version_separators '-')" |
94 |
-#ESVN_PROJECT="${PN}.${PV}" |
95 |
- |
96 |
-TAG_VER=${PN}-code-1688-tags-v$(replace_all_version_separators '-') |
97 |
+if [[ ${PV} == *9999* ]]; then |
98 |
+ inherit subversion |
99 |
+ ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/trunk" |
100 |
+ ESVN_PROJECT="${PN}.${PV}" |
101 |
+else |
102 |
+ TAG_VER=${PN}-code-1688-tags-v$(replace_all_version_separators '-') |
103 |
+ SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/${TAG_VER}.zip" |
104 |
+fi |
105 |
|
106 |
DESCRIPTION="a generic toolkit for track reconstruction for experiments in particle and nuclear physics" |
107 |
HOMEPAGE="http://genfit.sourceforge.net/Main.html" |
108 |
-SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/${TAG_VER}.zip" |
109 |
|
110 |
LICENSE="LGPL-3" |
111 |
SLOT="0" |
112 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
113 |
+[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
114 |
IUSE="doc examples" |
115 |
|
116 |
RDEPEND=" |
117 |
- sci-physics/root |
118 |
- dev-libs/boost" |
119 |
+ sci-physics/root:= |
120 |
+ dev-libs/boost:=" |
121 |
DEPEND="${RDEPEND} |
122 |
doc? ( app-doc/doxygen[dot] )" |
123 |
|
124 |
-S=${WORKDIR}/${TAG_VER} |
125 |
+[[ ${PV} == *9999* ]] || S=${WORKDIR}/${TAG_VER} |
126 |
|
127 |
src_compile() { |
128 |
cmake-utils_src_compile |