Gentoo Archives: gentoo-commits

From: Christoph Junghans <junghans@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/espresso/
Date: Mon, 17 Jul 2017 14:58:09
Message-Id: 1500303473.118d8d3cc94dd0553de0fc287b7a155982368f74.junghans@gentoo
1 commit: 118d8d3cc94dd0553de0fc287b7a155982368f74
2 Author: Christoph Junghans <junghans <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 17 14:52:35 2017 +0000
4 Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 17 14:57:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=118d8d3c
7
8 sci-physics/espresso: remove old (bug #595124, #625338)
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 sci-physics/espresso/Manifest | 2 -
13 sci-physics/espresso/espresso-3.3.0.ebuild | 135 -----------------------------
14 sci-physics/espresso/espresso-3.3.1.ebuild | 132 ----------------------------
15 3 files changed, 269 deletions(-)
16
17 diff --git a/sci-physics/espresso/Manifest b/sci-physics/espresso/Manifest
18 index 0b243949f69..65391c63a9d 100644
19 --- a/sci-physics/espresso/Manifest
20 +++ b/sci-physics/espresso/Manifest
21 @@ -1,3 +1 @@
22 -DIST espresso-3.3.0.tar.gz 18952622 SHA256 64ea2684e4fc0d31c11969e49ec74c25138b4f74686f67b93c7e1103833ff08f SHA512 90edbbdc8d7f7247b5179fce0fad796a9488f82a1754519918c6588c932050675397d36e0167aae770db9803b6c22f7d14d23c04cf307d10802afd3d5d5edc20 WHIRLPOOL 3e9547f2da6676edf3de415fa848301f2959c3dfeef1c3f461b4e1eb202224ead7635748b47d42edb9f661dc5d672f38168e15ab6c55a9c9d7f102ae11f8574e
23 -DIST espresso-3.3.1.tar.gz 18986557 SHA256 8576fc1fe59e04dec4fa0d354b7ec52365622860099624f36bddbb2b472c0c70 SHA512 3fc6e681e625f2cf98ac0aa3b1c16fbe17b9f9aa8f79f2e89926501cbb68621d171d6c6a22f42f9f60298ee31520ca712ace57d57738d2cf76f7ae2f7c0436b1 WHIRLPOOL 7075cbb8fba944cda8290a3f27650fcdd2b466495c6d4697ae3074c60ded86e08ea4ea0d9336c8ca859f7b3303cd496dba2972c9c8205a7b3cafbe36fcfc8a40
24 DIST espresso-4.0_pre20170228.tar.gz 23621395 SHA256 01e6770949db7bfad9dba3776a644dd0c0758e3781edf23363d7d2671ee14b01 SHA512 7d35648d447af3282a76d9d68cfe681734ec18794a38b09e0ae9233f63b62450c643643bcec999ea9c7d4ba070d4fc6f8dc64db8145f536ae017a67ff2d0e0e2 WHIRLPOOL 02ef0d937726a1abe3f8df4f19ed62008b69494304cf4d569d74936d834bcb20e4a0bd5d6edff009c74c8e16f6b14f9c794ff209c8e39e6d8eed785e5356d6d6
25
26 diff --git a/sci-physics/espresso/espresso-3.3.0.ebuild b/sci-physics/espresso/espresso-3.3.0.ebuild
27 deleted file mode 100644
28 index 85a3ab47bca..00000000000
29 --- a/sci-physics/espresso/espresso-3.3.0.ebuild
30 +++ /dev/null
31 @@ -1,135 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -
37 -PYTHON_COMPAT=( python2_7 )
38 -
39 -inherit autotools-utils python-single-r1 savedconfig
40 -
41 -DESCRIPTION="Extensible Simulation Package for Research on Soft matter"
42 -HOMEPAGE="http://espressomd.org"
43 -
44 -if [[ ${PV} = 9999 ]]; then
45 - EGIT_REPO_URI="git://git.savannah.nongnu.org/espressomd.git"
46 - EGIT_BRANCH="master"
47 - AUTOTOOLS_AUTORECONF=1
48 - inherit git-r3
49 - KEYWORDS=""
50 -else
51 - SRC_URI="mirror://nongnu/${PN}md/${P}.tar.gz"
52 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
53 -fi
54 -
55 -LICENSE="GPL-3"
56 -SLOT="0"
57 -IUSE="X cuda doc examples +fftw mpi packages python test -tk"
58 -
59 -REQUIRED_USE="
60 - python? ( ${PYTHON_REQUIRED_USE} )
61 - tk? ( X )"
62 -
63 -RESTRICT="tk? ( test )"
64 -
65 -RDEPEND="
66 - python? (
67 - ${PYTHON_DEPS}
68 - dev-python/cython[${PYTHON_USEDEP}]
69 - dev-python/numpy[${PYTHON_USEDEP}]
70 - )
71 - dev-lang/tcl:0=
72 - cuda? ( >=dev-util/nvidia-cuda-toolkit-4.2.9-r1 )
73 - fftw? ( sci-libs/fftw:3.0 )
74 - mpi? ( virtual/mpi )
75 - packages? ( dev-tcltk/tcllib )
76 - tk? ( >=dev-lang/tk-8.4.18-r1:0= )
77 - X? ( x11-libs/libX11 )"
78 -
79 -DEPEND="${RDEPEND}
80 - doc? (
81 - app-doc/doxygen[dot]
82 - dev-texlive/texlive-latexextra
83 - virtual/latex-base )"
84 -
85 -DOCS=( AUTHORS NEWS README ChangeLog )
86 -PATCHES=( "${FILESDIR}/${P}-cython-0.22.patch" )
87 -
88 -pkg_setup() {
89 - use python && python-single-r1_pkg_setup
90 -}
91 -
92 -src_prepare() {
93 - use cuda && cuda_src_prepare
94 - autotools-utils_src_prepare
95 -}
96 -
97 -src_configure() {
98 - myeconfargs=(
99 - $(use_with fftw) \
100 - $(use_with cuda) \
101 - $(use_with python python-interface) \
102 - $(use_with mpi) \
103 - $(use_with tk) \
104 - $(use_with X x)
105 - )
106 - CXX=$(usex mpi "mpic++" "$(tc-getCXX)") autotools-utils_src_configure
107 - restore_config myconfig.hpp
108 -}
109 -
110 -src_compile() {
111 - autotools-utils_src_compile
112 - use doc && autotools-utils_src_compile doxygen
113 - [[ ${PV} = 9999 ]] && use doc && autotools-utils_src_compile ug dg tutorials
114 -}
115 -
116 -src_install() {
117 - local i
118 -
119 - autotools-utils_src_install
120 -
121 - insinto /usr/share/${PN}
122 - doins ${AUTOTOOLS_BUILD_DIR}/myconfig-sample.hpp
123 -
124 - save_config ${AUTOTOOLS_BUILD_DIR}/src/core/myconfig-final.hpp
125 -
126 - if use doc; then
127 - if [[ ${PV} = 9999 ]] ; then
128 - newdoc "${AUTOTOOLS_BUILD_DIR}"/doc/dg/dg.pdf developer_guide.pdf
129 - newdoc "${AUTOTOOLS_BUILD_DIR}"/doc/ug/ug.pdf user_guide.pdf
130 - for i in "${AUTOTOOLS_BUILD_DIR}"/doc/tutorials/*/[0-9]*.pdf; do
131 - newdoc "${i}" "tutorial_${i##*/}"
132 - done
133 - else
134 - newdoc "${S}"/doc/ug/ug.pdf user_guide.pdf
135 - for i in "${S}"/doc/tutorials/*/[0-9]*.pdf; do
136 - newdoc "${i}" "tutorial_${i##*/}"
137 - done
138 - fi
139 - dohtml -r "${AUTOTOOLS_BUILD_DIR}"/doc/doxygen/html/*
140 - fi
141 -
142 - if use examples; then
143 - insinto /usr/share/${PN}/examples
144 - doins -r samples/*
145 - fi
146 -
147 - if use packages; then
148 - insinto /usr/share/${PN}/packages
149 - doins -r packages/*
150 - fi
151 -}
152 -
153 -pkg_postinst() {
154 - echo
155 - elog "Please read and cite:"
156 - elog "ESPResSo, Comput. Phys. Commun. 174(9) ,704, 2006."
157 - elog "http://dx.doi.org/10.1016/j.cpc.2005.10.005"
158 - echo
159 - elog "If you need more features, change"
160 - elog "/etc/portage/savedconfig/${CATEGORY}/${PF}"
161 - elog "and reemerge with USE=savedconfig"
162 - echo
163 - elog "For a full feature list see:"
164 - elog "/usr/share/${PN}/myconfig-sample.h"
165 - echo
166 -}
167
168 diff --git a/sci-physics/espresso/espresso-3.3.1.ebuild b/sci-physics/espresso/espresso-3.3.1.ebuild
169 deleted file mode 100644
170 index f33992f7523..00000000000
171 --- a/sci-physics/espresso/espresso-3.3.1.ebuild
172 +++ /dev/null
173 @@ -1,132 +0,0 @@
174 -# Copyright 1999-2016 Gentoo Foundation
175 -# Distributed under the terms of the GNU General Public License v2
176 -
177 -EAPI=6
178 -
179 -PYTHON_COMPAT=( python2_7 )
180 -
181 -inherit python-single-r1 savedconfig
182 -
183 -DESCRIPTION="Extensible Simulation Package for Research on Soft matter"
184 -HOMEPAGE="http://espressomd.org"
185 -
186 -if [[ ${PV} = 9999 ]]; then
187 - EGIT_REPO_URI="git://github.com/espressomd/espresso.git https://github.com/espressomd/espresso.git"
188 - EGIT_BRANCH="master"
189 - inherit autotools git-r3
190 - KEYWORDS=""
191 -else
192 - SRC_URI="mirror://nongnu/${PN}md/${P}.tar.gz"
193 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
194 -fi
195 -
196 -LICENSE="GPL-3"
197 -SLOT="0"
198 -IUSE="X cuda doc examples +fftw mpi packages python test -tk"
199 -
200 -REQUIRED_USE="
201 - python? ( ${PYTHON_REQUIRED_USE} )
202 - tk? ( X )"
203 -
204 -RESTRICT="tk? ( test )"
205 -
206 -RDEPEND="
207 - python? (
208 - ${PYTHON_DEPS}
209 - dev-python/cython[${PYTHON_USEDEP}]
210 - dev-python/numpy[${PYTHON_USEDEP}]
211 - )
212 - dev-lang/tcl:0=
213 - cuda? ( >=dev-util/nvidia-cuda-toolkit-4.2.9-r1 )
214 - fftw? ( sci-libs/fftw:3.0 )
215 - mpi? ( virtual/mpi )
216 - packages? ( dev-tcltk/tcllib )
217 - tk? ( >=dev-lang/tk-8.4.18-r1:0= )
218 - X? ( x11-libs/libX11 )"
219 -
220 -DEPEND="${RDEPEND}
221 - doc? (
222 - app-doc/doxygen[dot]
223 - dev-texlive/texlive-latexextra
224 - virtual/latex-base )"
225 -
226 -DOCS=( AUTHORS NEWS README ChangeLog )
227 -
228 -pkg_setup() {
229 - use python && python-single-r1_pkg_setup
230 -}
231 -
232 -src_prepare() {
233 - use cuda && cuda_src_prepare
234 - default
235 -}
236 -
237 -src_configure() {
238 - [[ ${PV} = 9999 ]] && eautoreconf
239 - CXX=$(usex mpi "mpic++" "$(tc-getCXX)") econf \
240 - $(use_with fftw) \
241 - $(use_with cuda) \
242 - $(use_with python python-interface) \
243 - $(use_with mpi) \
244 - $(use_with tk) \
245 - $(use_with X x)
246 - restore_config myconfig.hpp
247 -}
248 -
249 -src_compile() {
250 - default
251 - use doc && emake doxygen
252 - [[ ${PV} = 9999 ]] && use doc && emake ug dg tutorials
253 -}
254 -
255 -src_install() {
256 - local i
257 -
258 - default
259 -
260 - insinto /usr/share/${PN}
261 - doins myconfig-sample.hpp
262 -
263 - save_config src/core/myconfig-final.hpp
264 -
265 - if use doc; then
266 - if [[ ${PV} = 9999 ]] ; then
267 - newdoc doc/dg/dg.pdf developer_guide.pdf
268 - newdoc doc/ug/ug.pdf user_guide.pdf
269 - for i in doc/tutorials/*/[0-9]*.pdf; do
270 - newdoc "${i}" "tutorial_${i##*/}"
271 - done
272 - else
273 - newdoc "${S}"/doc/ug/ug.pdf user_guide.pdf
274 - for i in "${S}"/doc/tutorials/*/[0-9]*.pdf; do
275 - newdoc "${i}" "tutorial_${i##*/}"
276 - done
277 - fi
278 - dodoc -r doc/doxygen/html
279 - fi
280 -
281 - if use examples; then
282 - insinto /usr/share/${PN}/examples
283 - doins -r samples/*
284 - fi
285 -
286 - if use packages; then
287 - insinto /usr/share/${PN}/packages
288 - doins -r packages/*
289 - fi
290 -}
291 -
292 -pkg_postinst() {
293 - echo
294 - elog "Please read and cite:"
295 - elog "ESPResSo, Comput. Phys. Commun. 174(9) ,704, 2006."
296 - elog "http://dx.doi.org/10.1016/j.cpc.2005.10.005"
297 - echo
298 - elog "If you need more features, change"
299 - elog "/etc/portage/savedconfig/${CATEGORY}/${PF}"
300 - elog "and reemerge with USE=savedconfig"
301 - echo
302 - elog "For a full feature list see:"
303 - elog "/usr/share/${PN}/myconfig-sample.h"
304 - echo
305 -}