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

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Oct 9 02:02:06 UTC 2016


    Date: Sunday, October 9, 2016 @ 02:02:05
  Author: svenstaro
Revision: 191673

archrelease: copy trunk to community-x86_64

Added:
  python-pycuda/repos/community-x86_64/LICENSE
    (from rev 191672, python-pycuda/trunk/LICENSE)
  python-pycuda/repos/community-x86_64/PKGBUILD
    (from rev 191672, python-pycuda/trunk/PKGBUILD)
Deleted:
  python-pycuda/repos/community-x86_64/LICENSE
  python-pycuda/repos/community-x86_64/PKGBUILD

----------+
 LICENSE  |   14 ++---
 PKGBUILD |  154 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 84 insertions(+), 84 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2016-10-09 02:01:46 UTC (rev 191672)
+++ LICENSE	2016-10-09 02:02:05 UTC (rev 191673)
@@ -1,7 +0,0 @@
-Copyright (c) 2009,10 Andreas Klöckner and Contributors.
-
-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-pycuda/repos/community-x86_64/LICENSE (from rev 191672, python-pycuda/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2016-10-09 02:02:05 UTC (rev 191673)
@@ -0,0 +1,7 @@
+Copyright (c) 2009,10 Andreas Klöckner and Contributors.
+
+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	2016-10-09 02:01:46 UTC (rev 191672)
+++ PKGBUILD	2016-10-09 02:02:05 UTC (rev 191673)
@@ -1,77 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-
-pkgbase=python-pycuda
-pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
-pkgver=2016.1.2
-pkgrel=2
-pkgdesc="Python wrapper for Nvidia CUDA"
-arch=('x86_64')
-url="http://mathema.tician.de/software/pycuda"
-license=('MIT' 'Apache')
-source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz"
-        LICENSE)
-makedepends=('ctags' 'python2-setuptools' 'python-setuptools' 'python2-numpy' 'python-numpy' 'mesa' 'cuda' 'boost' 'nvidia-utils')
-sha512sums=('7a1a9d6723651bdc6f584de884c46bbaa17970e622b4d800c7f36ff57817807a51c7e4aa0a40872e46fc1243087af6dda07489bb60b6a33f52740a4d7a9e69a7'
-            'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
-
-build() {
-   cd "${srcdir}"
-  
-   _arch=''
-   [[ "$CARCH" = "x86_64" ]] && _arch='64'
-
-   cp -a pycuda-${pkgver}{,-python2}
-  
-   cd "${srcdir}"/pycuda-${pkgver}
-   python3 ./configure.py \
-                  --cuda-root=/opt/cuda \
-                  --cuda-inc-dir=/opt/cuda/include \
-                  --cudadrv-lib-dir=/opt/cuda/lib${_arch} \
-                  --cudart-lib-dir=/opt/cuda/lib${_arch} \
-                  --no-use-shipped-boost \
-                  --boost-python-libname=boost_python3
-   make
-
-   cd "${srcdir}"/pycuda-${pkgver}-python2
-   python2 ./configure.py \
-                  --cuda-root=/opt/cuda \
-                  --cuda-inc-dir=/opt/cuda/include \
-                  --cudadrv-lib-dir=/opt/cuda/lib${_arch} \
-                  --cudart-lib-dir=/opt/cuda/lib${_arch} \
-                  --no-use-shipped-boost \
-                  --boost-python-libname=boost_python
-   make
-}
-
-package_python-pycuda() {
-   depends=('cuda' 'nvidia-utils' 'python-numpy' 'python-pytools' 'python' 'boost-libs' 'pycuda-headers')
-   cd "${srcdir}"/pycuda-${pkgver}
-   python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-
-   install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-   rm -fr "${pkgdir}"/usr/include
-}
-
-package_python2-pycuda() {
-   depends=('cuda' 'nvidia-utils' 'python2-numpy' 'python2-pytools' 'python2' 'boost-libs' 'pycuda-headers')
-   cd "${srcdir}"/pycuda-${pkgver}-python2
-   python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-
-   install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-   rm -fr "${pkgdir}"/usr/include   
-}
-
-package_pycuda-headers() {
-   cd "${srcdir}"/pycuda-${pkgver}
-   install -dm755 "${pkgdir}"/usr/include/pycuda
-
-   for file in $(ls -1 src/cpp/*.hpp); do
-      install -m644 ${file} "${pkgdir}"/usr/include/pycuda
-   done
-
-   install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-pycuda/repos/community-x86_64/PKGBUILD (from rev 191672, python-pycuda/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-09 02:02:05 UTC (rev 191673)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2016.1.2
+pkgrel=3
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda"
+license=('MIT' 'Apache')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz"
+        LICENSE)
+makedepends=('ctags' 'python2-setuptools' 'python-setuptools' 'python2-numpy' 'python-numpy' 'mesa' 'cuda' 'boost' 'nvidia-utils')
+sha512sums=('7a1a9d6723651bdc6f584de884c46bbaa17970e622b4d800c7f36ff57817807a51c7e4aa0a40872e46fc1243087af6dda07489bb60b6a33f52740a4d7a9e69a7'
+            'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
+
+build() {
+   cd "${srcdir}"
+  
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   cp -a pycuda-${pkgver}{,-python2}
+  
+   cd "${srcdir}"/pycuda-${pkgver}
+   python3 ./configure.py \
+                  --cuda-root=/opt/cuda \
+                  --cuda-inc-dir=/opt/cuda/include \
+                  --cudadrv-lib-dir=/opt/cuda/lib${_arch} \
+                  --cudart-lib-dir=/opt/cuda/lib${_arch} \
+                  --no-use-shipped-boost \
+                  --boost-python-libname=boost_python3
+   make
+
+   cd "${srcdir}"/pycuda-${pkgver}-python2
+   python2 ./configure.py \
+                  --cuda-root=/opt/cuda \
+                  --cuda-inc-dir=/opt/cuda/include \
+                  --cudadrv-lib-dir=/opt/cuda/lib${_arch} \
+                  --cudart-lib-dir=/opt/cuda/lib${_arch} \
+                  --no-use-shipped-boost \
+                  --boost-python-libname=boost_python
+   make
+}
+
+package_python-pycuda() {
+   depends=('cuda' 'nvidia-utils' 'python-numpy' 'python-pytools' 'python' 'boost-libs' 'pycuda-headers')
+   cd "${srcdir}"/pycuda-${pkgver}
+   python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+
+   install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+   rm -fr "${pkgdir}"/usr/include
+}
+
+package_python2-pycuda() {
+   depends=('cuda' 'nvidia-utils' 'python2-numpy' 'python2-pytools' 'python2' 'boost-libs' 'pycuda-headers')
+   cd "${srcdir}"/pycuda-${pkgver}-python2
+   python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+
+   install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+   rm -fr "${pkgdir}"/usr/include   
+}
+
+package_pycuda-headers() {
+   cd "${srcdir}"/pycuda-${pkgver}
+   install -dm755 "${pkgdir}"/usr/include/pycuda
+
+   for file in $(ls -1 src/cpp/*.hpp); do
+      install -m644 ${file} "${pkgdir}"/usr/include/pycuda
+   done
+
+   install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list