[arch-commits] Commit in python-pyopencl/repos/community-testing-x86_64 (4 files)

Eli Schwartz eschwartz at archlinux.org
Mon Aug 6 05:40:09 UTC 2018


    Date: Monday, August 6, 2018 @ 05:40:09
  Author: eschwartz
Revision: 368454

archrelease: copy trunk to community-testing-x86_64

Added:
  python-pyopencl/repos/community-testing-x86_64/LICENSE.txt
    (from rev 368453, python-pyopencl/trunk/LICENSE.txt)
  python-pyopencl/repos/community-testing-x86_64/PKGBUILD
    (from rev 368453, python-pyopencl/trunk/PKGBUILD)
Deleted:
  python-pyopencl/repos/community-testing-x86_64/LICENSE.txt
  python-pyopencl/repos/community-testing-x86_64/PKGBUILD

-------------+
 LICENSE.txt |   40 ++++++++--------
 PKGBUILD    |  144 +++++++++++++++++++++++++++++-----------------------------
 2 files changed, 92 insertions(+), 92 deletions(-)

Deleted: LICENSE.txt
===================================================================
--- LICENSE.txt	2018-08-06 05:39:51 UTC (rev 368453)
+++ LICENSE.txt	2018-08-06 05:40:09 UTC (rev 368454)
@@ -1,20 +0,0 @@
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.

Copied: python-pyopencl/repos/community-testing-x86_64/LICENSE.txt (from rev 368453, python-pyopencl/trunk/LICENSE.txt)
===================================================================
--- LICENSE.txt	                        (rev 0)
+++ LICENSE.txt	2018-08-06 05:40:09 UTC (rev 368454)
@@ -0,0 +1,20 @@
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-06 05:39:51 UTC (rev 368453)
+++ PKGBUILD	2018-08-06 05:40:09 UTC (rev 368454)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintianer:
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-
-_pypiname=pyopencl
-pkgbase=python-pyopencl
-pkgname=('python2-pyopencl' 'python-pyopencl' 'pyopencl-headers')
-pkgver=2018.1.1
-pkgrel=2
-pkgdesc="A complete, object-oriented language binding of OpenCL to Python"
-arch=('x86_64')
-url="http://mathema.tician.de/software/pyopencl"
-license=('custom')
-epoch=1
-checkdepends=('python2-six' 'python-six' 'python-appdirs' 'python2-appdirs')
-makedepends=('boost-libs' 'ctags' 'python2-setuptools' 'python-setuptools' 'opencl-icd-loader' 'opencl-headers' 'mesa' 'boost' 'python2-mako' 'python-mako' 'python-numpy' 'python2-numpy')
-source=("https://pypi.io/packages/source/p/$_pypiname/$_pypiname-${pkgver}.tar.gz"
-        'LICENSE.txt')
-sha1sums=('40d036172fd4367a0243356a617c5f91bee1f3cc'
-          '2e6966b3d9b15603ce2c3ff79eeadd63c5d066b7')
-
-build() {
-   cp -a pyopencl-$pkgver{,-python2}
-
-   cd pyopencl-${pkgver}
-   python3 ./configure.py --cl-enable-gl --python-exe=python3 --cl-pretend-version=1.2 # --boost-python-libname=boost_python3
-   make
-
-   cd "$srcdir/pyopencl-$pkgver-python2"
-   python2 ./configure.py --cl-enable-gl --python-exe=python2 --cl-pretend-version=1.2 # --boost-python-libname=boost_python
-   make
-}
-
-check(){
-   cd pyopencl-${pkgver}
-#   python3 setup.py test
-
-   cd "$srcdir/pyopencl-$pkgver-python2"
-#   python2 setup.py test
-}
-
-package_python-pyopencl() {
-   depends=('opencl-icd-loader' 'opencl-headers' 'mesa' 'boost-libs' 'python' 'python-numpy' 'python-mako' 'python-pytools' 'pyopencl-headers' 'python-setuptools' 'python-cffi')
-
-   cd pyopencl-${pkgver}
-   python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
-   rm -fr "${pkgdir}"/usr/include
-
-   install -D -m644 $srcdir/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-pyopencl() {
-   depends=('opencl-icd-loader' 'opencl-headers' 'mesa' 'boost-libs' 'python2' 'python2-numpy' 'python2-mako' 'python2-pytools' 'pyopencl-headers' 'python2-setuptools' 'python2-cffi')
-
-   cd pyopencl-${pkgver}-python2
-   python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
-    rm -fr "${pkgdir}"/usr/include/
-
-   install -D -m644 $srcdir/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_pyopencl-headers() {
-   cd pyopencl-${pkgver}
-   install -dm755 "${pkgdir}"/usr/include/pyopencl
-
-  for file in pyopencl-airy.cl  pyopencl-bessel-j.cl  pyopencl-bessel-y.cl  pyopencl-complex.h  pyopencl-eval-tbl.cl  pyopencl-ranluxcl.cl; do
-      install -m644 pyopencl/cl/${file} "${pkgdir}"/usr/include/pyopencl
-   done
-   install -D -m644 $srcdir/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-pyopencl/repos/community-testing-x86_64/PKGBUILD (from rev 368453, python-pyopencl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-06 05:40:09 UTC (rev 368454)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintianer:
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+_pypiname=pyopencl
+pkgbase=python-pyopencl
+pkgname=('python2-pyopencl' 'python-pyopencl' 'pyopencl-headers')
+pkgver=2018.1.1
+pkgrel=3
+epoch=1
+pkgdesc="A complete, object-oriented language binding of OpenCL to Python"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pyopencl"
+license=('MIT' 'Apache' 'BSD')
+depends=('opencl-icd-loader' 'opencl-headers' 'mesa' 'boost-libs')
+makedepends=('ctags' 'boost' 'python-setuptools' 'python2-setuptools' 'python-mako' 'python2-mako'
+             'python-numpy' 'python2-numpy' 'python-cffi' 'python2-cffi')
+checkdepends=('python-six' 'python2-six' 'python-appdirs' 'python2-appdirs')
+source=("https://pypi.io/packages/source/p/$_pypiname/$_pypiname-${pkgver}.tar.gz")
+sha1sums=('40d036172fd4367a0243356a617c5f91bee1f3cc')
+
+build() {
+   cp -a pyopencl-$pkgver{,-python2}
+
+   cd pyopencl-${pkgver}
+   python3 ./configure.py --cl-enable-gl --python-exe=python3 --cl-pretend-version=1.2 # --boost-python-libname=boost_python3
+   make
+
+   cd "$srcdir/pyopencl-$pkgver-python2"
+   python2 ./configure.py --cl-enable-gl --python-exe=python2 --cl-pretend-version=1.2 # --boost-python-libname=boost_python
+   make
+}
+
+#check(){
+#   cd pyopencl-${pkgver}
+#   python3 setup.py test
+#
+#   cd "$srcdir/pyopencl-$pkgver-python2"
+#   python2 setup.py test
+#}
+
+package_python-pyopencl() {
+   depends+=('python' 'python-numpy' 'python-mako' 'python-pytools' 'pyopencl-headers' 'python-setuptools' 'python-cffi')
+
+   cd pyopencl-${pkgver}
+   python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+
+   rm -fr "${pkgdir}"/usr/include
+
+   install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-pyopencl() {
+   depends+=('python2' 'python2-numpy' 'python2-mako' 'python2-pytools' 'pyopencl-headers' 'python2-setuptools' 'python2-cffi')
+
+   cd pyopencl-${pkgver}-python2
+   python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+
+    rm -fr "${pkgdir}"/usr/include/
+
+   install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_pyopencl-headers() {
+   cd pyopencl-${pkgver}
+   install -dm755 "${pkgdir}"/usr/include/pyopencl
+
+  for file in pyopencl-airy.cl  pyopencl-bessel-j.cl  pyopencl-bessel-y.cl  pyopencl-complex.h  pyopencl-eval-tbl.cl  pyopencl-ranluxcl.cl; do
+      install -m644 pyopencl/cl/${file} "${pkgdir}"/usr/include/pyopencl
+   done
+   install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list