Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/gromacs/
Date: Fri, 06 Dec 2013 09:34:50
Message-Id: 1386322460.48ddd384fe8e96a4e904b8ccb1da1fc86087b1e3.alexxy@gentoo
1 commit: 48ddd384fe8e96a4e904b8ccb1da1fc86087b1e3
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 6 09:34:20 2013 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 6 09:34:20 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=48ddd384
7
8 Add 5.0-beta1 release
9
10 Package-Manager: portage-2.2.7
11
12 ---
13 sci-chemistry/gromacs/ChangeLog | 6 ++++++
14 .../{gromacs-9999.ebuild => gromacs-5.0_beta1.ebuild} | 13 +++++--------
15 sci-chemistry/gromacs/gromacs-9999.ebuild | 13 +++++--------
16 3 files changed, 16 insertions(+), 16 deletions(-)
17
18 diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog
19 index 781b354..4c5ac13 100644
20 --- a/sci-chemistry/gromacs/ChangeLog
21 +++ b/sci-chemistry/gromacs/ChangeLog
22 @@ -2,6 +2,12 @@
23 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: $
25
26 +*gromacs-5.0_beta1 (06 Dec 2013)
27 +
28 + 06 Dec 2013; Alexey Shvetsov <alexxy@g.o> +gromacs-5.0_beta1.ebuild,
29 + gromacs-9999.ebuild:
30 + Add 5.0-beta1 release
31 +
32 05 Dec 2013; Alexey Shvetsov <alexxy@g.o> gromacs-9999.ebuild:
33 Make gromacs 9999 build manual again
34
35
36 diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-5.0_beta1.ebuild
37 similarity index 95%
38 copy from sci-chemistry/gromacs/gromacs-9999.ebuild
39 copy to sci-chemistry/gromacs/gromacs-5.0_beta1.ebuild
40 index 20a16c6..81ed0cc 100644
41 --- a/sci-chemistry/gromacs/gromacs-9999.ebuild
42 +++ b/sci-chemistry/gromacs/gromacs-5.0_beta1.ebuild
43 @@ -5,7 +5,6 @@
44 EAPI=5
45
46 TEST_PV="5.0-beta1"
47 -MANUAL_PV="5.0-beta1"
48
49 CMAKE_MAKEFILE_GENERATOR="ninja"
50
51 @@ -19,8 +18,7 @@ if [[ $PV = *9999* ]]; then
52 EGIT_BRANCH="master"
53 inherit git-2
54 else
55 - SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${P}.tar.gz
56 - doc? ( ftp://ftp.gromacs.org/pub/manual/manual-${MANUAL_PV}.pdf -> ${PN}-manual-${MANUAL_PV}.pdf )
57 + SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
58 test? ( http://${PN}.googlecode.com/files/regressiontests-${TEST_PV}.tar.gz )"
59 fi
60
61 @@ -67,6 +65,10 @@ REQUIRED_USE="
62
63 DOCS=( AUTHORS README )
64
65 +if [[ ${PV} != *9999 ]]; then
66 + S="${WORKDIR}/${PN}-${PV/_/-}"
67 +fi
68 +
69 pkg_pretend() {
70 [[ $(gcc-version) == "4.1" ]] && die "gcc 4.1 is not supported by gromacs"
71 use openmp && ! tc-has-openmp && \
72 @@ -251,11 +253,6 @@ pkg_postinst() {
73 einfo "Please read and cite:"
74 einfo "Gromacs 4, J. Chem. Theory Comput. 4, 435 (2008). "
75 einfo "http://dx.doi.org/10.1021/ct700301q"
76 - if use offensive; then
77 - einfo
78 - einfo $(g_luck)
79 - einfo "For more Gromacs cool quotes (gcq) add g_luck to your .bashrc"
80 - fi
81 einfo
82 readme.gentoo_print_elog
83 }
84
85 diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild
86 index 20a16c6..81ed0cc 100644
87 --- a/sci-chemistry/gromacs/gromacs-9999.ebuild
88 +++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
89 @@ -5,7 +5,6 @@
90 EAPI=5
91
92 TEST_PV="5.0-beta1"
93 -MANUAL_PV="5.0-beta1"
94
95 CMAKE_MAKEFILE_GENERATOR="ninja"
96
97 @@ -19,8 +18,7 @@ if [[ $PV = *9999* ]]; then
98 EGIT_BRANCH="master"
99 inherit git-2
100 else
101 - SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${P}.tar.gz
102 - doc? ( ftp://ftp.gromacs.org/pub/manual/manual-${MANUAL_PV}.pdf -> ${PN}-manual-${MANUAL_PV}.pdf )
103 + SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
104 test? ( http://${PN}.googlecode.com/files/regressiontests-${TEST_PV}.tar.gz )"
105 fi
106
107 @@ -67,6 +65,10 @@ REQUIRED_USE="
108
109 DOCS=( AUTHORS README )
110
111 +if [[ ${PV} != *9999 ]]; then
112 + S="${WORKDIR}/${PN}-${PV/_/-}"
113 +fi
114 +
115 pkg_pretend() {
116 [[ $(gcc-version) == "4.1" ]] && die "gcc 4.1 is not supported by gromacs"
117 use openmp && ! tc-has-openmp && \
118 @@ -251,11 +253,6 @@ pkg_postinst() {
119 einfo "Please read and cite:"
120 einfo "Gromacs 4, J. Chem. Theory Comput. 4, 435 (2008). "
121 einfo "http://dx.doi.org/10.1021/ct700301q"
122 - if use offensive; then
123 - einfo
124 - einfo $(g_luck)
125 - einfo "For more Gromacs cool quotes (gcq) add g_luck to your .bashrc"
126 - fi
127 einfo
128 readme.gentoo_print_elog
129 }