commit: f4e00d7c36ad6412719aac744ac959977e38c9d9
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 19:50:46 2024 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 21:11:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e00d7c
sci-chemistry/openbabel: sync live ebuild
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-9999.ebuild | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild
b/sci-chemistry/openbabel/openbabel-9999.ebuild
index d533ec698acf..fc4d6cab575e 100644
--- a/sci-chemistry/openbabel/openbabel-9999.ebuild
+++ b/sci-chemistry/openbabel/openbabel-9999.ebuild
@@ -3,13 +3,13 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
WX_GTK_VER=3.2-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs
wxwidgets xdg-utils
DESCRIPTION="Interconverts file formats used in molecular modeling"
-HOMEPAGE="https://openbabel.org/"
+HOMEPAGE="https://openbabel.org/ https://github.com/openbabel/openbabel/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
@@ -17,7 +17,7 @@ if [[ "${PV}" == *9999* ]]; then
else
if [[ "${PV}" == *_p* ]]; then # eg., openbabel-3.1.1_p20210325
# Set to commit hash
- OPENBABEL_COMMIT=
+ OPENBABEL_COMMIT=08e23f39b0cc39b4eebd937a5a2ffc1a7bac3e1b
SRC_URI="https://github.com/${PN}/${PN}/archive/${OPENBABEL_COMMIT}.tar.gz ->
${P}.tar.gz"
S="${WORKDIR}/${PN}-${OPENBABEL_COMMIT}"
else
@@ -25,7 +25,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_P}"
fi
- KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+ KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
fi
SRC_URI="${SRC_URI}
@@ -80,6 +80,10 @@ RDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/openbabel-3.1.1-fix-time-check-cmake.patch
+)
+
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}