diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-06-26 09:00:41 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-06-26 09:00:41 +0000 |
commit | babd72ea19b8d7780b3e95e58acc291d92f88e0b (patch) | |
tree | 7689b6773af642fce9a18cc7298f1ed1d9544d0b /sci-chemistry/autodock | |
parent | Add ~x86-fbsd, bug #346005 (diff) | |
download | gentoo-2-babd72ea19b8d7780b3e95e58acc291d92f88e0b.tar.gz gentoo-2-babd72ea19b8d7780b3e95e58acc291d92f88e0b.tar.bz2 gentoo-2-babd72ea19b8d7780b3e95e58acc291d92f88e0b.zip |
Straight out QA issues
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/autodock')
-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:" |