Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/xds-bin/
Date: Fri, 07 Oct 2016 18:44:44
Message-Id: 1475865851.b0d8ef5a5bf8cb0f8aa468b947050a6708977711.soap@gentoo
1 commit: b0d8ef5a5bf8cb0f8aa468b947050a6708977711
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 7 18:44:11 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 7 18:44:11 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d8ef5a
7
8 sci-chemistry/xds-bin: Version bump to 20170430
9
10 Gentoo-bug: 596294
11 * EAPI=6
12
13 Package-Manager: portage-2.3.1
14
15 sci-chemistry/xds-bin/Manifest | 4 +--
16 ...bin-20151019.ebuild => xds-bin-20170430.ebuild} | 32 ++++++++++------------
17 2 files changed, 17 insertions(+), 19 deletions(-)
18
19 diff --git a/sci-chemistry/xds-bin/Manifest b/sci-chemistry/xds-bin/Manifest
20 index a31e09a..cbac65e 100644
21 --- a/sci-chemistry/xds-bin/Manifest
22 +++ b/sci-chemistry/xds-bin/Manifest
23 @@ -1,2 +1,2 @@
24 -DIST XDS-INTEL64_Linux_x86_64-20151019.tar.gz 9568869 SHA256 dd033f9199faeea9df3639f56442ad0c5c1113840aed1f03babb0f60a3481c5d SHA512 d8faece7bde17a17deb381301824d08054cef71e2f3a20507a09baf78c0081eb6c472e62421eb5e55c9df79f257ebd0456c6991d8dfbfae5a7922b7a8608ff15 WHIRLPOOL 6ccfe67c9b3e21ba8d2ae2304d7297b25e0ef9947838dd834ddb540f8cb664857a198d60a959ce560915775168ae0c9d001a83198de63784cc2b9790b0856406
25 -DIST XDS_html_doc-20151019.tar.gz 113923 SHA256 b7609ed2f0353eb296c8778d75c6d1bb0afa8264a9890fed406c8448374857de SHA512 a78e9abf4698c1184e11034e8e54123c44f85a82cc6c94071ad44d7be339939883dd11cf1695670899d691fa55c285b35817e904456f93d3c4fb73c9779c9164 WHIRLPOOL 57421c72e4e2959a6717895a0c349bd30fc9f74f0743a4a82b1c86491528e6186c3fea4062d381741a7ff265afbe39b2d928603ef7b02d56e1fba3c202076186
26 +DIST XDS-INTEL64_Linux_x86_64-20170430.tar.gz 9404391 SHA256 8ca48f2d62d49609dc36c298992fc0b640b4f336d1305fa2769ea16e1e271a9a SHA512 d307fa509a8f465c5006fe9d9713a763a7534bfb6cd702861081e48fb24030dc7b2fc99c56adbf7a2599f312e49d7ca0d4c0b41f6d75ac47c5eca42819a58d0b WHIRLPOOL 9660a3d4c340fa4305f6787c51c11b2166e56dba19699a169c0bd30bc0cd011e396cce6323872ca1e6ec1f630bdb88d96951e2097bd39edd780a805253ff39a3
27 +DIST XDS_html_doc-20170430.tar.gz 115424 SHA256 f52740fdafe04d18e7e0dd76c97d58fa47b565c1d82bcbfda9bfb7fd9bc32456 SHA512 efc45ca2a3114667298b27e2b75312ae1579b6ed214acd2c9e069462eda317d8f2b46f771e56d629c078195fe7b0e8fda18a2b27e7dc6ba2d73784ae1e7eb7fc WHIRLPOOL d6a87b1c5c5503e43eabb8d168016440e6923b3c536c1422e9123d2192217444e0e56e6812f3fd2784513dfa50dde13f93f827eade28e3848d8f1014d1aba2cb
28
29 diff --git a/sci-chemistry/xds-bin/xds-bin-20151019.ebuild b/sci-chemistry/xds-bin/xds-bin-20170430.ebuild
30 similarity index 51%
31 rename from sci-chemistry/xds-bin/xds-bin-20151019.ebuild
32 rename to sci-chemistry/xds-bin/xds-bin-20170430.ebuild
33 index 4b5e61d..79a011f 100644
34 --- a/sci-chemistry/xds-bin/xds-bin-20151019.ebuild
35 +++ b/sci-chemistry/xds-bin/xds-bin-20170430.ebuild
36 @@ -1,12 +1,10 @@
37 -# Copyright 1999-2015 Gentoo Foundation
38 +# Copyright 1999-2016 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40 # $Id$
41
42 -EAPI=5
43 +EAPI=6
44
45 -inherit eutils
46 -
47 -DESCRIPTION="X-ray Detector Software for processing single-crystal monochromatic diffraction data"
48 +DESCRIPTION="Software for processing single-crystal X-ray monochromatic diffraction data"
49 HOMEPAGE="http://xds.mpimf-heidelberg.mpg.de/"
50 SRC_URI="
51 ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-INTEL64_Linux_x86_64.tar.gz -> XDS-INTEL64_Linux_x86_64-${PV}.tar.gz
52 @@ -23,30 +21,30 @@ DEPEND=""
53 QA_PREBUILT="opt/xds-bin/*"
54
55 src_unpack() {
56 - unpack ${A}
57 - mv XDS-* "${S}"
58 + default
59 + mv XDS-* "${S}" || die
60 }
61
62 src_install() {
63 - local suffix bin
64 + local HTML_DOCS=( "${WORKDIR}"/XDS_html_doc/. )
65 + einstalldocs
66 +
67 + local i suffix=$(usex smp '_par' '')
68 exeinto /opt/${PN}
69 doexe *
70
71 - use smp && suffix="_par"
72 -
73 - for bin in xds mintegrate mcolspot xscale; do
74 - dosym ../${PN}/${bin}${suffix} /opt/bin/${bin}
75 + for i in xds mintegrate mcolspot xscale; do
76 + dosym ../${PN}/${i}${suffix} /opt/bin/${i}
77 done
78
79 - for bin in 2cbf cellparm forkcolspot forkintegrate merge2cbf pixlab xdsconv; do
80 - dosym ../${PN}/${bin} /opt/bin/${bin}
81 + for i in 2cbf cellparm forkcolspot forkintegrate merge2cbf pix2lab xdsconv; do
82 + dosym ../${PN}/${i} /opt/bin/${i}
83 done
84
85 - dohtml -r "${WORKDIR}"/XDS_html_doc/*
86 insinto /usr/share/${PN}/INPUT_templates
87 - doins "${WORKDIR}"/XDS_html_doc/html_doc/INPUT_templates/*
88 + doins -r "${WORKDIR}"/XDS_html_doc/html_doc/INPUT_templates/.
89 }
90
91 pkg_postinst() {
92 - elog "This package will expire on March 31, 2016"
93 + elog "This package will expire on April 30, 2017"
94 }