From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/xtl/
Date: Mon, 13 Feb 2023 11:28:00 +0000 (UTC) [thread overview]
Message-ID: <1676236598.45227fe0d65a9fe946688daaa32c30935065ff7c.andrewammerlaan@gentoo> (raw)
commit: 45227fe0d65a9fe946688daaa32c30935065ff7c
Author: Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
AuthorDate: Sun Feb 12 21:16:38 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> 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 <gentoo.kamal <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo.kamal@tgf.pw</email>
+ <name>Kamal Abdellatif</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">xtensor-stack/xtl</remote-id>
+ <doc>https://xtl.readthedocs.io/en/latest/</doc>
+ </upstream>
+</pkgmetadata>
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
+}
next reply other threads:[~2023-02-13 11:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-13 11:28 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-14 12:02 [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/xtl/ Florian Schmaus
2023-02-14 12:02 Florian Schmaus
2023-02-16 12:47 Haelwenn Monnier
2024-05-15 16:06 Julien Roy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1676236598.45227fe0d65a9fe946688daaa32c30935065ff7c.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox