Diff autodock-4.2.6 with a autodock-4.2.6-r1

/usr/portage/sci-chemistry/autodock/autodock-4.2.6-r1.ebuild 2023-10-09 14:52:35.032368490 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit autotools readme.gentoo-r1
7 7

  
......
9 9
MY_P="${MY_PN}-${PV}"
10 10

  
11 11
DESCRIPTION="A suite of automated docking tools"
12
HOMEPAGE="http://autodock.scripps.edu/"
13
SRC_URI="http://autodock.scripps.edu/downloads/autodock-registration/tars/dist$(ver_rs 1- '')/${MY_P}-src.tar.gz"
12
HOMEPAGE="https://autodock.scripps.edu/"
13
SRC_URI="
14
	https://autodock.scripps.edu/downloads/autodock-registration/tars/dist$(ver_rs 1- '')/${MY_P}-src.tar.gz
15
	https://dev.gentoo.org/~andrewammerlaan/${PN}-4.2.6-drop-register-keyword.patch
16
"
14 17
S="${WORKDIR}/src"
15 18

  
16 19
LICENSE="GPL-2"
......
37 40

  
38 41
PATCHES=(
39 42
	"${FILESDIR}"/${P}-buildsystem.patch
43
	"${DISTDIR}"/${PN}-4.2.6-drop-register-keyword.patch
40 44
)
41 45

  
42 46
src_prepare() {
......
68 72
	emake -C autogrid
69 73
}
70 74

  
71
src_test() {
72
	elog "Testing autodock"
73
	cd "${S}/autodock/Tests" || die
74
	cp ../*.dat . || die
75
	${EPYTHON} test_autodock4.py || die "AutoDock tests failed."
76
	einfo "Testing autogrid"
77
	cd "${S}/autogrid/Tests" || die
78
	${EPYTHON} test_autogrid4.py || die "AutoGrid tests failed."
79
}
75
# Refer: https://github.com/gentoo/gentoo/pull/31489/files#r1321120609
76
#src_test() {
77
#	elog "Testing autodock"
78
#	cd "${S}/autodock/Tests" || die
79
#	cp ../*.dat . || die
80
#	${EPYTHON} test_autodock4.py || die "AutoDock tests failed."
81
#	einfo "Testing autogrid"
82
#	cd "${S}/autogrid/Tests" || die
83
#	${EPYTHON} test_autogrid4.py || die "AutoGrid tests failed."
84
#}
80 85

  
81 86
src_install() {
82 87
	if use openmp; then
Thank you!