diff options
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/autodock/ChangeLog | 7 | ||||
-rw-r--r-- | sci-chemistry/autodock/autodock-4.2.3-r1.ebuild | 26 |
2 files changed, 18 insertions, 15 deletions
diff --git a/sci-chemistry/autodock/ChangeLog b/sci-chemistry/autodock/ChangeLog index b91d07c668dc..9ffe85a823b2 100644 --- a/sci-chemistry/autodock/ChangeLog +++ b/sci-chemistry/autodock/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-chemistry/autodock -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v 1.8 2010/06/25 10:41:06 jlec Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v 1.9 2011/06/26 09:00:41 jlec Exp $ + + 26 Jun 2011; Justin Lecher <jlec@gentoo.org> autodock-4.2.3-r1.ebuild: + Straight out QA issues *autodock-4.2.3-r1 (25 Jun 2010) diff --git a/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild b/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild index cb8618f74311..a3f213286ec6 100644 --- a/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild +++ b/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild,v 1.2 2010/06/28 01:07:51 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/autodock-4.2.3-r1.ebuild,v 1.3 2011/06/26 09:00:41 jlec Exp $ -EAPI="2" +EAPI=3 PYTHON_DEPEND="test? 2" @@ -49,6 +49,16 @@ src_compile() { emake -C autogrid || die } +src_test() { + einfo "Testing autodock" + cd "${S}/autodock/Tests" + cp ../*.dat . + $(PYTHON) test_autodock4.py || die "AutoDock tests failed." + einfo "Testing autogrid" + cd "${S}/autogrid/Tests" + $(PYTHON) test_autogrid4.py || die "AutoGrid tests failed." +} + src_install() { dobin "${S}"/autodock/autodock4 "${S}"/autogrid/autogrid4 \ || die "Failed to install autodock binary." @@ -61,16 +71,6 @@ src_install() { || die "Failed to install documentation." } -src_test() { - einfo "Testing autodock" - cd "${S}/autodock/Tests" - cp ../*.dat . - $(PYTHON) test_autodock4.py || die "AutoDock tests failed." - einfo "Testing autogrid" - cd "${S}/autogrid/Tests" - $(PYTHON) test_autogrid4.py || die "AutoGrid tests failed." -} - pkg_postinst() { einfo "The AutoDock development team requests all users to fill out the" einfo "registration form at:" |