Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/espresso: ChangeLog espresso-3.0.1.ebuild espresso-3.0.0.ebuild
Date: Fri, 27 May 2011 17:34:37
Message-Id: 20110527173423.2E2D720054@flycatcher.gentoo.org
1 ottxor 11/05/27 17:34:23
2
3 Modified: ChangeLog
4 Added: espresso-3.0.1.ebuild
5 Removed: espresso-3.0.0.ebuild
6 Log:
7 [sci-physics/espresso] version bump
8
9 (Portage version: 2.1.9.42/cvs/Linux i686)
10
11 Revision Changes Path
12 1.3 sci-physics/espresso/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 26 Apr 2011 21:08:25 -0000 1.2
25 +++ ChangeLog 27 May 2011 17:34:23 -0000 1.3
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.2 2011/04/26 21:08:25 ottxor Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.3 2011/05/27 17:34:23 ottxor Exp $
31 +
32 +*espresso-3.0.1 (27 May 2011)
33 +
34 + 27 May 2011; Christoph Junghans <ottxor@g.o> -espresso-3.0.0.ebuild,
35 + +espresso-3.0.1.ebuild:
36 + Version bump
37
38 26 Apr 2011; Christoph Junghans <ottxor@g.o> espresso-3.0.0.ebuild:
39 added ~amd64 (bug 266648#c10)
40
41
42
43 1.1 sci-physics/espresso/espresso-3.0.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/espresso-3.0.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/espresso-3.0.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: espresso-3.0.1.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.1.ebuild,v 1.1 2011/05/27 17:34:23 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
65 else
66 SRC_URI="mirror://nongnu/${PN}md/${P}.tar.gz"
67 fi
68
69 LICENSE="GPL-3"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 IUSE="X doc examples fftw mpi packages test -tk"
73 REQUIRED_USE="tk? ( X )"
74
75 RESTRICT="tk? ( test )"
76
77 RDEPEND="dev-lang/tcl
78 X? ( x11-libs/libX11 )
79 fftw? ( sci-libs/fftw:3.0 )
80 mpi? ( virtual/mpi )
81 tk? ( >=dev-lang/tk-8.4.18-r1 )"
82
83 DEPEND="${RDEPEND}
84 doc? ( app-doc/doxygen[-nodot]
85 virtual/latex-base )"
86
87 src_prepare() {
88 autotools-utils_src_prepare
89 eautoreconf
90 restore_config myconfig.h
91 }
92
93 src_configure() {
94 myeconfargs=(
95 $(use_with fftw) \
96 $(use_with mpi) \
97 $(use_with tk) \
98 $(use_with X x)
99 )
100 autotools-utils_src_configure
101 }
102
103 src_compile() {
104 autotools-utils_src_compile
105 if use doc; then
106 autotools-utils_src_compile doc || die "emake doc failed"
107 fi
108 }
109
110 src_install() {
111 autotools-utils_src_install
112
113 dodoc AUTHORS NEWS README ChangeLog
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 }