Date: Sunday, April 2, 2023 @ 21:33:33
  Author: kgizdov
Revision: 1434251

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-02 21:33:27 UTC (rev 1434250)
+++ PKGBUILD    2023-04-02 21:33:33 UTC (rev 1434251)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Stéphane Gaudreault <[email protected]>
-
-pkgname=python-pycuda
-pkgver=2022.1
-pkgrel=3
-pkgdesc="Python wrapper for Nvidia CUDA"
-arch=('x86_64')
-url="https://mathema.tician.de/software/pycuda";
-license=('MIT' 'Apache')
-depends=('boost-libs' 'cuda' 'nvidia-utils' 'python' 'python-numpy' 
'python-pytools')
-provides=('pycuda-headers')
-conflicts=('pycuda-headers')
-replaces=('pycuda-headers')
-source=("https://pypi.io/packages/source/p/pycuda/pycuda-$pkgver.tar.gz";)
-makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
-sha512sums=('2c26c7ff2271d2dd2f59c1f028b6823dd5c9d9bc38300bb8de1d38d5220108de9ea090fde64bfe1855ff94d2c0a9b57b163bff456fb39d16bec32e96d176859e')
-
-build() {
-   _arch=''
-   [[ "$CARCH" = "x86_64" ]] && _arch='64'
-
-   cd pycuda-$pkgver
-   python ./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() {
-   cd pycuda-$pkgver
-   python setup.py install --prefix=/usr --root="$pkgdir" --skip-build 
--optimize=1
-
-   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-pycuda/repos/community-x86_64/PKGBUILD (from rev 1434250, 
python-pycuda/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-02 21:33:33 UTC (rev 1434251)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Stéphane Gaudreault <[email protected]>
+
+pkgname=python-pycuda
+pkgver=2022.2.2
+pkgrel=1
+pkgdesc="Python wrapper for Nvidia CUDA"
+arch=('x86_64')
+url="https://mathema.tician.de/software/pycuda";
+license=('MIT' 'Apache')
+depends=('boost-libs' 'cuda' 'nvidia-utils' 'python' 'python-numpy' 
'python-pytools')
+provides=('pycuda-headers')
+conflicts=('pycuda-headers')
+replaces=('pycuda-headers')
+source=("https://pypi.io/packages/source/p/pycuda/pycuda-$pkgver.tar.gz";)
+makedepends=('ctags' 'python-setuptools' 'python-numpy' 'mesa' 'cuda' 'boost' 
'nvidia-utils')
+sha512sums=('c62aafe473e44339ac2147d86b51fc9bc2429310450b6d99e78a127828cc3a42dc74f20e1bdf8261f6652aed6d07ee3a871ce371f89f33fbcc4014f551af0b96')
+
+build() {
+   _arch=''
+   [[ "$CARCH" = "x86_64" ]] && _arch='64'
+
+   cd pycuda-$pkgver
+   python ./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() {
+   cd pycuda-$pkgver
+   python setup.py install --prefix=/usr --root="$pkgdir" --skip-build 
--optimize=1
+
+   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to