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-chemistry/votca-csg: votca-csg-1.2.2.ebuild ChangeLog
Date: Wed, 11 Jan 2012 04:11:22
Message-Id: 20120111041109.D39AF2004B@flycatcher.gentoo.org
1 ottxor 12/01/11 04:11:09
2
3 Modified: ChangeLog
4 Added: votca-csg-1.2.2.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux i686)
9
10 Revision Changes Path
11 1.12 sci-chemistry/votca-csg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 14 Dec 2011 17:18:09 -0000 1.11
24 +++ ChangeLog 11 Jan 2012 04:11:09 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-chemistry/votca-csg
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v 1.11 2011/12/14 17:18:09 ago Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v 1.12 2012/01/11 04:11:09 ottxor Exp $
31 +
32 +*votca-csg-1.2.2 (11 Jan 2012)
33 +
34 + 11 Jan 2012; Christoph Junghans <ottxor@g.o> +votca-csg-1.2.2.ebuild:
35 + version bump
36
37 14 Dec 2011; Agostino Sarubbo <ago@g.o> votca-csg-1.2.1.ebuild:
38 Stable for AMD64, wrt bug #389681
39
40
41
42 1.1 sci-chemistry/votca-csg/votca-csg-1.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: votca-csg-1.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.2.2.ebuild,v 1.1 2012/01/11 04:11:09 ottxor Exp $
52
53 EAPI=4
54
55 inherit bash-completion-r1 cmake-utils multilib
56
57 IUSE="doc examples extras +gromacs +system-boost"
58 PDEPEND="extras? ( =sci-chemistry/votca-csgapps-${PV} )"
59 if [ "${PV}" != "9999" ]; then
60 SRC_URI="http://votca.googlecode.com/files/${PF}.tar.gz
61 doc? ( http://votca.googlecode.com/files/${PN}-manual-${PV}.pdf )
62 examples? ( http://votca.googlecode.com/files/${PN}-tutorials-${PV}.tar.gz )"
63 RESTRICT="primaryuri"
64 else
65 SRC_URI=""
66 inherit mercurial
67 EHG_REPO_URI="https://csg.votca.googlecode.com/hg"
68 EHG_REVISION="default"
69 S="${WORKDIR}/${EHG_REPO_URI##*/}"
70 PDEPEND="${PDEPEND} doc? ( =app-doc/${PN}-manual-${PV} )
71 examples? ( =sci-chemistry/${PN}-tutorials-${PV} )"
72 fi
73
74 DESCRIPTION="Votca coarse-graining engine"
75 HOMEPAGE="http://www.votca.org"
76
77 LICENSE="Apache-2.0"
78 SLOT="0"
79 KEYWORDS="~amd64 ~x86"
80
81 RDEPEND="=sci-libs/votca-tools-${PV}[system-boost=]
82 gromacs? ( sci-chemistry/gromacs )
83 dev-lang/perl
84 app-shells/bash"
85
86 DEPEND="${RDEPEND}
87 doc? ( app-doc/doxygen[-nodot] )
88 >=app-text/txt2tags-2.5
89 dev-util/pkgconfig"
90
91 src_configure() {
92 local extra="-DWITH_GMX_DEVEL=OFF"
93
94 use gromacs && has_version =sci-chemistry/gromacs-9999 && \
95 extra="-DWITH_GMX_DEVEL=ON"
96
97 mycmakeargs=(
98 $(cmake-utils_use system-boost EXTERNAL_BOOST)
99 $(cmake-utils_use_with gromacs GMX)
100 ${extra}
101 -DWITH_RC_FILES=OFF
102 -DLIB=$(get_libdir)
103 )
104 cmake-utils_src_configure
105 }
106
107 src_install() {
108 DOCS=(README NOTICE ${CMAKE_BUILD_DIR}/CHANGELOG)
109 newbashcomp scripts/csg-completion.bash ${PN}
110 cmake-utils_src_install
111 if use doc; then
112 if [ -n "${PV##*9999}" ]; then
113 dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf"
114 fi
115 cd "${CMAKE_BUILD_DIR}" || die
116 cd share/doc || die
117 doxygen || die
118 dohtml -r html/*
119 fi
120 if use examples && [ -n "${PV##*9999}" ]; then
121 insinto "/usr/share/doc/${PF}/tutorials"
122 docompress -x "/usr/share/doc/${PF}/tutorials"
123 doins -r "${WORKDIR}/${PN}-tutorials-${PV}"/*
124 fi
125 }
126
127 pkg_postinst() {
128 einfo
129 einfo "Please read and cite:"
130 einfo "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). "
131 einfo "http://dx.doi.org/10.1021/ct900369w"
132 einfo
133 }