public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-cpp/blitz/
Date: Fri,  2 Oct 2020 10:27:09 +0000 (UTC)	[thread overview]
Message-ID: <1601602707.b6a975ddfc6833b2b1af8e560a3c5cc6b9dfe678.epsilon-0@gentoo> (raw)

commit:     b6a975ddfc6833b2b1af8e560a3c5cc6b9dfe678
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Oct  2 01:13:18 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Oct  2 01:38:27 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b6a975dd

dev-cpp/blitz: cpp tensor library

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-cpp/blitz/blitz-1.0.2_p20200524.ebuild | 40 ++++++++++++++++++++++++++++++
 dev-cpp/blitz/blitz-9999.ebuild            | 40 ++++++++++++++++++++++++++++++
 dev-cpp/blitz/metadata.xml                 | 12 +++++++++
 3 files changed, 92 insertions(+)

diff --git a/dev-cpp/blitz/blitz-1.0.2_p20200524.ebuild b/dev-cpp/blitz/blitz-1.0.2_p20200524.ebuild
new file mode 100644
index 000000000..47a9e5d25
--- /dev/null
+++ b/dev-cpp/blitz/blitz-1.0.2_p20200524.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+CMAKE_MAKEFILE_GENERATOR=emake
+
+DESCRIPTION="multi-dimensional array library for C++"
+HOMEPAGE="https://github.com/blitzpp/blitz"
+
+if [[ ${PV} == 9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/blitzpp/blitz"
+else
+	COMMIT=39f885951a9b8b11f931f917935a16066a945056
+	SRC_URI="https://github.com/blitzpp/blitz/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}"/${PN}-${COMMIT}
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="BSD LGPL-3+"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	if use test; then
+		cmake_build check-testsuite check-benchmarks check-examples
+	else
+		cmake build
+	fi
+}

diff --git a/dev-cpp/blitz/blitz-9999.ebuild b/dev-cpp/blitz/blitz-9999.ebuild
new file mode 100644
index 000000000..47a9e5d25
--- /dev/null
+++ b/dev-cpp/blitz/blitz-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+CMAKE_MAKEFILE_GENERATOR=emake
+
+DESCRIPTION="multi-dimensional array library for C++"
+HOMEPAGE="https://github.com/blitzpp/blitz"
+
+if [[ ${PV} == 9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/blitzpp/blitz"
+else
+	COMMIT=39f885951a9b8b11f931f917935a16066a945056
+	SRC_URI="https://github.com/blitzpp/blitz/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}"/${PN}-${COMMIT}
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="BSD LGPL-3+"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	if use test; then
+		cmake_build check-testsuite check-benchmarks check-examples
+	else
+		cmake build
+	fi
+}

diff --git a/dev-cpp/blitz/metadata.xml b/dev-cpp/blitz/metadata.xml
new file mode 100644
index 000000000..e97c4322a
--- /dev/null
+++ b/dev-cpp/blitz/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gentoo@aisha.cc</email>
+		<name>Aisha Tammy</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2020-10-02 10:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-02 10:27 Aisha Tammy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-20 15:44 [gentoo-commits] proj/sci:master commit in: dev-cpp/blitz/ Aisha Tammy
2021-04-20 15:44 Aisha Tammy
2021-08-31  9:45 Andrew Ammerlaan
2022-01-15 14:14 Andrew Ammerlaan
2022-01-23 13:33 Andrew Ammerlaan
2022-07-07  3:34 Sam James
2024-01-22 12:21 Horea Christian

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=1601602707.b6a975ddfc6833b2b1af8e560a3c5cc6b9dfe678.epsilon-0@gentoo \
    --to=gentoo@aisha.cc \
    --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