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 E016315800F for ; Sun, 12 Feb 2023 21:25:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17116E0845; Sun, 12 Feb 2023 21:25:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 E9537E0845 for ; Sun, 12 Feb 2023 21:25:03 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0324C34092D for ; Sun, 12 Feb 2023 21:25:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29155824 for ; Sun, 12 Feb 2023 21:25:01 +0000 (UTC) From: "Kamal Abdellatif" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kamal Abdellatif" Message-ID: <1676236643.f7c8740629193fe7371666f1dffd84c4af4acf75.gentoo.kamal@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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: gentoo.kamal X-VCS-Committer-Name: Kamal Abdellatif X-VCS-Revision: f7c8740629193fe7371666f1dffd84c4af4acf75 X-VCS-Branch: dev Date: Sun, 12 Feb 2023 21:25:01 +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: a6f2ab78-0e88-4595-950e-12e25eb6241a X-Archives-Hash: 471eb60daedf24272c5fcc35afe4782e commit: f7c8740629193fe7371666f1dffd84c4af4acf75 Author: Kamal Abdellatif tgf pw> AuthorDate: Sun Feb 12 21:17:23 2023 +0000 Commit: Kamal Abdellatif tgf pw> 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 +}