From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 681FA158091 for ; Thu, 2 Jun 2022 04:55:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E5C0E0831; Thu, 2 Jun 2022 04:55:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54BADE0831 for ; Thu, 2 Jun 2022 04:55:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23D53341716 for ; Thu, 2 Jun 2022 04:55:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32E464D5 for ; Thu, 2 Jun 2022 04:55:04 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1654145655.af0420fb5d5d6d99e31e9f0b8ff9f37033167c60.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/cmdock/, sci-biology/cmdock/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-biology/cmdock/cmdock-0.1.4-r1.ebuild sci-biology/cmdock/cmdock-0.1.4.ebuild sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch sci-biology/cmdock/metadata.xml X-VCS-Directories: sci-biology/cmdock/files/ sci-biology/cmdock/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: af0420fb5d5d6d99e31e9f0b8ff9f37033167c60 X-VCS-Branch: dev Date: Thu, 2 Jun 2022 04:55:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a8b6c178-e630-4fca-b8c0-7f9fa742f784 X-Archives-Hash: 6d2f6dc9a7b26a99a93ee9b93bcd7847 commit: af0420fb5d5d6d99e31e9f0b8ff9f37033167c60 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Jun 2 04:00:28 2022 +0000 Commit: Anna Vyalkova sysrq 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 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 @@ Jukic/cmdock https://gitlab.com/Jukic/cmdock/-/issues - https://www.rxdock.org/documentation/devel/html + https://rxdock.gitlab.io/documentation/devel/html/ cyber+gentoo@sysrq.in