* [gentoo-commits] gentoo-x86 commit in sci-chemistry/arp-warp-bin: ChangeLog arp-warp-bin-7.0.1-r2.ebuild arp-warp-bin-7.0.1-r1.ebuild
@ 2010-02-25 8:06 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-02-25 8:06 UTC (permalink / raw
To: gentoo-commits
jlec 10/02/25 08:06:29
Modified: ChangeLog
Added: arp-warp-bin-7.0.1-r2.ebuild
Removed: arp-warp-bin-7.0.1-r1.ebuild
Log:
Handle ccp4 installation correctly
(Portage version: 2.2_rc63/cvs/Linux i686)
Revision Changes Path
1.3 sci-chemistry/arp-warp-bin/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?r1=1.2&r2=1.3
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog 7 Feb 2010 22:04:14 -0000 1.2
+++ ChangeLog 25 Feb 2010 08:06:28 -0000 1.3
@@ -1,6 +1,13 @@
# ChangeLog for sci-chemistry/arp-warp-bin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v 1.2 2010/02/07 22:04:14 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v 1.3 2010/02/25 08:06:28 jlec Exp $
+
+*arp-warp-bin-7.0.1-r2 (25 Feb 2010)
+
+ 25 Feb 2010; Justin Lecher (jlec) <jlec@j-schmitz.net>
+ files/7.0.1-setup.patch, -arp-warp-bin-7.0.1-r1.ebuild,
+ files/7.0.1-source-ccp4-if-needed.patch, +arp-warp-bin-7.0.1-r2.ebuild:
+ Handle ccp4 installation correctly
07 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
arp-warp-bin-7.0.1-r1.ebuild:
1.1 sci-chemistry/arp-warp-bin/arp-warp-bin-7.0.1-r2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.0.1-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.0.1-r2.ebuild?rev=1.1&content-type=text/plain
Index: arp-warp-bin-7.0.1-r2.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.0.1-r2.ebuild,v 1.1 2010/02/25 08:06:28 jlec Exp $
inherit eutils python
MY_P="arp_warp_${PV}"
DESCRIPTION="ARP/wARP is a software for improvement and interpretation of crystallographic electron density maps"
SRC_URI="${MY_P}.tar.gz"
HOMEPAGE="http://www.embl-hamburg.de/ARP/"
LICENSE="ArpWarp"
RESTRICT="fetch"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RDEPEND="app-shells/tcsh
>=sci-chemistry/ccp4-6.1.3
sys-apps/gawk
>=dev-lang/python-2.4"
DEPEND=""
S="${WORKDIR}/${MY_P}"
pkg_nofetch(){
elog "Fill out the form at http://www.embl-hamburg.de/ARP/"
elog "and place ${A} in ${DISTDIR}"
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-setup.patch
epatch "${FILESDIR}"/${PV}-source-ccp4-if-needed.patch
}
src_install(){
python_version
m_type=$(uname -m)
os_type=$(uname)
insinto /opt/${PN}/byte-code/python-${PYVER}
doins "${S}"/flex-wARP-src-261/*py
exeinto /opt/${PN}/bin/bin-${m_type}-${os_type}
doexe "${S}"/bin/bin-${m_type}-${os_type}/* && \
doexe "${S}"/share/*sh || die
insinto /opt/${PN}/bin/bin-${m_type}-${os_type}
doins "${S}"/share/*{gif,XYZ,bash,csh,dat,lib,tbl,llh} || die
insinto /etc/profile.d/
newins "${S}"/share/arpwarp_setup_base.csh 90arpwarp_setup.csh && \
newins "${S}"/share/arpwarp_setup_base.bash 90arpwarp_setup.sh || die
dodoc "${S}"/README
dohtml -r "${S}"/manual/*
insinto /usr/share/doc/${PF}
doins -r "${S}"/{examples,ARP_wARP_CCP4I6.tar.gz}
}
pkg_postinst(){
python_need_rebuild
python_mod_optimize "${ROOT}"/opt/${PN}/byte-code/python-${PYVER}
testcommand=$(echo 3 2 | awk '{printf"%3.1f",$1/$2}')
if [ $testcommand == "1,5" ];then
ewarn "*** ERROR ***"
ewarn " 3/2=" $testcommand
ewarn "Invalid decimal separator (must be ".")"
ewarn "You need to set this correctly!!!"
ewarn
ewarn "One way of setting the decimal separator is:"
ewarn "setenv LC_NUMERIC C' in your .cshrc file"
ewarn "\tor"
ewarn "export LC_NUMERIC=C' in your .bashrc file"
ewarn "Otherwise please consult your system manager"
epause 10
fi
grep -q sse2 /proc/cpuinfo || einfo "The CPU is lacking SSE2! You should use the cluster at EMBL-Hamburg."
einfo
elog "The ccp4 interface file could be found in /usr/share/doc/"${P}
elog "To install, run ccp4i as root, navigate to System Administration,"
elog "Install/uninstall tasks, then choose ARP_wARP_CCP4I6.tar.gz."
}
pkg_postrm() {
python_mod_cleanup "${ROOT}"/opt/${PN}/byte-code/python-${PYVER}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-25 8:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 8:06 [gentoo-commits] gentoo-x86 commit in sci-chemistry/arp-warp-bin: ChangeLog arp-warp-bin-7.0.1-r2.ebuild arp-warp-bin-7.0.1-r1.ebuild Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox