Date: Sunday, March 31, 2013 @ 21:18:45 Author: stephane Revision: 87433
db-move: moved python-pycuda from [community-testing] to [community] (i686, x86_64) Added: python-pycuda/repos/community-i686/PKGBUILD (from rev 87401, python-pycuda/repos/community-testing-i686/PKGBUILD) python-pycuda/repos/community-x86_64/PKGBUILD (from rev 87401, python-pycuda/repos/community-testing-x86_64/PKGBUILD) Deleted: python-pycuda/repos/community-i686/PKGBUILD python-pycuda/repos/community-testing-i686/ python-pycuda/repos/community-testing-x86_64/ python-pycuda/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 132 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 66 ---------------------- community-x86_64/PKGBUILD | 66 ---------------------- 3 files changed, 132 insertions(+), 132 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-03-31 19:18:44 UTC (rev 87432) +++ community-i686/PKGBUILD 2013-03-31 19:18:45 UTC (rev 87433) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault <steph...@archlinux.org> -pkgbase=python-pycuda -pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers') -pkgver=2012.1 -pkgrel=2 -pkgdesc="Python wrapper for Nvidia CUDA" -arch=('i686' 'x86_64') -url="http://mathema.tician.de/software/pycuda" -license=('MIT') -source=(http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz) -makedepends=('ctags' 'python2-distribute' 'python-distribute' 'python2-numpy' 'python-numpy' 'mesa' 'cuda' 'boost>=1.52.0' 'nvidia-utils') -sha1sums=('dd52ee697ae9f6256efac3bca682be9c6e7c9649') - -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 - 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 - - 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 - - rm -fr "${pkgdir}"/usr/include -} - -package_pycuda-headers() { - cd "${srcdir}"/pycuda-${pkgver} - install -dm755 "${pkgdir}"/usr/include/pycuda - - for file in $(ls -1 src/cuda/*.hpp); do - install -m644 ${file} "${pkgdir}"/usr/include/pycuda - done -} Copied: python-pycuda/repos/community-i686/PKGBUILD (from rev 87401, python-pycuda/repos/community-testing-i686/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-03-31 19:18:45 UTC (rev 87433) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault <steph...@archlinux.org> +pkgbase=python-pycuda +pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers') +pkgver=2012.1 +pkgrel=3 +pkgdesc="Python wrapper for Nvidia CUDA" +arch=('i686' 'x86_64') +url="http://mathema.tician.de/software/pycuda" +license=('MIT') +source=(http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz) +makedepends=('ctags' 'python2-distribute' 'python-distribute' 'python2-numpy' 'python-numpy' 'mesa' 'cuda' 'boost>=1.53.0' 'nvidia-utils') +sha1sums=('dd52ee697ae9f6256efac3bca682be9c6e7c9649') + +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 + 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 + + 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 + + rm -fr "${pkgdir}"/usr/include +} + +package_pycuda-headers() { + cd "${srcdir}"/pycuda-${pkgver} + install -dm755 "${pkgdir}"/usr/include/pycuda + + for file in $(ls -1 src/cuda/*.hpp); do + install -m644 ${file} "${pkgdir}"/usr/include/pycuda + done +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-03-31 19:18:44 UTC (rev 87432) +++ community-x86_64/PKGBUILD 2013-03-31 19:18:45 UTC (rev 87433) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault <steph...@archlinux.org> -pkgbase=python-pycuda -pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers') -pkgver=2012.1 -pkgrel=2 -pkgdesc="Python wrapper for Nvidia CUDA" -arch=('i686' 'x86_64') -url="http://mathema.tician.de/software/pycuda" -license=('MIT') -source=(http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz) -makedepends=('ctags' 'python2-distribute' 'python-distribute' 'python2-numpy' 'python-numpy' 'mesa' 'cuda' 'boost>=1.52.0' 'nvidia-utils') -sha1sums=('dd52ee697ae9f6256efac3bca682be9c6e7c9649') - -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 - 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 - - 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 - - rm -fr "${pkgdir}"/usr/include -} - -package_pycuda-headers() { - cd "${srcdir}"/pycuda-${pkgver} - install -dm755 "${pkgdir}"/usr/include/pycuda - - for file in $(ls -1 src/cuda/*.hpp); do - install -m644 ${file} "${pkgdir}"/usr/include/pycuda - done -} Copied: python-pycuda/repos/community-x86_64/PKGBUILD (from rev 87401, python-pycuda/repos/community-testing-x86_64/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-03-31 19:18:45 UTC (rev 87433) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault <steph...@archlinux.org> +pkgbase=python-pycuda +pkgname=('python-pycuda' 'python2-pycuda' 'pycuda-headers') +pkgver=2012.1 +pkgrel=3 +pkgdesc="Python wrapper for Nvidia CUDA" +arch=('i686' 'x86_64') +url="http://mathema.tician.de/software/pycuda" +license=('MIT') +source=(http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz) +makedepends=('ctags' 'python2-distribute' 'python-distribute' 'python2-numpy' 'python-numpy' 'mesa' 'cuda' 'boost>=1.53.0' 'nvidia-utils') +sha1sums=('dd52ee697ae9f6256efac3bca682be9c6e7c9649') + +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 + 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 + + 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 + + rm -fr "${pkgdir}"/usr/include +} + +package_pycuda-headers() { + cd "${srcdir}"/pycuda-${pkgver} + install -dm755 "${pkgdir}"/usr/include/pycuda + + for file in $(ls -1 src/cuda/*.hpp); do + install -m644 ${file} "${pkgdir}"/usr/include/pycuda + done +}