Gentoo Archives: gentoo-commits

From: Jauhien Piatlicki <jauhien@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/casapy-bin/
Date: Mon, 02 Jun 2014 12:11:06
Message-Id: 1399952368.dddbda5f19db2613b537fa15458e55f97edea38e.jauhien@gentoo
1 commit: dddbda5f19db2613b537fa15458e55f97edea38e
2 Author: Joseph Jon Booker <joe <AT> neoturbine <DOT> net>
3 AuthorDate: Tue May 13 03:39:28 2014 +0000
4 Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
5 CommitDate: Tue May 13 03:39:28 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=dddbda5f
7
8 sci-astronomy/casapy-bin: casapy-bin version bump to 4.2.1
9
10 Package-Manager: portage-2.2.10
11
12 ---
13 sci-astronomy/casapy-bin/ChangeLog | 6 ++
14 .../casapy-bin-4.2.1.29047.001_p1.ebuild | 69 ++++++++++++++++++++++
15 2 files changed, 75 insertions(+)
16
17 diff --git a/sci-astronomy/casapy-bin/ChangeLog b/sci-astronomy/casapy-bin/ChangeLog
18 index f72458d..83c44b1 100644
19 --- a/sci-astronomy/casapy-bin/ChangeLog
20 +++ b/sci-astronomy/casapy-bin/ChangeLog
21 @@ -2,6 +2,12 @@
22 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 +*casapy-bin-4.2.1.29047.001_p1 (13 May 2014)
26 +
27 + 13 May 2014; Joseph Jon Booker <joe@××××××××××.net>
28 + +casapy-bin-4.2.1.29047.001_p1.ebuild:
29 + sci-astronomy/casapy-bin: casapy-bin version bump to 4.2.1
30 +
31 *casapy-bin-4.2.0.28322.021_p1 (13 Feb 2014)
32
33 13 Feb 2014; Joseph Jon Booker <joe@××××××××××.net>
34
35 diff --git a/sci-astronomy/casapy-bin/casapy-bin-4.2.1.29047.001_p1.ebuild b/sci-astronomy/casapy-bin/casapy-bin-4.2.1.29047.001_p1.ebuild
36 new file mode 100644
37 index 0000000..6bcc74f
38 --- /dev/null
39 +++ b/sci-astronomy/casapy-bin/casapy-bin-4.2.1.29047.001_p1.ebuild
40 @@ -0,0 +1,69 @@
41 +# Copyright 1999-2014 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +# $Header: $
44 +
45 +EAPI=5
46 +inherit versionator
47 +
48 +DESCRIPTION="Software package to calibrate, image, and analyze radioastronomical data"
49 +HOMEPAGE="http://casa.nrao.edu/"
50 +
51 +MY_P=$(version_format_string '${PN%-bin}-$1$2.$3.$4-$5-${6#p}-64b')
52 +SRC_URI="https://svn.cv.nrao.edu/casa/linux_distro/${MY_P}.tar.gz"
53 +
54 +LICENSE="LGPL-2.1+"
55 +SLOT="0"
56 +KEYWORDS="~amd64"
57 +IUSE=""
58 +
59 +DEPEND=""
60 +RDEPEND="
61 + app-crypt/mit-krb5
62 + dev-db/sqlite
63 + dev-libs/glib
64 + dev-libs/icu
65 + dev-libs/libxslt
66 + media-libs/alsa-lib
67 + media-libs/fontconfig
68 + media-libs/freetype
69 + media-libs/gst-plugins-base
70 + media-libs/libjpeg-turbo
71 + media-libs/mesa
72 + media-libs/tiff
73 + sci-libs/gsl
74 + sci-libs/pgplot
75 + sys-apps/keyutils
76 + sys-apps/util-linux
77 + sys-devel/gcc[fortran]
78 + virtual/libffi
79 + x11-libs/libdrm
80 + x11-libs/libSM
81 + x11-libs/libXau
82 + x11-libs/libXcursor
83 + x11-libs/libXdmcp
84 + x11-libs/libXi
85 + x11-libs/libXinerama
86 + x11-libs/libXrandr
87 +"
88 +
89 +S="${WORKDIR}/${MY_P}"
90 +QA_PREBUILT="/opt/casapy/* /opt/casapy/sbin/* /opt/casapy/lib64/*"
91 +
92 +src_compile() { :; }
93 +
94 +src_install() {
95 + dodir /opt/
96 + cp -R "${S}" "${D}/opt/casapy" || die "Could not copy casapy into ${D}/opt"
97 +
98 + dodir /opt/bin
99 + cd "${D}/opt/casapy/bin"
100 + for binary in `ls`
101 + do
102 + dosym ../casapy/$binary /opt/bin/$binary
103 + done
104 +}
105 +
106 +pkg_postinst() {
107 + einfo "CASA will use media-gfx/graphviz if this package is installed."
108 + ewarn "Upstream warns that SElinux must be disabled, set to permissive, or configured to allow execheap."
109 +}