From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/cmdock/, sci-biology/cmdock/files/
Date: Thu, 2 Jun 2022 04:55:04 +0000 (UTC) [thread overview]
Message-ID: <1654145655.af0420fb5d5d6d99e31e9f0b8ff9f37033167c60.cybertailor@gentoo> (raw)
commit: af0420fb5d5d6d99e31e9f0b8ff9f37033167c60
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Jun 2 04:00:28 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Jun 2 04:54:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af0420fb
sci-biology/cmdock: fix CPU flags detection
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
.../{cmdock-0.1.4.ebuild => cmdock-0.1.4-r1.ebuild} | 8 +++++---
sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch | 15 +++++++++++++++
sci-biology/cmdock/metadata.xml | 2 +-
3 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/sci-biology/cmdock/cmdock-0.1.4.ebuild b/sci-biology/cmdock/cmdock-0.1.4-r1.ebuild
similarity index 90%
rename from sci-biology/cmdock/cmdock-0.1.4.ebuild
rename to sci-biology/cmdock/cmdock-0.1.4-r1.ebuild
index 70befcfcc..cf79531ec 100644
--- a/sci-biology/cmdock/cmdock-0.1.4.ebuild
+++ b/sci-biology/cmdock/cmdock-0.1.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
BOINC_APP_OPTIONAL="true"
@@ -14,7 +14,7 @@ DOCS_DIR="docs"
inherit python-any-r1 boinc-app docs flag-o-matic meson
DESCRIPTION="Program for docking ligands to proteins and nucleic acids"
-HOMEPAGE="https://gitlab.com/Jukic/cmdock https://www.rxdock.org"
+HOMEPAGE="https://gitlab.com/Jukic/cmdock"
SRC_URI="https://gitlab.com/Jukic/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
@@ -35,6 +35,8 @@ BDEPEND="
doc? ( app-doc/doxygen )
"
+PATCHES=( "${FILESDIR}"/cmdock-0.1.4-fix-detection.patch )
+
DOCS=( INSTALL.md README.md )
BOINC_MASTER_URL="https://www.sidock.si/sidock/"
diff --git a/sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch b/sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch
new file mode 100644
index 000000000..fceae1e5c
--- /dev/null
+++ b/sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch
@@ -0,0 +1,15 @@
+--- a/meson.build
++++ b/meson.build
+@@ -79,8 +79,10 @@
+
+ cpp_compiler = meson.get_compiler('cpp')
+
+-extended_encoders_available = (cpp_compiler.has_header('emmintrin.h') and
+- host_machine.cpu_family() == 'x86' and host_machine.cpu_family() == 'x86_64')
++extended_encoders_available = (
++ cpp_compiler.has_header('emmintrin.h') and
++ (host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64')
++)
+
+ if not extended_encoders_available
+ add_project_arguments('-DBUNDLE_NO_SSE', language: 'cpp')
diff --git a/sci-biology/cmdock/metadata.xml b/sci-biology/cmdock/metadata.xml
index beddf8090..3f0fcb55e 100644
--- a/sci-biology/cmdock/metadata.xml
+++ b/sci-biology/cmdock/metadata.xml
@@ -4,7 +4,7 @@
<upstream>
<remote-id type="gitlab">Jukic/cmdock</remote-id>
<bugs-to>https://gitlab.com/Jukic/cmdock/-/issues</bugs-to>
- <doc>https://www.rxdock.org/documentation/devel/html</doc>
+ <doc>https://rxdock.gitlab.io/documentation/devel/html/</doc>
</upstream>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
next reply other threads:[~2022-06-02 4:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 4:55 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-09 10:19 [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/cmdock/, sci-biology/cmdock/files/ Anna Vyalkova
2024-01-09 9:06 Anna Vyalkova
2022-12-12 11:44 Anna Vyalkova
2021-11-25 7:16 Anna Vyalkova
2021-07-22 8:29 Anna Vyalkova
2021-05-29 15:49 Anna Vyalkova
2021-05-20 12:47 Anna Vyalkova
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1654145655.af0420fb5d5d6d99e31e9f0b8ff9f37033167c60.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox