Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/autodock: ChangeLog autodock-4.2.3-r1.ebuild autodock-4.0.1-r1.ebuild autodock-4.2.3.ebuild autodock-4.0.1.ebuild
Date: Fri, 25 Jun 2010 10:41:13
Message-Id: 20100625104106.A5BF92CF5E@corvid.gentoo.org
1 jlec 10/06/25 10:41:06
2
3 Modified: ChangeLog
4 Added: autodock-4.2.3-r1.ebuild
5 Removed: autodock-4.0.1-r1.ebuild autodock-4.2.3.ebuild
6 autodock-4.0.1.ebuild
7 Log:
8 Fixed installation issue when csh is not present, #303463; fix src_test, #320345, removed old, fixed PYTHON ABIs stuff
9 (Portage version: 2.2_rc67/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.8 sci-chemistry/autodock/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/autodock/ChangeLog?rev=1.8&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/autodock/ChangeLog?rev=1.8&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/autodock/ChangeLog?r1=1.7&r2=1.8
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v
21 retrieving revision 1.7
22 retrieving revision 1.8
23 diff -u -r1.7 -r1.8
24 --- ChangeLog 4 Feb 2010 13:03:15 -0000 1.7
25 +++ ChangeLog 25 Jun 2010 10:41:06 -0000 1.8
26 @@ -1,6 +1,14 @@
27 # ChangeLog for sci-chemistry/autodock
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v 1.7 2010/02/04 13:03:15 alexxy Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v 1.8 2010/06/25 10:41:06 jlec Exp $
31 +
32 +*autodock-4.2.3-r1 (25 Jun 2010)
33 +
34 + 25 Jun 2010; Justin Lecher <jlec@g.o> -autodock-4.0.1.ebuild,
35 + -autodock-4.0.1-r1.ebuild, -autodock-4.2.3.ebuild,
36 + +autodock-4.2.3-r1.ebuild:
37 + Fixed installation issue when csh is not present, #303463; fix src_test,
38 + #320345; removed old, fixed PYTHON ABIs stuff
39
40 *autodock-4.2.3 (04 Feb 2010)
41
42
43
44
45 1.1 sci-chemistry/autodock/autodock-4.2.3-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: autodock-4.2.3-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild,v 1.1 2010/06/25 10:41:06 jlec Exp $
55
56 EAPI="2"
57
58 PYTHON_DEPEND="test? 2"
59
60 inherit autotools eutils python
61
62 MY_PN="autodocksuite"
63 MY_P="${MY_PN}-${PV}"
64
65 DESCRIPTION="A suite of automated docking tools"
66 HOMEPAGE="http://autodock.scripps.edu/"
67 SRC_URI="mirror://gentoo/${MY_PN}/${MY_P}-src.tar.gz"
68
69 LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 IUSE=""
73
74 S="${WORKDIR}/src"
75
76 pkg_setup() {
77 python_set_active_version 2
78 }
79
80 src_prepare() {
81 sed -i -e "s/\tcsh/\tsh/" \
82 autodock/Makefile.am autogrid/Makefile.am || die "sed failed"
83 for i in autodock autogrid; do
84 pushd $i &>/dev/null
85 eautoreconf
86 popd &>/dev/null
87 done
88 }
89
90 src_configure() {
91 for i in autodock autogrid; do
92 pushd $i &>/dev/null
93 econf
94 popd &>/dev/null
95 done
96 }
97
98 src_compile() {
99 emake -C autodock || die
100 emake -C autogrid || die
101 }
102
103 src_install() {
104 dobin "${S}"/autodock/autodock4 "${S}"/autogrid/autogrid4 \
105 || die "Failed to install autodock binary."
106
107 insinto "/usr/share/autodock"
108 doins "${S}"/autodock/{AD4_parameters.dat,AD4_PARM99.dat} \
109 || die "Failed to install shared files."
110
111 dodoc "${S}"/autodock/{AUTHORS,ChangeLog,NEWS,README} \
112 || die "Failed to install documentation."
113 }
114
115 src_test() {
116 einfo "Testing autodock"
117 cd "${S}/autodock/Tests"
118 cp ../*.dat .
119 $(PYTHON) test_autodock4.py || die "AutoDock tests failed."
120 einfo "Testing autogrid"
121 cd "${S}/autogrid/Tests"
122 $(PYTHON) test_autogrid4.py || die "AutoGrid tests failed."
123 }
124
125 pkg_postinst() {
126 einfo "The AutoDock development team requests all users to fill out the"
127 einfo "registration form at:"
128 einfo
129 einfo "\thttp://autodock.scripps.edu/downloads/autodock-registration"
130 einfo
131 einfo "The number of unique users of AutoDock is used by Prof. Arthur J."
132 einfo "Olson and the Scripps Research Institude to support grant"
133 einfo "applications."
134 }