public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/numba-dpex/
Date: Mon, 12 Dec 2022 15:16:55 +0000 (UTC)	[thread overview]
Message-ID: <1670858203.ed36ad0f32e1bb4bbdbda41cbd52d0ecae29406b.andrewammerlaan@gentoo> (raw)

commit:     ed36ad0f32e1bb4bbdbda41cbd52d0ecae29406b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 12 15:16:43 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Dec 12 15:16:43 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ed36ad0f

dev-python/numba-dpex: new package, add 0.19.0

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/numba-dpex/metadata.xml             | 12 ++++++++
 dev-python/numba-dpex/numba-dpex-0.19.0.ebuild | 40 ++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/numba-dpex/metadata.xml b/dev-python/numba-dpex/metadata.xml
new file mode 100644
index 000000000..c98aa52a0
--- /dev/null
+++ b/dev-python/numba-dpex/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="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">IntelPython/numba-dpex</remote-id>
+		<remote-id type="pypi">numba-dpex</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/numba-dpex/numba-dpex-0.19.0.ebuild b/dev-python/numba-dpex/numba-dpex-0.19.0.ebuild
new file mode 100644
index 000000000..97aa311c9
--- /dev/null
+++ b/dev-python/numba-dpex/numba-dpex-0.19.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Data Parallel Extension for Numba"
+HOMEPAGE="https://github.com/IntelPython/numba-dpex"
+SRC_URI="https://github.com/IntelPython/numba-dpex/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	sys-devel/DPC++
+"
+
+RDEPEND="
+	dev-python/dpctl[${PYTHON_USEDEP}]
+	dev-python/dpnp[${PYTHON_USEDEP}]
+	dev-python/numba[${PYTHON_USEDEP}]
+	dev-python/packaging[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	# DPC++ compiler required for full functionality
+	export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+	export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
+	export DPCPPROOT="${ESYSROOT}/usr/lib/llvm/intel"
+
+	distutils-r1_python_prepare_all
+}


             reply	other threads:[~2022-12-12 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-12 15:16 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-26  5:25 [gentoo-commits] proj/sci:master commit in: dev-python/numba-dpex/ Andrew Ammerlaan
2023-03-17 10:24 Andrew Ammerlaan

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=1670858203.ed36ad0f32e1bb4bbdbda41cbd52d0ecae29406b.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