1 |
dberkholz 08/08/04 00:11:54 |
2 |
|
3 |
Added: arp-warp-bin-7.0.1-r1.ebuild metadata.xml Manifest |
4 |
ChangeLog |
5 |
Log: |
6 |
(#212054) New package: ARP/wARP is a software for improvement and interpretation of crystallographic electron density maps. |
7 |
(Portage version: 2.2_rc5/cvs/Linux 2.6.26 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-chemistry/arp-warp-bin/arp-warp-bin-7.0.1-r1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.0.1-r1.ebuild?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: arp-warp-bin-7.0.1-r1.ebuild |
16 |
=================================================================== |
17 |
# Copyright 1999-2008 Gentoo Foundation |
18 |
# Distributed under the terms of the GNU General Public License v2 |
19 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.0.1-r1.ebuild,v 1.1 2008/08/04 00:11:54 dberkholz Exp $ |
20 |
|
21 |
inherit eutils python |
22 |
|
23 |
MY_P="arp_warp_${PV}" |
24 |
DESCRIPTION="ARP/wARP is a software for improvement and interpretation of crystallographic electron density maps" |
25 |
SRC_URI="${MY_P}.tar.gz" |
26 |
HOMEPAGE="http://www.embl-hamburg.de/ARP/" |
27 |
LICENSE="ArpWarp" |
28 |
RESTRICT="fetch" |
29 |
SLOT="0" |
30 |
KEYWORDS="-* ~amd64 ~x86" |
31 |
IUSE="" |
32 |
RDEPEND="app-shells/tcsh |
33 |
>=sci-chemistry/ccp4-6 |
34 |
sys-apps/gawk |
35 |
>=dev-lang/python-2.4" |
36 |
DEPEND="" |
37 |
S="${WORKDIR}/${MY_P}" |
38 |
|
39 |
pkg_nofetch(){ |
40 |
elog "Fill out the form at http://www.embl-hamburg.de/ARP/" |
41 |
elog "and place ${A} in ${DISTDIR}" |
42 |
} |
43 |
|
44 |
src_unpack() { |
45 |
unpack ${A} |
46 |
cd "${S}" |
47 |
epatch "${FILESDIR}"/${PV}-setup.patch |
48 |
epatch "${FILESDIR}"/${PV}-source-ccp4-if-needed.patch |
49 |
} |
50 |
|
51 |
src_install(){ |
52 |
python_version |
53 |
m_type=$(uname -m) |
54 |
os_type=$(uname) |
55 |
|
56 |
insinto /opt/${PN}/byte-code/python-${PYVER} |
57 |
doins "${S}"/flex-wARP-src-261/*py |
58 |
|
59 |
exeinto /opt/${PN}/bin/bin-${m_type}-${os_type} |
60 |
doexe "${S}"/bin/bin-${m_type}-${os_type}/* && \ |
61 |
doexe "${S}"/share/*sh || die |
62 |
|
63 |
insinto /opt/${PN}/bin/bin-${m_type}-${os_type} |
64 |
doins "${S}"/share/*{gif,XYZ,bash,csh,dat,lib,tbl,llh} || die |
65 |
|
66 |
insinto /etc/profile.d/ |
67 |
newins "${S}"/share/arpwarp_setup_base.csh 90arpwarp_setup.csh && \ |
68 |
newins "${S}"/share/arpwarp_setup_base.bash 90arpwarp_setup.sh || die |
69 |
|
70 |
dodoc "${S}"/README |
71 |
dohtml -r "${S}"/manual/* |
72 |
insinto /usr/share/doc/${PF} |
73 |
doins -r "${S}"/{examples,ARP_wARP_CCP4I6.tar.gz} |
74 |
} |
75 |
|
76 |
pkg_postinst(){ |
77 |
python_mod_optimize "${ROOT}"/opt/${PN}/byte-code/python-${PYVER} |
78 |
|
79 |
testcommand=$(echo 3 2 | awk '{printf"%3.1f",$1/$2}') |
80 |
if [ $testcommand == "1,5" ];then |
81 |
ewarn "*** ERROR ***" |
82 |
ewarn " 3/2=" $testcommand |
83 |
ewarn "Invalid decimal separator (must be ".")" |
84 |
ewarn "You need to set this correctly!!!" |
85 |
ewarn |
86 |
ewarn "One way of setting the decimal separator is:" |
87 |
ewarn "setenv LC_NUMERIC C' in your .cshrc file" |
88 |
ewarn "\tor" |
89 |
ewarn "export LC_NUMERIC=C' in your .bashrc file" |
90 |
ewarn "Otherwise please consult your system manager" |
91 |
epause 10 |
92 |
fi |
93 |
|
94 |
grep -q sse2 /proc/cpuinfo || einfo "The CPU is lacking SSE2! You should use the cluster at EMBL-Hamburg." |
95 |
einfo |
96 |
elog "The ccp4 interface file could be found in /usr/share/doc/"${P} |
97 |
elog "To install, run ccp4i as root, navigate to System Administration," |
98 |
elog "Install/uninstall tasks, then choose ARP_wARP_CCP4I6.tar.gz." |
99 |
} |
100 |
|
101 |
pkg_postrm() { |
102 |
python_mod_cleanup "${ROOT}"/opt/${PN}/byte-code/python-${PYVER} |
103 |
} |
104 |
|
105 |
|
106 |
|
107 |
1.1 sci-chemistry/arp-warp-bin/metadata.xml |
108 |
|
109 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/metadata.xml?rev=1.1&view=markup |
110 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/metadata.xml?rev=1.1&content-type=text/plain |
111 |
|
112 |
Index: metadata.xml |
113 |
=================================================================== |
114 |
<?xml version="1.0" encoding="UTF-8"?> |
115 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
116 |
<pkgmetadata> |
117 |
<herd>sci-chemistry</herd> |
118 |
</pkgmetadata> |
119 |
|
120 |
|
121 |
|
122 |
1.1 sci-chemistry/arp-warp-bin/Manifest |
123 |
|
124 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/Manifest?rev=1.1&view=markup |
125 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/Manifest?rev=1.1&content-type=text/plain |
126 |
|
127 |
Index: Manifest |
128 |
=================================================================== |
129 |
AUX 7.0.1-setup.patch 6330 RMD160 eb59c2023f3d023a1c50322960c4d3ee7d85b414 SHA1 7e4f8c375faea911dcf8787f735eeeca658b273b SHA256 f1136bb00c60194a504f0bf718733a13d5bea88fd88231a553f82993f97928da |
130 |
AUX 7.0.1-source-ccp4-if-needed.patch 1334 RMD160 e1c04014322a4406eb6421c12d9d97266e294a6b SHA1 0e7c8259f8996ebd13c3df1d2b1f894d7418a85b SHA256 0a554438fa7ba994762b463b7340af5f5cab3177c62e7632a313830d92228205 |
131 |
DIST arp_warp_7.0.1.tar.gz 212443160 RMD160 b6b821a4135520456f489cb96e650b3be61c4892 SHA1 957ddb8ad5dde9556a6306643bb638288b144ca6 SHA256 368cff316fd05ca98937f2709b0ef8b391bc71697f61c7474c4681c99b24e677 |
132 |
EBUILD arp-warp-bin-7.0.1-r1.ebuild 2501 RMD160 67c0eb8a3ed2ac2e687616d24a9750ae58d05966 SHA1 9cf4f7cbcdbe7d649fce5c84a28b9d55efe41b69 SHA256 d2185c71a037395c9bb7750204414f76c7612dbe480d19b6558c2d9bde0cf2fe |
133 |
MISC ChangeLog 467 RMD160 d00be537160b38ca7f1675adb7b83e3f8aeb2289 SHA1 b65a6a856f4939223daa389f23f70b55cb5af9d8 SHA256 b4dd1c68935e4a71a215c75c88bec65433ac85b1ec6662917c51052bdfe7f2ec |
134 |
MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852 |
135 |
|
136 |
|
137 |
|
138 |
1.1 sci-chemistry/arp-warp-bin/ChangeLog |
139 |
|
140 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?rev=1.1&view=markup |
141 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?rev=1.1&content-type=text/plain |
142 |
|
143 |
Index: ChangeLog |
144 |
=================================================================== |
145 |
# ChangeLog for sci-chemistry/arp-warp-bin |
146 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
147 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v 1.1 2008/08/04 00:11:54 dberkholz Exp $ |
148 |
|
149 |
*arp-warp-bin-7.0.1-r1 (04 Aug 2008) |
150 |
|
151 |
04 Aug 2008; Donnie Berkholz <dberkholz@g.o>; |
152 |
+files/7.0.1-setup.patch, +files/7.0.1-source-ccp4-if-needed.patch, |
153 |
+metadata.xml, +arp-warp-bin-7.0.1-r1.ebuild: |
154 |
(#212054) New package: ARP/wARP is a software for improvement and |
155 |
interpretation of crystallographic electron density maps. |