1 |
ottxor 11/11/27 21:09:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: espresso-3.0.2.ebuild |
5 |
Removed: espresso-3.0.1.ebuild |
6 |
Log: |
7 |
Version bump + qa fixes (bug #392123) |
8 |
|
9 |
(Portage version: 2.2.0_alpha78/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.4 sci-physics/espresso/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/ChangeLog?rev=1.4&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/ChangeLog?rev=1.4&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/ChangeLog?r1=1.3&r2=1.4 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v |
21 |
retrieving revision 1.3 |
22 |
retrieving revision 1.4 |
23 |
diff -u -r1.3 -r1.4 |
24 |
--- ChangeLog 27 May 2011 17:34:23 -0000 1.3 |
25 |
+++ ChangeLog 27 Nov 2011 21:09:29 -0000 1.4 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sci-physics/espresso |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.3 2011/05/27 17:34:23 ottxor Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.4 2011/11/27 21:09:29 ottxor Exp $ |
31 |
+ |
32 |
+*espresso-3.0.2 (27 Nov 2011) |
33 |
+ |
34 |
+ 27 Nov 2011; Christoph Junghans <ottxor@g.o> -espresso-3.0.1.ebuild, |
35 |
+ +espresso-3.0.2.ebuild: |
36 |
+ Version bump + qa fixes (bug #392123) |
37 |
|
38 |
*espresso-3.0.1 (27 May 2011) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-physics/espresso/espresso-3.0.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/espresso-3.0.2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/espresso-3.0.2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: espresso-3.0.2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.0.2.ebuild,v 1.1 2011/11/27 21:09:29 ottxor Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
inherit autotools-utils savedconfig |
57 |
|
58 |
DESCRIPTION="Extensible Simulation Package for Research on Soft matter" |
59 |
HOMEPAGE="http://www.espressomd.org" |
60 |
|
61 |
if [ "${PV%9999}" != "${PV}" ]; then |
62 |
EGIT_REPO_URI="git://git.savannah.nongnu.org/espressomd.git" |
63 |
EGIT_BRANCH="master" |
64 |
inherit git-2 |
65 |
else |
66 |
SRC_URI="mirror://nongnu/${PN}md/${P}.tar.gz" |
67 |
fi |
68 |
|
69 |
LICENSE="GPL-3" |
70 |
SLOT="0" |
71 |
KEYWORDS="~x86" |
72 |
IUSE="X doc examples fftw mpi packages test -tk" |
73 |
REQUIRED_USE="tk? ( X )" |
74 |
|
75 |
RESTRICT="tk? ( test )" |
76 |
|
77 |
RDEPEND=" |
78 |
dev-lang/tcl |
79 |
fftw? ( sci-libs/fftw:3.0 ) |
80 |
mpi? ( virtual/mpi ) |
81 |
tk? ( >=dev-lang/tk-8.4.18-r1 ) |
82 |
X? ( x11-libs/libX11 )" |
83 |
|
84 |
DEPEND="${RDEPEND} |
85 |
doc? ( |
86 |
app-doc/doxygen[-nodot] |
87 |
virtual/latex-base )" |
88 |
|
89 |
DOCS=( AUTHORS NEWS README ChangeLog ) |
90 |
|
91 |
src_prepare() { |
92 |
autotools-utils_src_prepare |
93 |
eautoreconf |
94 |
restore_config myconfig.h |
95 |
} |
96 |
|
97 |
src_configure() { |
98 |
myeconfargs=( |
99 |
$(use_with fftw) \ |
100 |
$(use_with mpi) \ |
101 |
$(use_with tk) \ |
102 |
$(use_with X x) |
103 |
) |
104 |
autotools-utils_src_configure |
105 |
} |
106 |
|
107 |
src_compile() { |
108 |
autotools-utils_src_compile |
109 |
use doc && autotools-utils_src_compile doc |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
autotools-utils_src_install |
114 |
|
115 |
insinto /usr/share/${PN} |
116 |
doins ${AUTOTOOLS_BUILD_DIR}/myconfig-sample.h |
117 |
|
118 |
save_config ${AUTOTOOLS_BUILD_DIR}/src/myconfig-final.h |
119 |
|
120 |
if use doc; then |
121 |
local where="." |
122 |
[ "${PV%9999}" != "${PV}" ] && where="${AUTOTOOLS_BUILD_DIR}" |
123 |
newdoc ${where}/doc/ug/ug.pdf user_guide.pdf |
124 |
dohtml -r ${AUTOTOOLS_BUILD_DIR}/doc/dg/html/* |
125 |
newdoc ${where}/doc/tutorials/tut2/tut2.pdf tutorial.pdf |
126 |
fi |
127 |
|
128 |
if use examples; then |
129 |
insinto /usr/share/${PN}/examples |
130 |
doins -r samples/* |
131 |
fi |
132 |
|
133 |
if use packages; then |
134 |
insinto /usr/share/${PN}/packages |
135 |
doins -r packages/* |
136 |
fi |
137 |
} |
138 |
|
139 |
pkg_postinst() { |
140 |
elog |
141 |
elog "Please read and cite:" |
142 |
elog "ESPResSo, Comput. Phys. Commun. 174(9) ,704, 2006." |
143 |
elog "http://dx.doi.org/10.1016/j.cpc.2005.10.005" |
144 |
elog |
145 |
elog "If you need more features, change" |
146 |
elog "/etc/portage/savedconfig/${CATEGORY}/${PF}" |
147 |
elog "and reemerge with USE=savedconfig" |
148 |
elog |
149 |
elog "For a full feature list see:" |
150 |
elog "/usr/share/${PN}/myconfig-sample.h" |
151 |
elog |
152 |
} |