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.4.ebuild ChangeLog votca-csg-1.2.3-r1.ebuild votca-csg-1.2.3.ebuild
Date: Sun, 31 Aug 2014 23:41:41
Message-Id: 20140831234137.1F8CB4612@oystercatcher.gentoo.org
1 ottxor 14/08/31 23:41:37
2
3 Modified: ChangeLog
4 Added: votca-csg-1.2.4.ebuild
5 Removed: votca-csg-1.2.3-r1.ebuild votca-csg-1.2.3.ebuild
6 Log:
7 version bump
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2000586)
10
11 Revision Changes Path
12 1.25 sci-chemistry/votca-csg/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?rev=1.25&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?rev=1.25&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?r1=1.24&r2=1.25
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v
21 retrieving revision 1.24
22 retrieving revision 1.25
23 diff -u -r1.24 -r1.25
24 --- ChangeLog 14 Apr 2013 17:52:29 -0000 1.24
25 +++ ChangeLog 31 Aug 2014 23:41:37 -0000 1.25
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-chemistry/votca-csg
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v 1.24 2013/04/14 17:52:29 ottxor Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v 1.25 2014/08/31 23:41:37 ottxor Exp $
32 +
33 +*votca-csg-1.2.4 (31 Aug 2014)
34 +
35 + 31 Aug 2014; Christoph Junghans <ottxor@g.o> +votca-csg-1.2.4.ebuild,
36 + -votca-csg-1.2.3-r1.ebuild, -votca-csg-1.2.3.ebuild:
37 + version bump
38
39 *votca-csg-1.2.3-r1 (14 Apr 2013)
40
41
42
43
44 1.1 sci-chemistry/votca-csg/votca-csg-1.2.4.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.2.4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.2.4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: votca-csg-1.2.4.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.2.4.ebuild,v 1.1 2014/08/31 23:41:37 ottxor Exp $
54
55 EAPI=5
56
57 inherit bash-completion-r1 cmake-utils multilib
58
59 IUSE="doc examples extras +gromacs"
60 PDEPEND="extras? ( =sci-chemistry/votca-csgapps-${PV} )"
61 if [ "${PV}" != "9999" ]; then
62 SRC_URI="http://downloads.votca.googlecode.com/hg/${P}.tar.gz
63 doc? ( http://downloads.votca.googlecode.com/hg/${PN}-manual-${PV}.pdf )
64 examples? ( http://downloads.votca.googlecode.com/hg/${PN}-tutorials-${PV}.tar.gz )"
65 else
66 SRC_URI=""
67 inherit mercurial
68 EHG_REPO_URI="https://csg.votca.googlecode.com/hg"
69 PDEPEND="${PDEPEND} doc? ( =app-doc/${PN}-manual-${PV} )
70 examples? ( =sci-chemistry/${PN}-tutorials-${PV} )"
71 fi
72
73 DESCRIPTION="Votca coarse-graining engine"
74 HOMEPAGE="http://www.votca.org"
75
76 LICENSE="Apache-2.0"
77 SLOT="0"
78 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
79
80 #perl is only used for scripts
81 RDEPEND="~sci-libs/votca-tools-${PV}
82 gromacs? ( sci-chemistry/gromacs:= )
83 dev-lang/perl
84 app-shells/bash"
85
86 DEPEND="${RDEPEND}
87 doc? ( || ( <app-doc/doxygen-1.7.6.1[-nodot] >=app-doc/doxygen-1.7.6.1[dot] ) )
88 >=app-text/txt2tags-2.5
89 virtual/pkgconfig"
90
91 DOCS=(README NOTICE ChangeLog)
92
93 src_configure() {
94 local GMX_DEV="OFF" GMX_DOUBLE="OFF" extra
95
96 if use gromacs; then
97 has_version ">=sci-chemistry/gromacs-5" && GMX_DEV="ON"
98 has_version sci-chemistry/gromacs[double-precision] && GMX_DOUBLE="ON"
99 fi
100
101 #to create man pages, build tree binaries are executed (bug #398437)
102 [[ ${CHOST} = *-darwin* ]] && \
103 extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF"
104
105 mycmakeargs=(
106 $(cmake-utils_use_with gromacs GMX)
107 -DWITH_GMX_DEVEL="${GMX_DEV}"
108 -DGMX_DOUBLE="${GMX_DOUBLE}"
109 ${extra}
110 -DWITH_RC_FILES=OFF
111 -DEXTERNAL_BOOST=ON
112 -DLIB=$(get_libdir)
113 )
114 cmake-utils_src_configure
115 }
116
117 src_install() {
118 newbashcomp scripts/csg-completion.bash ${PN}
119 cmake-utils_src_install
120 if use doc; then
121 if [ -n "${PV##*9999}" ]; then
122 dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf"
123 fi
124 cd "${CMAKE_BUILD_DIR}" || die
125 cd share/doc || die
126 doxygen || die
127 dohtml -r html/*
128 fi
129 if use examples && [ -n "${PV##*9999}" ]; then
130 insinto "/usr/share/doc/${PF}/tutorials"
131 docompress -x "/usr/share/doc/${PF}/tutorials"
132 doins -r "${WORKDIR}/${PN}-tutorials-${PV}"/*
133 fi
134 }
135
136 pkg_postinst() {
137 einfo
138 einfo "Please read and cite:"
139 einfo "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). "
140 einfo "http://dx.doi.org/10.1021/ct900369w"
141 einfo
142 }