Date: Sunday, April 2, 2023 @ 21:25:21
  Author: kgizdov
Revision: 1434249

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-02 21:25:15 UTC (rev 1434248)
+++ PKGBUILD    2023-04-02 21:25:21 UTC (rev 1434249)
@@ -1,48 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-
-_pkgname=cuda
-pkgbase="python-${_pkgname}"
-pkgname=("python-${_pkgname}" "python-${_pkgname}-docs")
-pkgver=12.0.0
-pkgrel=1
-pkgdesc="Python interface for CUDA provided by NVIDIA."
-arch=('x86_64')
-url="https://nvidia.github.io/cuda-python";
-license=('custom')
-depends=('cuda' 'cython' 'python-pyclibrary' 'NVIDIA-MODULE')
-makedepends=('git' 'python-wheel' 'python-build' 'python-installer' 
'python-setuptools-scm')
-checkdepends=('python-pytest' 'python-pytest-benchmark' 'python-numpy' 
'python-scipy')
-options=(!emptydirs)
-source=("${pkgbase}::git+https://github.com/NVIDIA/cuda-python#tag=v${pkgver}";)
-sha256sums=('SKIP')
-
-get_pyver () {
-    python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
-}
-
-build() {
-  cd "${srcdir}/${pkgbase}"
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd "${srcdir}/${pkgbase}"
-  echo 'pythonpath = '"${PWD}/build/lib.linux-${CARCH}-$(get_pyver)" >> 
pytest.ini
-  # cannot run tests in chroot
-  # python -m pytest --import-mode=importlib
-}
-
-package_python-cuda() {
-  cd "${srcdir}/${pkgname}"
-
-  install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  python -m installer --destdir="${pkgdir}" dist/*.whl
-}
-
-package_python-cuda-docs() {
-  cd "${srcdir}/${pkgbase}"
-
-  install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -a docs/* "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
-}

Copied: python-cuda/repos/community-x86_64/PKGBUILD (from rev 1434248, 
python-cuda/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-02 21:25:21 UTC (rev 1434249)
@@ -0,0 +1,48 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+
+_pkgname=cuda
+pkgbase="python-${_pkgname}"
+pkgname=("python-${_pkgname}" "python-${_pkgname}-docs")
+pkgver=12.1.0
+pkgrel=1
+pkgdesc="Python interface for CUDA provided by NVIDIA."
+arch=('x86_64')
+url="https://nvidia.github.io/cuda-python";
+license=('custom')
+depends=('cuda' 'cython' 'python-pyclibrary' 'NVIDIA-MODULE')
+makedepends=('git' 'python-wheel' 'python-build' 'python-installer' 
'python-setuptools-scm')
+checkdepends=('python-pytest' 'python-pytest-benchmark' 'python-numpy' 
'python-scipy')
+options=(!emptydirs)
+source=("${pkgbase}::git+https://github.com/NVIDIA/cuda-python#tag=v${pkgver}";)
+sha256sums=('SKIP')
+
+get_pyver () {
+    python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
+}
+
+build() {
+  cd "${srcdir}/${pkgbase}"
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "${srcdir}/${pkgbase}"
+  echo 'pythonpath = '"${PWD}/build/lib.linux-${CARCH}-$(get_pyver)" >> 
pytest.ini
+  # cannot run tests in chroot
+  # python -m pytest --import-mode=importlib
+}
+
+package_python-cuda() {
+  cd "${srcdir}/${pkgname}"
+
+  install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+}
+
+package_python-cuda-docs() {
+  cd "${srcdir}/${pkgbase}"
+
+  install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -a docs/* "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
+}

Reply via email to