1 |
jlec 13/06/01 15:47:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: arp-warp-bin-7.1-r2.ebuild |
5 |
Log: |
6 |
sci-chemistry/arp-warp-bin: Bump to new python r1 eclasses |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916) |
9 |
|
10 |
Revision Changes Path |
11 |
1.23 sci-chemistry/arp-warp-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?rev=1.23&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?rev=1.23&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?r1=1.22&r2=1.23 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v |
20 |
retrieving revision 1.22 |
21 |
retrieving revision 1.23 |
22 |
diff -u -r1.22 -r1.23 |
23 |
--- ChangeLog 6 Feb 2013 07:55:47 -0000 1.22 |
24 |
+++ ChangeLog 1 Jun 2013 15:47:53 -0000 1.23 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-chemistry/arp-warp-bin |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v 1.22 2013/02/06 07:55:47 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v 1.23 2013/06/01 15:47:53 jlec Exp $ |
30 |
+ |
31 |
+*arp-warp-bin-7.1-r2 (01 Jun 2013) |
32 |
+ |
33 |
+ 01 Jun 2013; Justin Lecher <jlec@g.o> +arp-warp-bin-7.1-r2.ebuild, |
34 |
+ +files/7.1-setup-2.patch: |
35 |
+ Bump to new python r1 eclasses |
36 |
|
37 |
06 Feb 2013; Justin Lecher <jlec@g.o> arp-warp-bin-7.1-r1.ebuild, |
38 |
metadata.xml: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-chemistry/arp-warp-bin/arp-warp-bin-7.1-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.1-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.1-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: arp-warp-bin-7.1-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.1-r2.ebuild,v 1.1 2013/06/01 15:47:53 jlec Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
56 |
|
57 |
inherit eutils prefix python-single-r1 |
58 |
|
59 |
MY_P="arp_warp_${PV}" |
60 |
|
61 |
DESCRIPTION="Software for improvement and interpretation of crystallographic electron density maps" |
62 |
SRC_URI="${MY_P}.tar.gz" |
63 |
HOMEPAGE="http://www.embl-hamburg.de/ARP/" |
64 |
|
65 |
LICENSE="ArpWarp" |
66 |
SLOT="0" |
67 |
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
68 |
IUSE="" |
69 |
|
70 |
RDEPEND=" |
71 |
app-shells/tcsh |
72 |
sci-chemistry/refmac |
73 |
virtual/awk |
74 |
virtual/jre |
75 |
virtual/opengl |
76 |
x11-libs/libX11" |
77 |
DEPEND="" |
78 |
|
79 |
RESTRICT="fetch" |
80 |
|
81 |
S="${WORKDIR}/${MY_P}" |
82 |
|
83 |
QA_PREBUILT="opt/arp-warp-bin/bin/*" |
84 |
|
85 |
pkg_nofetch(){ |
86 |
elog "Fill out the form at http://www.embl-hamburg.de/ARP/" |
87 |
elog "and place ${A} in ${DISTDIR}" |
88 |
} |
89 |
|
90 |
src_prepare() { |
91 |
epatch "${FILESDIR}"/${PV}-setup.patch |
92 |
eprefixify "${S}"/share/arpwarp_setup_base.* |
93 |
sed "s:EPYTHON:${EPYTHON}:g" -i "${S}"/share/arpwarp_setup_base.* || die |
94 |
python_fix_shebang flex-wARP-src-354/*py |
95 |
sed -e "s:/usr/:${EPREFIX}/usr/:g" -i flex-wARP-src-354/*py || die |
96 |
sed -e '/exit/d' -i "${S}"/share/arpwarp_setup_base.* || die |
97 |
} |
98 |
|
99 |
src_install(){ |
100 |
m_type=$(uname -m) |
101 |
os_type=$(uname) |
102 |
|
103 |
insinto /opt/${PN}/byte-code/${EPYTHON} |
104 |
doins "${S}"/flex-wARP-src-354/*py |
105 |
|
106 |
exeinto /opt/${PN}/bin/bin-${m_type}-${os_type} |
107 |
doexe "${S}"/bin/bin-${m_type}-${os_type}/* "${S}"/share/*sh |
108 |
|
109 |
insinto /opt/${PN}/bin/bin-${m_type}-${os_type} |
110 |
doins "${S}"/share/*{gif,bmp,XYZ,bash,csh,dat,lib,tbl,llh} |
111 |
|
112 |
insinto /etc/profile.d/ |
113 |
newins "${S}"/share/arpwarp_setup_base.csh 90arpwarp_setup.csh |
114 |
newins "${S}"/share/arpwarp_setup_base.bash 90arpwarp_setup.sh |
115 |
|
116 |
dodoc "${S}"/README manual/UserGuide${PV}.pdf |
117 |
dohtml -r "${S}"/manual/html/* |
118 |
|
119 |
python_optimize "${ED}"/opt/${PN}/byte-code/${EPYTHON} |
120 |
} |
121 |
|
122 |
pkg_postinst(){ |
123 |
testcommand=$(echo 3 2 | awk '{printf"%3.1f",$1/$2}') |
124 |
if [ $testcommand == "1,5" ];then |
125 |
ewarn "*** ERROR ***" |
126 |
ewarn " 3/2=" $testcommand |
127 |
ewarn "Invalid decimal separator (must be ".")" |
128 |
ewarn "You need to set this correctly!!!" |
129 |
echo |
130 |
ewarn "One way of setting the decimal separator is:" |
131 |
ewarn "setenv LC_NUMERIC C' in your .cshrc file" |
132 |
ewarn "\tor" |
133 |
ewarn "export LC_NUMERIC=C' in your .bashrc file" |
134 |
ewarn "Otherwise please consult your system manager" |
135 |
fi |
136 |
|
137 |
grep -q sse2 /proc/cpuinfo || einfo "The CPU is lacking SSE2! You should use the cluster at EMBL-Hamburg." |
138 |
echo |
139 |
} |