public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/xtl/
@ 2023-02-12 21:25 Kamal Abdellatif
  0 siblings, 0 replies; 5+ messages in thread
From: Kamal Abdellatif @ 2023-02-12 21:25 UTC (permalink / raw
  To: gentoo-commits

commit:     45227fe0d65a9fe946688daaa32c30935065ff7c
Author:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
AuthorDate: Sun Feb 12 21:16:38 2023 +0000
Commit:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
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
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/xtl/
@ 2023-02-13 15:47 Kamal Abdellatif
  0 siblings, 0 replies; 5+ messages in thread
From: Kamal Abdellatif @ 2023-02-13 15:47 UTC (permalink / raw
  To: gentoo-commits

commit:     31ba3a34b8c40f7bd68c5998640fac8e4da2930e
Author:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
AuthorDate: Mon Feb 13 10:26:09 2023 +0000
Commit:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
CommitDate: Mon Feb 13 15:43:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31ba3a34

dev-cpp/xtl: move tests out of src_compile

Signed-off-by: Kamal Abdellatif <gentoo.kamal <AT> tgf.pw>

 dev-cpp/xtl/xtl-0.7.5.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/xtl/xtl-0.7.5.ebuild b/dev-cpp/xtl/xtl-0.7.5.ebuild
index b1a9cf5da..939a65d5f 100644
--- a/dev-cpp/xtl/xtl-0.7.5.ebuild
+++ b/dev-cpp/xtl/xtl-0.7.5.ebuild
@@ -47,11 +47,13 @@ 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
 }
+
+src_test() {
+	cmake_src_compile xtest
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/xtl/
@ 2023-02-13 15:47 Kamal Abdellatif
  0 siblings, 0 replies; 5+ messages in thread
From: Kamal Abdellatif @ 2023-02-13 15:47 UTC (permalink / raw
  To: gentoo-commits

commit:     da74857cf833fe14ec26b1a13024d70bf48f4d79
Author:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
AuthorDate: Mon Feb 13 15:17:49 2023 +0000
Commit:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
CommitDate: Mon Feb 13 15:43:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da74857c

dev-cpp/xtl: avoid unnecessary test compilation during src_install

Signed-off-by: Kamal Abdellatif <gentoo.kamal <AT> tgf.pw>

 dev-cpp/xtl/xtl-0.7.5.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/dev-cpp/xtl/xtl-0.7.5.ebuild b/dev-cpp/xtl/xtl-0.7.5.ebuild
index 939a65d5f..83b5fa6f9 100644
--- a/dev-cpp/xtl/xtl-0.7.5.ebuild
+++ b/dev-cpp/xtl/xtl-0.7.5.ebuild
@@ -3,6 +3,9 @@
 
 EAPI=8
 
+# required because of manual install in src_install
+CMAKE_MAKEFILE_GENERATOR="emake"
+
 PYTHON_COMPAT=( python3_{9..11} )
 
 inherit cmake python-any-r1
@@ -57,3 +60,11 @@ src_compile() {
 src_test() {
 	cmake_src_compile xtest
 }
+
+src_install() {
+	# Default install target depends on tests with USE=test enabled.
+	# However, this is a header-only library.
+	DESTDIR="${D}" cmake_build install/fast "$@"
+
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/xtl/
@ 2023-02-14 12:40 Kamal Abdellatif
  0 siblings, 0 replies; 5+ messages in thread
From: Kamal Abdellatif @ 2023-02-14 12:40 UTC (permalink / raw
  To: gentoo-commits

commit:     aa236231abc5e8a6cc940436c4d94b5c35d36d4d
Author:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
AuthorDate: Tue Feb 14 12:34:46 2023 +0000
Commit:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
CommitDate: Tue Feb 14 12:40:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa236231

dev-cpp/xtl: add sphinx_rtd_theme dependency

Closes: https://bugs.gentoo.org/894290
Signed-off-by: Kamal Abdellatif <gentoo.kamal <AT> tgf.pw>

 dev-cpp/xtl/xtl-0.7.5.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/xtl/xtl-0.7.5.ebuild b/dev-cpp/xtl/xtl-0.7.5.ebuild
index 83b5fa6f9..bed500655 100644
--- a/dev-cpp/xtl/xtl-0.7.5.ebuild
+++ b/dev-cpp/xtl/xtl-0.7.5.ebuild
@@ -26,6 +26,7 @@ BDEPEND="
 		$(python_gen_any_dep '
 			dev-python/breathe[${PYTHON_USEDEP}]
 			dev-python/sphinx[${PYTHON_USEDEP}]
+			dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
 		')
 	)
 	test? ( dev-cpp/doctest )
@@ -36,7 +37,8 @@ RESTRICT="!test? ( test )"
 python_check_deps() {
 	python_has_version \
 		"dev-python/breathe[${PYTHON_USEDEP}]" \
-		"dev-python/sphinx[${PYTHON_USEDEP}]"
+		"dev-python/sphinx[${PYTHON_USEDEP}]" \
+		"dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/xtl/
  2024-05-15 16:06 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-05-15 16:01 ` Julien Roy
  0 siblings, 0 replies; 5+ messages in thread
From: Julien Roy @ 2024-05-15 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     de4e6a0651acba44870162999763702201b34933
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed May 15 16:00:51 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed May 15 16:01:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de4e6a06

dev-cpp/xtl: enable py3.12

Closes: https://bugs.gentoo.org/931362
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-cpp/xtl/xtl-0.7.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/xtl/xtl-0.7.5.ebuild b/dev-cpp/xtl/xtl-0.7.5.ebuild
index 4f4bc3598f..3553b2ce10 100644
--- a/dev-cpp/xtl/xtl-0.7.5.ebuild
+++ b/dev-cpp/xtl/xtl-0.7.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 # required because of manual install in src_install
 CMAKE_MAKEFILE_GENERATOR="emake"
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake python-any-r1
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-15 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-14 12:40 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/xtl/ Kamal Abdellatif
  -- strict thread matches above, loose matches on Subject: below --
2024-05-15 16:06 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-15 16:01 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2023-02-13 15:47 Kamal Abdellatif
2023-02-13 15:47 Kamal Abdellatif
2023-02-12 21:25 Kamal Abdellatif

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox