summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-09-15 10:26:56 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-17 21:54:55 +0300
commit815b1faa1e6eba300474853910295adbd39922a8 (patch)
treec7524b892d2964a0a76fe9b428a128f96be8d7ed /sci-chemistry
parentgnome-base/gnome-session: Version bump to 45.0 (diff)
downloadgentoo-815b1faa1e6eba300474853910295adbd39922a8.tar.gz
gentoo-815b1faa1e6eba300474853910295adbd39922a8.tar.bz2
gentoo-815b1faa1e6eba300474853910295adbd39922a8.zip
sci-chemistry/tinker: update EAPI 6 -> 8
Inherits java-pkg-2 instead of java-pkg-opt-2 Closes: https://bugs.gentoo.org/905682 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/32797 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/tinker/metadata.xml3
-rw-r--r--sci-chemistry/tinker/tinker-8.2.1-r1.ebuild (renamed from sci-chemistry/tinker/tinker-8.2.1.ebuild)30
2 files changed, 19 insertions, 14 deletions
diff --git a/sci-chemistry/tinker/metadata.xml b/sci-chemistry/tinker/metadata.xml
index d4ff1000a775..9bfb6f28bafc 100644
--- a/sci-chemistry/tinker/metadata.xml
+++ b/sci-chemistry/tinker/metadata.xml
@@ -5,4 +5,7 @@
<email>sci-chemistry@gentoo.org</email>
<name>Gentoo Chemistry Project</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">TinkerTools/tinker</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/sci-chemistry/tinker/tinker-8.2.1.ebuild b/sci-chemistry/tinker/tinker-8.2.1-r1.ebuild
index a54f1ecb210d..9964b16b549f 100644
--- a/sci-chemistry/tinker/tinker-8.2.1.ebuild
+++ b/sci-chemistry/tinker/tinker-8.2.1-r1.ebuild
@@ -1,33 +1,34 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-inherit flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs
+inherit flag-o-matic fortran-2 java-pkg-2 toolchain-funcs
DESCRIPTION="Molecular modeling package that includes force fields, such as AMBER and CHARMM"
-HOMEPAGE="http://dasher.wustl.edu/tinker/"
-SRC_URI="http://dasher.wustl.edu/${PN}/downloads/${P}.tar.gz"
+HOMEPAGE="https://dasher.wustl.edu/tinker/"
+SRC_URI="https://dasher.wustl.edu/${PN}/downloads/${P}.tar.gz"
SLOT="0"
LICENSE="Tinker"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples"
+RESTRICT="mirror"
-RDEPEND="
+COMMON_DEPEND="
>=sci-libs/fftw-3.2.2-r1[fortran,threads]
dev-libs/maloc
!sys-apps/bar
!dev-util/diffuse
- >=virtual/jre-1.6
+"
+RDEPEND="${COMMON_DEPEND}
+ >=virtual/jre-1.8:*
"
DEPEND="
- ${RDEPEND}
- >=virtual/jdk-1.6
- virtual/pkgconfig
+ ${COMMON_DEPEND}
+ >=virtual/jdk-1.8:*
"
-
-RESTRICT="mirror"
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}/source
@@ -39,17 +40,17 @@ pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
fortran-2_pkg_setup
- java-pkg-opt-2_pkg_setup
}
src_prepare() {
sed 's:strip:true:g' -i ../make/Makefile || die
[[ $(tc-getFC) =~ "ifort" ]] && eapply "${FILESDIR}"/${PV}-openmp.patch
default
+ java-pkg-2_src_prepare
}
src_compile() {
- local javalib=
+ local javalib= _omplib _fftwlib
for i in $(java-config -g LDPATH | sed 's|:| |g'); do
[[ -f ${i}/libjvm.so ]] && javalib=${i}
done
@@ -87,6 +88,7 @@ src_compile() {
}
src_test() {
+ local test
cd "${WORKDIR}"/${PN}/test/
for test in *.run; do
einfo "Testing ${test} ..."