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 37BD615802F for ; Tue, 28 Mar 2023 16:41:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 549F5E086A; Tue, 28 Mar 2023 16:41:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3E1D3E086A for ; Tue, 28 Mar 2023 16:41:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62F51335CF7 for ; Tue, 28 Mar 2023 16:41:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 214948E5 for ; Tue, 28 Mar 2023 16:41:02 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1680021648.551b3d503ecacb6620b987019cfd7bb0718d5067.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-cpp/xsimd/files/, dev-cpp/xsimd/ X-VCS-Repository: proj/sci X-VCS-Files: dev-cpp/xsimd/files/remove-libdir-in-pc.patch dev-cpp/xsimd/metadata.xml dev-cpp/xsimd/xsimd-10.0.0.ebuild X-VCS-Directories: dev-cpp/xsimd/files/ dev-cpp/xsimd/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 551b3d503ecacb6620b987019cfd7bb0718d5067 X-VCS-Branch: master Date: Tue, 28 Mar 2023 16:41:02 +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: a3c64ff2-b5f5-4def-9288-41372610f3e2 X-Archives-Hash: 0837bc4ddb6086d1e244ef3b469268aa commit: 551b3d503ecacb6620b987019cfd7bb0718d5067 Author: Yiyang Wu gmail com> AuthorDate: Mon Mar 20 07:39:16 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Mar 28 16:40:48 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=551b3d50 dev-cpp/xsimd: new package, add 10.0.0 Tests passed on amd64 Signed-off-by: Yiyang Wu gmail.com> Signed-off-by: Andrew Ammerlaan gentoo.org> dev-cpp/xsimd/files/remove-libdir-in-pc.patch | 12 ++++++++++++ dev-cpp/xsimd/metadata.xml | 11 +++++++++++ dev-cpp/xsimd/xsimd-10.0.0.ebuild | 27 +++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-cpp/xsimd/files/remove-libdir-in-pc.patch b/dev-cpp/xsimd/files/remove-libdir-in-pc.patch new file mode 100644 index 000000000..4548f0ab4 --- /dev/null +++ b/dev-cpp/xsimd/files/remove-libdir-in-pc.patch @@ -0,0 +1,12 @@ +libdir is not used in this header-only package +And this line cause QA notice: +key=libdir does not respect EPREFIX libdir=/lib64 +=================================================================== +--- xsimd-10.0.0.orig/xsimd.pc.in ++++ xsimd-10.0.0/xsimd.pc.in +@@ -1,5 +1,4 @@ + prefix=@CMAKE_INSTALL_PREFIX@ +-libdir=@libdir_for_pc_file@ + includedir=@includedir_for_pc_file@ + + Name: xsimd diff --git a/dev-cpp/xsimd/metadata.xml b/dev-cpp/xsimd/metadata.xml new file mode 100644 index 000000000..7e8334e1b --- /dev/null +++ b/dev-cpp/xsimd/metadata.xml @@ -0,0 +1,11 @@ + + + + + xgreenlandforwyy@gmail.com + Yiyang Wu + + + xtensor-stack/xsimd + + diff --git a/dev-cpp/xsimd/xsimd-10.0.0.ebuild b/dev-cpp/xsimd/xsimd-10.0.0.ebuild new file mode 100644 index 000000000..1a34b725b --- /dev/null +++ b/dev-cpp/xsimd/xsimd-10.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C++ wrappers for SIMD intrinsics and math implementations" +HOMEPAGE="https://github.com/xtensor-stack/xsimd" +SRC_URI="https://github.com/xtensor-stack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/doctest )" +RDEPEND="${DEPEND}" +BDEPEND="" + +PATCHES=( "${FILESDIR}"/remove-libdir-in-pc.patch ) + +src_configure() { + local mycmakeargs=( -DBUILD_TESTS="$(usex test ON OFF)" ) + cmake_src_configure +}