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 B3A7215800F for ; Mon, 13 Feb 2023 11:28:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07FE1E0855; Mon, 13 Feb 2023 11:28:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E38E7E0855 for ; Mon, 13 Feb 2023 11:28:04 +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 2AA4A340DAF for ; Mon, 13 Feb 2023 11:28:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B957C8B9 for ; Mon, 13 Feb 2023 11:28:00 +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: <1676236643.f7c8740629193fe7371666f1dffd84c4af4acf75.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/xsimd/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/xsimd/Manifest dev-cpp/xsimd/metadata.xml dev-cpp/xsimd/xsimd-10.0.0.ebuild X-VCS-Directories: dev-cpp/xsimd/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: f7c8740629193fe7371666f1dffd84c4af4acf75 X-VCS-Branch: master Date: Mon, 13 Feb 2023 11:28:00 +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: 1832edc1-831d-4f89-a49e-eb0f2bb182a5 X-Archives-Hash: 37d294d7e18a35971733414bb4e62e60 commit: f7c8740629193fe7371666f1dffd84c4af4acf75 Author: Kamal Abdellatif tgf pw> AuthorDate: Sun Feb 12 21:17:23 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Feb 12 21:17:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7c87406 dev-cpp/xsimd: new package, add 10.0.0 Signed-off-by: Kamal Abdellatif tgf.pw> dev-cpp/xsimd/Manifest | 1 + dev-cpp/xsimd/metadata.xml | 12 +++++++++ dev-cpp/xsimd/xsimd-10.0.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/dev-cpp/xsimd/Manifest b/dev-cpp/xsimd/Manifest new file mode 100644 index 000000000..1411b4acf --- /dev/null +++ b/dev-cpp/xsimd/Manifest @@ -0,0 +1 @@ +DIST xsimd-10.0.0.tar.gz 212082 BLAKE2B 2a3c6dd711f9e7ffd32ce3fd9a6056a56768a0f5b6ff412d2c5cd5f82682cac87ed0a68109a449ab6337f89a4719e9ab25f94060d3f675783ce00c79e3378512 SHA512 bd7a363bbebc9196954c8c87271f14f05ca177569fcf080dac91be06ad2801c43fccbb385afd700b80d58c83d77f26ba199a7105672e4a1e55c517d15dd6e8e3 diff --git a/dev-cpp/xsimd/metadata.xml b/dev-cpp/xsimd/metadata.xml new file mode 100644 index 000000000..9e861cd9e --- /dev/null +++ b/dev-cpp/xsimd/metadata.xml @@ -0,0 +1,12 @@ + + + + + gentoo.kamal@tgf.pw + Kamal Abdellatif + + + xtensor-stack/xsimd + https://xsimd.readthedocs.io/en/latest/ + + 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..0398f664b --- /dev/null +++ b/dev-cpp/xsimd/xsimd-10.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cmake python-any-r1 + +DESCRIPTION="C++ wrappers for SIMD intrinsics" +HOMEPAGE="https://github.com/xtensor-stack/xsimd" +SRC_URI="https://codeload.github.com/xtensor-stack/${PN}/tar.gz/refs/tags/${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="doc test" + +BDEPEND=" + doc? ( + app-doc/doxygen + $(python_gen_any_dep ' + dev-python/breathe[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') + ) + test? ( dev-cpp/doctest ) +" + +RESTRICT="!test? ( test )" + +python_check_deps() { + python_has_version \ + "dev-python/breathe[${PYTHON_USEDEP}]" \ + "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use doc && python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( -DBUILD_TESTS=$(usex test) ) + + cmake_src_configure +} + +src_compile() { + use test && cmake_src_compile xtest + + if use doc; then + cd "${WORKDIR}/${P}/docs" || die + emake html BUILDDIR="${BUILD_DIR}" + HTML_DOCS=( "${BUILD_DIR}/html/." ) + fi +}