[arch-commits] Commit in python-pycuda/repos (3 files)

2020-12-12 Thread Felix Yan via arch-commits
Date: Saturday, December 12, 2020 @ 15:56:53
  Author: felixonmars
Revision: 773368

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +++
 PKGBUILD |   54 ++
 2 files changed, 61 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 773367, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2020-12-12 15:56:53 UTC (rev 773368)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 773367, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-12 15:56:53 UTC (rev 773368)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'pycuda-headers')
+pkgver=2020.1
+pkgrel=5
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
+sha512sums=('b9992060cd27b5bbc4a2245bb06551ad7fda99d3fb4e0753a26a0d020131765ab7ae9343ae3999e83b3efc50d83ee69f85f30317d158ca9f0d7092185b9e7c35'
+
'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
+
+build() {
+   cd "${srcdir}"
+
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   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
+}
+
+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_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"
+}


[arch-commits] Commit in python-pycuda/repos (3 files)

2020-12-06 Thread Felix Yan via arch-commits
Date: Sunday, December 6, 2020 @ 22:00:35
  Author: felixonmars
Revision: 771234

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +++
 PKGBUILD |   54 ++
 2 files changed, 61 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 771232, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2020-12-06 22:00:35 UTC (rev 771234)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 771232, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-06 22:00:35 UTC (rev 771234)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'pycuda-headers')
+pkgver=2020.1
+pkgrel=4
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
+sha512sums=('b9992060cd27b5bbc4a2245bb06551ad7fda99d3fb4e0753a26a0d020131765ab7ae9343ae3999e83b3efc50d83ee69f85f30317d158ca9f0d7092185b9e7c35'
+
'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
+
+build() {
+   cd "${srcdir}"
+
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   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
+}
+
+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_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"
+}


[arch-commits] Commit in python-pycuda/repos (3 files)

2020-11-10 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 10:25:02
  Author: felixonmars
Revision: 749468

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +++
 PKGBUILD |   54 ++
 2 files changed, 61 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 749467, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2020-11-10 10:25:02 UTC (rev 749468)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 749467, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-10 10:25:02 UTC (rev 749468)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'pycuda-headers')
+pkgver=2020.1
+pkgrel=2
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
+sha512sums=('b9992060cd27b5bbc4a2245bb06551ad7fda99d3fb4e0753a26a0d020131765ab7ae9343ae3999e83b3efc50d83ee69f85f30317d158ca9f0d7092185b9e7c35'
+
'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
+
+build() {
+   cd "${srcdir}"
+
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   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
+}
+
+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_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"
+}


[arch-commits] Commit in python-pycuda/repos (3 files)

2020-10-01 Thread Konstantin Gizdov via arch-commits
Date: Thursday, October 1, 2020 @ 21:33:53
  Author: kgizdov
Revision: 714375

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +++
 PKGBUILD |   54 ++
 2 files changed, 61 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 714374, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2020-10-01 21:33:53 UTC (rev 714375)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 714374, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-01 21:33:53 UTC (rev 714375)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'pycuda-headers')
+pkgver=2019.1.2
+pkgrel=7
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
+sha512sums=('22829daa5923342eec400a24342b1d738226073bb676476e4af97629d9311426b5d2465e60811696e55401568b90e152ac96d877c6262c416099a609862db742'
+
'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
+
+build() {
+   cd "${srcdir}"
+
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   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
+}
+
+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_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"
+}


[arch-commits] Commit in python-pycuda/repos (3 files)

2020-07-01 Thread Felix Yan via arch-commits
Date: Wednesday, July 1, 2020 @ 17:35:19
  Author: felixonmars
Revision: 657392

archrelease: copy trunk to community-testing-x86_64

Added:
  python-pycuda/repos/community-testing-x86_64/
  python-pycuda/repos/community-testing-x86_64/LICENSE
(from rev 657389, python-pycuda/trunk/LICENSE)
  python-pycuda/repos/community-testing-x86_64/PKGBUILD
(from rev 657391, python-pycuda/trunk/PKGBUILD)

--+
 LICENSE  |7 +++
 PKGBUILD |   54 ++
 2 files changed, 61 insertions(+)

Copied: python-pycuda/repos/community-testing-x86_64/LICENSE (from rev 657389, 
python-pycuda/trunk/LICENSE)
===
--- community-testing-x86_64/LICENSE(rev 0)
+++ community-testing-x86_64/LICENSE2020-07-01 17:35:19 UTC (rev 657392)
@@ -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.

Copied: python-pycuda/repos/community-testing-x86_64/PKGBUILD (from rev 657391, 
python-pycuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-07-01 17:35:19 UTC (rev 657392)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'pycuda-headers')
+pkgver=2019.1.2
+pkgrel=6
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
+sha512sums=('22829daa5923342eec400a24342b1d738226073bb676476e4af97629d9311426b5d2465e60811696e55401568b90e152ac96d877c6262c416099a609862db742'
+
'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
+
+build() {
+   cd "${srcdir}"
+
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   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
+}
+
+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_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"
+}


[arch-commits] Commit in python-pycuda/repos (3 files)

2020-01-27 Thread Evangelos Foutras via arch-commits
Date: Tuesday, January 28, 2020 @ 03:20:48
  Author: foutrelis
Revision: 557096

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +++
 PKGBUILD |   54 ++
 2 files changed, 61 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 557095, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2020-01-28 03:20:48 UTC (rev 557096)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 557095, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 03:20:48 UTC (rev 557096)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'pycuda-headers')
+pkgver=2019.1.2
+pkgrel=5
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
+sha512sums=('22829daa5923342eec400a24342b1d738226073bb676476e4af97629d9311426b5d2465e60811696e55401568b90e152ac96d877c6262c416099a609862db742'
+
'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
+
+build() {
+   cd "${srcdir}"
+
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   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
+}
+
+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_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"
+}


[arch-commits] Commit in python-pycuda/repos (3 files)

2019-11-26 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 27, 2019 @ 07:01:40
  Author: svenstaro
Revision: 533873

archrelease: copy trunk to community-testing-x86_64

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

--+
 LICENSE  |7 +++
 PKGBUILD |   54 ++
 2 files changed, 61 insertions(+)

Copied: python-pycuda/repos/community-testing-x86_64/LICENSE (from rev 533872, 
python-pycuda/trunk/LICENSE)
===
--- community-testing-x86_64/LICENSE(rev 0)
+++ community-testing-x86_64/LICENSE2019-11-27 07:01:40 UTC (rev 533873)
@@ -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.

Copied: python-pycuda/repos/community-testing-x86_64/PKGBUILD (from rev 533872, 
python-pycuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-11-27 07:01:40 UTC (rev 533873)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'pycuda-headers')
+pkgver=2019.1.2
+pkgrel=4
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
+sha512sums=('22829daa5923342eec400a24342b1d738226073bb676476e4af97629d9311426b5d2465e60811696e55401568b90e152ac96d877c6262c416099a609862db742'
+
'ee0bef251b8b2c25cd5821932d506183655c04285ae7d01d12f86557812c5068568e9f38e9f6bffe28de870ec662ebe0ee9cce2b444883caaf66b4c877494130')
+
+build() {
+   cd "${srcdir}"
+
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   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
+}
+
+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_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"
+}


[arch-commits] Commit in python-pycuda/repos (3 files)

2019-11-04 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 10:12:57
  Author: felixonmars
Revision: 524005

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   76 +
 2 files changed, 83 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 524004, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2019-11-04 10:12:57 UTC (rev 524005)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 524004, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-04 10:12:57 UTC (rev 524005)
@@ -0,0 +1,76 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2019.1.2
+pkgrel=3
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://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=('22829daa5923342eec400a24342b1d738226073bb676476e4af97629d9311426b5d2465e60811696e55401568b90e152ac96d877c6262c416099a609862db742'
+
'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/inclu

[arch-commits] Commit in python-pycuda/repos (3 files)

2019-09-13 Thread Felix Yan via arch-commits
Date: Friday, September 13, 2019 @ 10:07:37
  Author: felixonmars
Revision: 510136

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   76 +
 2 files changed, 83 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 510135, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2019-09-13 10:07:37 UTC (rev 510136)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 510135, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-13 10:07:37 UTC (rev 510136)
@@ -0,0 +1,76 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2019.1.2
+pkgrel=2
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://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=('22829daa5923342eec400a24342b1d738226073bb676476e4af97629d9311426b5d2465e60811696e55401568b90e152ac96d877c6262c416099a609862db742'
+
'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/inc

[arch-commits] Commit in python-pycuda/repos (3 files)

2019-05-21 Thread Felix Yan via arch-commits
Date: Tuesday, May 21, 2019 @ 14:40:06
  Author: felixonmars
Revision: 468212

archrelease: copy trunk to community-testing-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   76 +
 2 files changed, 83 insertions(+)

Copied: python-pycuda/repos/community-testing-x86_64/LICENSE (from rev 468211, 
python-pycuda/trunk/LICENSE)
===
--- community-testing-x86_64/LICENSE(rev 0)
+++ community-testing-x86_64/LICENSE2019-05-21 14:40:06 UTC (rev 468212)
@@ -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.

Copied: python-pycuda/repos/community-testing-x86_64/PKGBUILD (from rev 468211, 
python-pycuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-05-21 14:40:06 UTC (rev 468212)
@@ -0,0 +1,76 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2019.1
+pkgrel=1
+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=('12847eedad5423137aed7f4e942ef03e96ec2558bda089277db1ee96edb84065cf38af5acd7e429aecb9e706d4337e346d586bd48be577c57511016541bf0e49'
+
'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/pyc

[arch-commits] Commit in python-pycuda/repos (3 files)

2019-03-27 Thread Konstantin Gizdov via arch-commits
Date: Wednesday, March 27, 2019 @ 14:22:30
  Author: kgizdov
Revision: 58

archrelease: copy trunk to community-testing-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   76 +
 2 files changed, 83 insertions(+)

Copied: python-pycuda/repos/community-testing-x86_64/LICENSE (from rev 57, 
python-pycuda/trunk/LICENSE)
===
--- community-testing-x86_64/LICENSE(rev 0)
+++ community-testing-x86_64/LICENSE2019-03-27 14:22:30 UTC (rev 58)
@@ -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.

Copied: python-pycuda/repos/community-testing-x86_64/PKGBUILD (from rev 57, 
python-pycuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-03-27 14:22:30 UTC (rev 58)
@@ -0,0 +1,76 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2018.1.1
+pkgrel=5
+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=('cb93855cf3cee6650ba0564bccce73c2f59ecbd579235eb3623ec32dde8d9247216e756b1342a876fc7d37c0159e741f5f626a86f2e7ab11c4b03c7a4e581a28'
+
'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/p

[arch-commits] Commit in python-pycuda/repos (3 files)

2019-01-15 Thread Evangelos Foutras via arch-commits
Date: Tuesday, January 15, 2019 @ 09:32:46
  Author: foutrelis
Revision: 423238

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   76 +
 2 files changed, 83 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 423237, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2019-01-15 09:32:46 UTC (rev 423238)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 423237, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-15 09:32:46 UTC (rev 423238)
@@ -0,0 +1,76 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2018.1.1
+pkgrel=4
+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=('cb93855cf3cee6650ba0564bccce73c2f59ecbd579235eb3623ec32dde8d9247216e756b1342a876fc7d37c0159e741f5f626a86f2e7ab11c4b03c7a4e581a28'
+
'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

[arch-commits] Commit in python-pycuda/repos (3 files)

2018-09-25 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, September 25, 2018 @ 21:20:42
  Author: svenstaro
Revision: 385095

archrelease: copy trunk to community-testing-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   76 +
 2 files changed, 83 insertions(+)

Copied: python-pycuda/repos/community-testing-x86_64/LICENSE (from rev 385094, 
python-pycuda/trunk/LICENSE)
===
--- community-testing-x86_64/LICENSE(rev 0)
+++ community-testing-x86_64/LICENSE2018-09-25 21:20:42 UTC (rev 385095)
@@ -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.

Copied: python-pycuda/repos/community-testing-x86_64/PKGBUILD (from rev 385094, 
python-pycuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-09-25 21:20:42 UTC (rev 385095)
@@ -0,0 +1,76 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2018.1.1
+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=('cb93855cf3cee6650ba0564bccce73c2f59ecbd579235eb3623ec32dde8d9247216e756b1342a876fc7d37c0159e741f5f626a86f2e7ab11c4b03c7a4e581a28'
+
'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/inclu

[arch-commits] Commit in python-pycuda/repos (3 files)

2018-09-17 Thread Evangelos Foutras via arch-commits
Date: Tuesday, September 18, 2018 @ 04:08:01
  Author: foutrelis
Revision: 382891

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   76 +
 2 files changed, 83 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 382890, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2018-09-18 04:08:01 UTC (rev 382891)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 382890, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-18 04:08:01 UTC (rev 382891)
@@ -0,0 +1,76 @@
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2018.1
+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=('4e73926dbcb70bec7dae96a96fbbdd358610efd6c37b08801f5b7702feee08c1463771776da84520e59229c6b58570ad79794ace1c88bde102a519bfb27d4806'
+
'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

[arch-commits] Commit in python-pycuda/repos (3 files)

2018-07-31 Thread Evangelos Foutras via arch-commits
Date: Wednesday, August 1, 2018 @ 06:52:26
  Author: foutrelis
Revision: 366187

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 366186, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2018-08-01 06:52:26 UTC (rev 366187)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 366186, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-01 06:52:26 UTC (rev 366187)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2017.1.1
+pkgrel=8
+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=('aa791efcac637dce195f729ca9d22d745b1729f23debf7d9bb7b931e67e590b15149deaafaf917ed5549d2643d3a49874953baaa6fce2fa430c5832cc0bf3e12'
+
'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

[arch-commits] Commit in python-pycuda/repos (3 files)

2018-07-12 Thread Felix Yan via arch-commits
Date: Thursday, July 12, 2018 @ 20:32:08
  Author: felixonmars
Revision: 358179

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 358178, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2018-07-12 20:32:08 UTC (rev 358179)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 358178, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-12 20:32:08 UTC (rev 358179)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2017.1.1
+pkgrel=7
+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=('aa791efcac637dce195f729ca9d22d745b1729f23debf7d9bb7b931e67e590b15149deaafaf917ed5549d2643d3a49874953baaa6fce2fa430c5832cc0bf3e12'
+
'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

[arch-commits] Commit in python-pycuda/repos (3 files)

2018-05-31 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 31, 2018 @ 13:42:04
  Author: foutrelis
Revision: 334831

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 334830, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2018-05-31 13:42:04 UTC (rev 334831)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 334830, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-31 13:42:04 UTC (rev 334831)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2017.1.1
+pkgrel=6
+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=('aa791efcac637dce195f729ca9d22d745b1729f23debf7d9bb7b931e67e590b15149deaafaf917ed5549d2643d3a49874953baaa6fce2fa430c5832cc0bf3e12'
+
'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/in

[arch-commits] Commit in python-pycuda/repos (3 files)

2017-12-27 Thread Felix Yan via arch-commits
Date: Thursday, December 28, 2017 @ 05:24:40
  Author: felixonmars
Revision: 276363

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 276362, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2017-12-28 05:24:40 UTC (rev 276363)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 276362, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-28 05:24:40 UTC (rev 276363)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2017.1.1
+pkgrel=5
+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=('aa791efcac637dce195f729ca9d22d745b1729f23debf7d9bb7b931e67e590b15149deaafaf917ed5549d2643d3a49874953baaa6fce2fa430c5832cc0bf3e12'
+
'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}"

[arch-commits] Commit in python-pycuda/repos (3 files)

2017-12-12 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, December 13, 2017 @ 06:04:56
  Author: svenstaro
Revision: 274134

archrelease: copy trunk to community-testing-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-testing-x86_64/LICENSE (from rev 274133, 
python-pycuda/trunk/LICENSE)
===
--- community-testing-x86_64/LICENSE(rev 0)
+++ community-testing-x86_64/LICENSE2017-12-13 06:04:56 UTC (rev 274134)
@@ -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.

Copied: python-pycuda/repos/community-testing-x86_64/PKGBUILD (from rev 274133, 
python-pycuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-12-13 06:04:56 UTC (rev 274134)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2017.1.1
+pkgrel=4
+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=('aa791efcac637dce195f729ca9d22d745b1729f23debf7d9bb7b931e67e590b15149deaafaf917ed5549d2643d3a49874953baaa6fce2fa430c5832cc0bf3e12'
+
'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}"/

[arch-commits] Commit in python-pycuda/repos (3 files)

2017-10-05 Thread Sven-Hendrik Haase
Date: Thursday, October 5, 2017 @ 15:17:54
  Author: svenstaro
Revision: 261763

archrelease: copy trunk to community-testing-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-testing-x86_64/LICENSE (from rev 261762, 
python-pycuda/trunk/LICENSE)
===
--- community-testing-x86_64/LICENSE(rev 0)
+++ community-testing-x86_64/LICENSE2017-10-05 15:17:54 UTC (rev 261763)
@@ -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.

Copied: python-pycuda/repos/community-testing-x86_64/PKGBUILD (from rev 261762, 
python-pycuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-10-05 15:17:54 UTC (rev 261763)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2017.1.1
+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=('aa791efcac637dce195f729ca9d22d745b1729f23debf7d9bb7b931e67e590b15149deaafaf917ed5549d2643d3a49874953baaa6fce2fa430c5832cc0bf3e12'
+
'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

[arch-commits] Commit in python-pycuda/repos (3 files)

2017-09-15 Thread Antonio Rojas
Date: Friday, September 15, 2017 @ 14:33:19
  Author: arojas
Revision: 257689

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 257688, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2017-09-15 14:33:19 UTC (rev 257689)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 257688, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-09-15 14:33:19 UTC (rev 257689)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2017.1.1
+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=('aa791efcac637dce195f729ca9d22d745b1729f23debf7d9bb7b931e67e590b15149deaafaf917ed5549d2643d3a49874953baaa6fce2fa430c5832cc0bf3e12'
+
'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}

[arch-commits] Commit in python-pycuda/repos (3 files)

2017-05-20 Thread Antonio Rojas
Date: Saturday, May 20, 2017 @ 10:27:23
  Author: arojas
Revision: 228767

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 228766, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2017-05-20 10:27:23 UTC (rev 228767)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 228766, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-20 10:27:23 UTC (rev 228767)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2016.1.2
+pkgrel=7
+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}"/us

[arch-commits] Commit in python-pycuda/repos (3 files)

2017-01-02 Thread Felix Yan
Date: Monday, January 2, 2017 @ 09:01:22
  Author: felixonmars
Revision: 204201

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 204200, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2017-01-02 09:01:22 UTC (rev 204201)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 204200, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-01-02 09:01:22 UTC (rev 204201)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2016.1.2
+pkgrel=6
+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 "${pkgdi

[arch-commits] Commit in python-pycuda/repos (3 files)

2016-12-26 Thread Felix Yan
Date: Monday, December 26, 2016 @ 10:18:42
  Author: felixonmars
Revision: 202698

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 202696, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2016-12-26 10:18:42 UTC (rev 202698)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 202696, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-12-26 10:18:42 UTC (rev 202698)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2016.1.2
+pkgrel=5
+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 "${pkg

[arch-commits] Commit in python-pycuda/repos (3 files)

2016-10-09 Thread Bartłomiej Piotrowski
Date: Sunday, October 9, 2016 @ 20:51:55
  Author: bpiotrowski
Revision: 191746

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 191745, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2016-10-09 20:51:55 UTC (rev 191746)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 191745, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-10-09 20:51:55 UTC (rev 191746)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2016.1.2
+pkgrel=4
+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 "${pkgdi

[arch-commits] Commit in python-pycuda/repos (3 files)

2016-08-26 Thread Felix Yan
Date: Friday, August 26, 2016 @ 18:35:38
  Author: felixonmars
Revision: 187727

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 187726, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2016-08-26 18:35:38 UTC (rev 187727)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 187726, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-08-26 18:35:38 UTC (rev 187727)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+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 "${pkgdi

[arch-commits] Commit in python-pycuda/repos (3 files)

2015-12-21 Thread Felix Yan
Date: Monday, December 21, 2015 @ 18:45:05
  Author: fyan
Revision: 153982

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 153981, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2015-12-21 17:45:05 UTC (rev 153982)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 153981, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-21 17:45:05 UTC (rev 153982)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2015.1.3
+pkgrel=6
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/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=('7730738024c1db49097bdf59f8cdcf98cbd14e8d143b31d023e0b83f720270df3010d756fe52ee430d19fd2850b120d137617e2e9b4462b45e9dffd9e107eedb'
+
'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 "${pkg

[arch-commits] Commit in python-pycuda/repos (3 files)

2015-12-06 Thread Evangelos Foutras
Date: Sunday, December 6, 2015 @ 21:42:51
  Author: foutrelis
Revision: 149194

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 149193, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2015-12-06 20:42:51 UTC (rev 149194)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 149193, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-06 20:42:51 UTC (rev 149194)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2015.1.3
+pkgrel=5
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/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=('7730738024c1db49097bdf59f8cdcf98cbd14e8d143b31d023e0b83f720270df3010d756fe52ee430d19fd2850b120d137617e2e9b4462b45e9dffd9e107eedb'
+
'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 "$

[arch-commits] Commit in python-pycuda/repos (3 files)

2015-10-15 Thread Florian Pritz
Date: Thursday, October 15, 2015 @ 14:12:13
  Author: bluewind
Revision: 144133

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 144132, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2015-10-15 12:12:13 UTC (rev 144133)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 144132, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-10-15 12:12:13 UTC (rev 144133)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2015.1.3
+pkgrel=4
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/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=('7730738024c1db49097bdf59f8cdcf98cbd14e8d143b31d023e0b83f720270df3010d756fe52ee430d19fd2850b120d137617e2e9b4462b45e9dffd9e107eedb'
+
'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 "

[arch-commits] Commit in python-pycuda/repos (3 files)

2015-09-19 Thread Felix Yan
Date: Saturday, September 19, 2015 @ 13:04:35
  Author: fyan
Revision: 140746

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   77 +
 2 files changed, 84 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 140745, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2015-09-19 11:04:35 UTC (rev 140746)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 140745, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-09-19 11:04:35 UTC (rev 140746)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2015.1.3
+pkgrel=3
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/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=('7730738024c1db49097bdf59f8cdcf98cbd14e8d143b31d023e0b83f720270df3010d756fe52ee430d19fd2850b120d137617e2e9b4462b45e9dffd9e107eedb'
+
'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 "${

[arch-commits] Commit in python-pycuda/repos (3 files)

2015-04-21 Thread Felix Yan
Date: Tuesday, April 21, 2015 @ 09:26:27
  Author: fyan
Revision: 131798

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   78 +
 2 files changed, 85 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 131797, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2015-04-21 07:26:27 UTC (rev 131798)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 131797, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-04-21 07:26:27 UTC (rev 131798)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2014.1
+pkgrel=6
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python2-setuptools' 'python-setuptools' 'python2-numpy' 
'python-numpy' 'mesa' 'cuda' 'boost' 'nvidia-utils')
+
+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"
+}
+
+sha512sums=('57e333941c472feea6974e583f9d27f7f5083011bd8a7cc0bc31d

[arch-commits] Commit in python-pycuda/repos (3 files)

2014-11-04 Thread Felix Yan
Date: Tuesday, November 4, 2014 @ 15:33:48
  Author: fyan
Revision: 121823

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   78 +
 2 files changed, 85 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 121822, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2014-11-04 14:33:48 UTC (rev 121823)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 121822, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-11-04 14:33:48 UTC (rev 121823)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2014.1
+pkgrel=4
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python2-setuptools' 'python-setuptools' 'python2-numpy' 
'python-numpy' 'mesa' 'cuda' 'boost' 'nvidia-utils')
+
+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"
+}
+
+sha512sums=('57e333941c472feea6974e583f9d27f7f5083011bd8a7cc0bc3

[arch-commits] Commit in python-pycuda/repos (3 files)

2014-08-11 Thread Felix Yan
Date: Monday, August 11, 2014 @ 15:09:28
  Author: fyan
Revision: 117179

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   78 +
 2 files changed, 85 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 117178, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2014-08-11 13:09:28 UTC (rev 117179)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 117178, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-08-11 13:09:28 UTC (rev 117179)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2013.1.1
+pkgrel=7
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python2-setuptools' 'python-setuptools' 'python2-numpy' 
'python-numpy' 'mesa' 'cuda' 'boost' 'nvidia-utils')
+
+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"
+}
+
+sha512sums=('7a7e95fcd4f76d10234558021064cc299e6d93ab9a428c9560e

[arch-commits] Commit in python-pycuda/repos (3 files)

2014-03-17 Thread Felix Yan
Date: Tuesday, March 18, 2014 @ 05:47:54
  Author: fyan
Revision: 107576

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   78 +
 2 files changed, 85 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 107575, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2014-03-18 04:47:54 UTC (rev 107576)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 107575, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-03-18 04:47:54 UTC (rev 107576)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2013.1.1
+pkgrel=4
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python2-setuptools' 'python-setuptools' 'python2-numpy' 
'python-numpy' 'mesa' 'cuda' 'boost' 'nvidia-utils')
+
+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"
+}
+
+sha512sums=('7a7e95fcd4f76d10234558021064cc299e6d93ab9a428c9560e

[arch-commits] Commit in python-pycuda/repos (3 files)

2013-11-25 Thread Felix Yan
Date: Monday, November 25, 2013 @ 16:35:10
  Author: fyan
Revision: 101433

archrelease: copy trunk to community-staging-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   78 +
 2 files changed, 85 insertions(+)

Copied: python-pycuda/repos/community-staging-x86_64/LICENSE (from rev 101432, 
python-pycuda/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2013-11-25 15:35:10 UTC (rev 101433)
@@ -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.

Copied: python-pycuda/repos/community-staging-x86_64/PKGBUILD (from rev 101432, 
python-pycuda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-11-25 15:35:10 UTC (rev 101433)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2013.1.1
+pkgrel=3
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python2-setuptools' 'python-setuptools' 'python2-numpy' 
'python-numpy' 'mesa' 'cuda' 'boost' 'nvidia-utils')
+
+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"
+}
+
+sha512sums=('7a7e95fcd4f76d10234558021064cc299e6d93ab9a428c956

[arch-commits] Commit in python-pycuda/repos (3 files)

2013-08-17 Thread Felix Yan
Date: Saturday, August 17, 2013 @ 16:47:34
  Author: fyan
Revision: 95845

archrelease: copy trunk to community-testing-x86_64

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

--+
 LICENSE  |7 +
 PKGBUILD |   78 +
 2 files changed, 85 insertions(+)

Copied: python-pycuda/repos/community-testing-x86_64/LICENSE (from rev 95844, 
python-pycuda/trunk/LICENSE)
===
--- community-testing-x86_64/LICENSE(rev 0)
+++ community-testing-x86_64/LICENSE2013-08-17 14:47:34 UTC (rev 95845)
@@ -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.

Copied: python-pycuda/repos/community-testing-x86_64/PKGBUILD (from rev 95844, 
python-pycuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-08-17 14:47:34 UTC (rev 95845)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pycuda
+pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers')
+pkgver=2013.1.1
+pkgrel=2
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="http://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+source=("http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz";
+LICENSE)
+makedepends=('ctags' 'python2-setuptools' 'python-setuptools' 'python2-numpy' 
'python-numpy' 'mesa' 'cuda' 'boost>=1.53.0' 'nvidia-utils')
+
+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"
+}
+
+sha512sums=('7a7e95fcd4f76d10234558021064cc299e6d93ab9a428c95