From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1403686-garchives=archives.gentoo.org@lists.gentoo.org>
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) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 75292158091
	for <garchives@archives.gentoo.org>; Thu,  2 Jun 2022 01:23:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7B1D1E07C7;
	Thu,  2 Jun 2022 01:23:35 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5D669E07C7
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Jun 2022 01:23:35 +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 D2633341B44
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Jun 2022 01:23:33 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F46E4E5
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Jun 2022 01:23:32 +0000 (UTC)
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
Message-ID: <1654133009.473d4ede7e72f53122b8ab5bfb5df6a5cffda139.Alessandro-Barbieri@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/plasma/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: sci-libs/plasma/Manifest sci-libs/plasma/metadata.xml sci-libs/plasma/plasma-21.8.29.ebuild
X-VCS-Directories: sci-libs/plasma/
X-VCS-Committer: Alessandro-Barbieri
X-VCS-Committer-Name: Alessandro Barbieri
X-VCS-Revision: 473d4ede7e72f53122b8ab5bfb5df6a5cffda139
X-VCS-Branch: dev
Date: Thu,  2 Jun 2022 01:23:32 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: ed26386e-6bac-4669-96ff-87c616f1970d
X-Archives-Hash: fd093502585682a80ddc1ce7dfc575ec

commit:     473d4ede7e72f53122b8ab5bfb5df6a5cffda139
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Jun  1 11:06:28 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Jun  2 01:23:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=473d4ede

sci-libs/plasma: new package, add 21.8.29

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-libs/plasma/Manifest              |  1 +
 sci-libs/plasma/metadata.xml          | 15 ++++++++++
 sci-libs/plasma/plasma-21.8.29.ebuild | 54 +++++++++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+)

diff --git a/sci-libs/plasma/Manifest b/sci-libs/plasma/Manifest
new file mode 100644
index 000000000..b805bc355
--- /dev/null
+++ b/sci-libs/plasma/Manifest
@@ -0,0 +1 @@
+DIST plasma-21.8.29.tar.gz 596586 BLAKE2B c41e8b86827ec0137b35bd882ae09acfdcf81f75dc45c17be79b2f08f237ce9c82c58fb4815f1c7b285df7ce9f7e3308d1fb7d0b5596dbb72d2583ccae9af8fd SHA512 4f56d4e31c2fdf52d4504856d3fb54f49f5f1b946e477a0125b24eabf11737064e81ba4fd87e6c3d480259e8a97bdcf13d7db2925a55e4a5ef595b2fbb94d684

diff --git a/sci-libs/plasma/metadata.xml b/sci-libs/plasma/metadata.xml
new file mode 100644
index 000000000..690a401a9
--- /dev/null
+++ b/sci-libs/plasma/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>lssndrbarbieri@gmail.com</email>
+        <name>Alessandro Barbieri</name>
+    </maintainer>
+    <upstream>
+        <bugs-to>https://bitbucket.org/icl/plasma/issues</bugs-to>
+        <remote-id type="bitbucket">icl/plasma</remote-id>
+        <remote-id type="github">NLAFET/plasma</remote-id>
+    </upstream>
+    <longdescription lang="en">PLASMA is a software package for solving problems in dense linear algebra using OpenMP. PLASMA provides implementations of state-of-the-art algorithms using cutting-edge task scheduling techniques. PLASMA currently offers a collection of routines for solving linear systems of equations, least squares problems, eigenvalue problems, and singular value problems.</longdescription>
+    <!--<use><flag name="magma">Use magma as dependency</flag></use>-->
+</pkgmetadata>

diff --git a/sci-libs/plasma/plasma-21.8.29.ebuild b/sci-libs/plasma/plasma-21.8.29.ebuild
new file mode 100644
index 000000000..7ef115592
--- /dev/null
+++ b/sci-libs/plasma/plasma-21.8.29.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake edo python-any-r1
+
+DESCRIPTION="PLASMA parallel library for dense linear algebra"
+HOMEPAGE="
+	https://bitbucket.org/icl/plasma
+	https://github.com/NLAFET/plasma
+"
+SRC_URI="https://bitbucket.org/icl/plasma/downloads/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="BSD-2"
+SLOT="0"
+# TODO: magma (requires cuda)
+
+RDEPEND="
+	dev-lang/lua
+	virtual/blas
+	virtual/cblas
+	virtual/lapack
+	virtual/lapacke
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	virtual/pkgconfig
+"
+
+DOCS=( README.md ChangeLog )
+
+src_prepare() {
+#	edo rm -r tools/lua*
+	edo sed -e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" -i CMakeLists.txt
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DPLASMA_DETECT_LUA=ON
+		-DPLASMA_DETECT_MAGMA=OFF
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	einstalldocs
+}