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 094BC15800F 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 A8ABEE0825; Mon, 13 Feb 2023 11:28:04 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8AE1BE0824 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 1D3ED340DD5 for ; Mon, 13 Feb 2023 11:28:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6E698B8 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: <1676236598.45227fe0d65a9fe946688daaa32c30935065ff7c.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/xtl/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/xtl/Manifest dev-cpp/xtl/metadata.xml dev-cpp/xtl/xtl-0.7.5.ebuild X-VCS-Directories: dev-cpp/xtl/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 45227fe0d65a9fe946688daaa32c30935065ff7c 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: adba9e6a-5627-45cb-afd6-d692b5c6a1d6 X-Archives-Hash: de7713e042a4681bd19bdc07bbab1725 commit: 45227fe0d65a9fe946688daaa32c30935065ff7c Author: Kamal Abdellatif tgf pw> AuthorDate: Sun Feb 12 21:16:38 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Feb 12 21:16:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45227fe0 dev-cpp/xtl: new package, add 0.7.5 Signed-off-by: Kamal Abdellatif tgf.pw> dev-cpp/xtl/Manifest | 1 + dev-cpp/xtl/metadata.xml | 12 ++++++++++ dev-cpp/xtl/xtl-0.7.5.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/dev-cpp/xtl/Manifest b/dev-cpp/xtl/Manifest new file mode 100644 index 000000000..8820db2e3 --- /dev/null +++ b/dev-cpp/xtl/Manifest @@ -0,0 +1 @@ +DIST xtl-0.7.5.tar.gz 160548 BLAKE2B 61d8c8c8e69722e2d29bd70991840650b22f2f440e2ee8100786869e4410ace8a5063cc0101361aedca963607cf046bb46e923fc096e25d731affdf2876ef4fa SHA512 fb447334f68f255d7d28c9202eee2cec70d007c1031f3756a6acd0cc019c0d95ed1d12ec63f2e9fb3df184f9ec305e6a3c808bb88c1e3eb922916ad059d2e856 diff --git a/dev-cpp/xtl/metadata.xml b/dev-cpp/xtl/metadata.xml new file mode 100644 index 000000000..db0f046c8 --- /dev/null +++ b/dev-cpp/xtl/metadata.xml @@ -0,0 +1,12 @@ + + + + + gentoo.kamal@tgf.pw + Kamal Abdellatif + + + xtensor-stack/xtl + https://xtl.readthedocs.io/en/latest/ + + diff --git a/dev-cpp/xtl/xtl-0.7.5.ebuild b/dev-cpp/xtl/xtl-0.7.5.ebuild new file mode 100644 index 000000000..b1a9cf5da --- /dev/null +++ b/dev-cpp/xtl/xtl-0.7.5.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="Algorithms and containers used by the xtensor stack and the xeus stack" +HOMEPAGE="https://github.com/xtensor-stack/xtl" +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 +}