Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: python3-pytools-2020.1 python3-pyopencl-2020.1
Date: Wed, 20 May 2020 12:26:06 +0200	[thread overview]
Message-ID: <20200520102606.P2bCPr4dZep3k7FDY-grvPw_SQJQnF6XCgil0REqxAU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22097@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

There is an updated pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages pyopencl
https://github.com/void-linux/void-packages/pull/22097

New packages: python3-pytools-2020.1 python3-pyopencl-2020.1
Python bindings for OpenCL and a dependency

A patch file from https://github.com/void-linux/void-packages/pull/22097.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pyopencl-22097.patch --]
[-- Type: text/x-diff, Size: 2579 bytes --]

From 105a1ed7b729490d859011ff770f9bbc0b11ded3 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Mon, 18 May 2020 14:20:23 -0400
Subject: [PATCH 1/2] New package: python3-pytools-2020.1

---
 srcpkgs/python3-pytools/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytools/template

diff --git a/srcpkgs/python3-pytools/template b/srcpkgs/python3-pytools/template
new file mode 100644
index 00000000000..6b6cd5463f8
--- /dev/null
+++ b/srcpkgs/python3-pytools/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytools'
+pkgname=python3-pytools
+version=2020.1
+revision=1
+archs=noarch
+wrksrc=${pkgname#*-}-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-decorator python3-appdirs python3-six python3-numpy"
+short_desc="Python utilities from Andreas Kloeckner"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="X11"
+homepage="https://pypi.org/project/pytools"
+distfiles="${PYPI_SITE}/p/pytools/pytools-${version}.tar.gz"
+checksum=c132d17855584ad61c6e00f3ff11146499755944afc400cce9eae0ecf03d04a6
+
+post_install() {
+	vlicense LICENSE
+}

From 4ecc54ab04c47a3068e10b09770e7655aa11a619 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Mon, 18 May 2020 14:20:26 -0400
Subject: [PATCH 2/2] New package: python3-pyopencl-2020.1

---
 srcpkgs/python3-pyopencl/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-pyopencl/template

diff --git a/srcpkgs/python3-pyopencl/template b/srcpkgs/python3-pyopencl/template
new file mode 100644
index 00000000000..41810616482
--- /dev/null
+++ b/srcpkgs/python3-pyopencl/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-pyopencl'
+pkgname=python3-pyopencl
+version=2020.1
+revision=1
+wrksrc=${pkgname#*-}-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pybind11 python3-Cython"
+makedepends="opencl2-headers ocl-icd-devel python3-pybind11"
+depends="python3-pytools"
+short_desc="OpenCL bindings for Python 3"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="X11, Apache-2.0, BSD-3-Clause"
+homepage="https://mathema.tician.de/software/pyopencl"
+distfiles="${PYPI_SITE}/p/pyopencl/pyopencl-${version}.tar.gz"
+checksum=7513f7054f4eeb5361de1f5113883145fc67dbabde73a2148f221ae05af4d22c
+
+do_configure() {
+	./configure.py --cl-inc-dir=${XBPS_CROSS_BASE}/usr/include \
+		--cl-lib-dir=${XBPS_CROSS_BASE}/usr/lib
+}
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2020-05-20 10:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-18 18:26 [PR PATCH] " ahesford
2020-05-18 20:56 ` [PR PATCH] [Updated] " ahesford
2020-05-19 17:49 ` st3r4g
2020-05-20 10:26 ` ahesford [this message]
2020-05-31 13:44 ` [PR PATCH] [Merged]: " Piraty

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=20200520102606.P2bCPr4dZep3k7FDY-grvPw_SQJQnF6XCgil0REqxAU@z \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).