Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
python-scikit-build-core


Commits:
e242f048 by Carl Smedstad at 2024-12-28T18:04:14+01:00
Update maintainer/contributor comments

- - - - -
45375f76 by Carl Smedstad at 2024-12-28T18:05:09+01:00
Remove custom variable _name

- - - - -
e1887a89 by Carl Smedstad at 2025-01-08T11:34:45+01:00
upgpkg: 0.10.7-3: Add tests

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,21 +1,27 @@
 pkgbase = python-scikit-build-core
        pkgdesc = Next generation Python CMake adaptor and Python API for 
plugins
        pkgver = 0.10.7
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/scikit-build/scikit-build-core
        arch = any
        license = Apache-2.0
+       checkdepends = pybind11
+       checkdepends = python-cattrs
+       checkdepends = python-fastjsonschema
+       checkdepends = python-pytest
+       checkdepends = python-pytest-subprocess
+       checkdepends = python-validate-pyproject
+       checkdepends = python-virtualenv
        makedepends = python-build
-       makedepends = python-hatchling
        makedepends = python-hatch-vcs
+       makedepends = python-hatchling
        makedepends = python-installer
        depends = cmake
        depends = ninja
        depends = python
        depends = python-packaging
        depends = python-pathspec
-       source = 
python-scikit-build-core-0.10.7.tar.gz::https://github.com/scikit-build/scikit-build-core/archive/refs/tags/v0.10.7.tar.gz
+       source = 
https://github.com/scikit-build/scikit-build-core/archive/v0.10.7/scikit-build-core-0.10.7.tar.gz
        sha512sums = 
299533c671e3b9579f58c2bfd6a24ba43daf213fb662e5f11e0ce7a38993eeb7ff7b783fc50b16ba11bf7855b026cf9ab3f636cc04bc0ba51d0ef8744ec7a027
-       b2sums = 
8ed13c48126bd4af1a31f794c933a12b6c2bfee518d13e1aeb5e2491d0cccbf5c3a89cb7af216532357702ec75447b1e733fec208c1bb585e1c1792972fae839
 
 pkgname = python-scikit-build-core


=====================================
PKGBUILD
=====================================
@@ -1,13 +1,12 @@
-# Maintainer:
+# Maintainer: Carl Smedstad <[email protected]>
 # Contributor: Blair Bonnett <[email protected]>
 
 pkgname=python-scikit-build-core
-_name=${pkgname#python-}
-pkgdesc='Next generation Python CMake adaptor and Python API for plugins'
-url='https://github.com/scikit-build/scikit-build-core'
 pkgver=0.10.7
-pkgrel=2
+pkgrel=3
+pkgdesc='Next generation Python CMake adaptor and Python API for plugins'
 arch=(any)
+url='https://github.com/scikit-build/scikit-build-core'
 license=(Apache-2.0)
 depends=(
   cmake
@@ -18,24 +17,36 @@ depends=(
 )
 makedepends=(
   python-build
-  python-hatchling
   python-hatch-vcs
+  python-hatchling
   python-installer
 )
-source=(
-  $pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz
+checkdepends=(
+  pybind11
+  python-cattrs
+  python-fastjsonschema
+  python-pytest
+  python-pytest-subprocess
+  python-validate-pyproject
+  python-virtualenv
 )
+source=("$url/archive/v$pkgver/${pkgname#python-}-$pkgver.tar.gz")
 
sha512sums=('299533c671e3b9579f58c2bfd6a24ba43daf213fb662e5f11e0ce7a38993eeb7ff7b783fc50b16ba11bf7855b026cf9ab3f636cc04bc0ba51d0ef8744ec7a027')
-b2sums=('8ed13c48126bd4af1a31f794c933a12b6c2bfee518d13e1aeb5e2491d0cccbf5c3a89cb7af216532357702ec75447b1e733fec208c1bb585e1c1792972fae839')
 
 build() {
-  cd $_name-$pkgver
+  cd ${pkgname#python-}-$pkgver
   python -m build --wheel --no-isolation
 }
 
 # NOTE: upstream hardcodes downloading the internet with pip: 
https://github.com/scikit-build/scikit-build-core/issues/720
+check() {
+  cd ${pkgname#python-}-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest -k 'not network'
+}
 
 package() {
-  cd $_name-$pkgver
+  cd ${pkgname#python-}-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-scikit-build-core/-/compare/8b33f2ffd2b01fd44235b187a4c108f48511dc76...e1887a895cee3ede4dea3b480302a8d0ffb2de44

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-scikit-build-core/-/compare/8b33f2ffd2b01fd44235b187a4c108f48511dc76...e1887a895cee3ede4dea3b480302a8d0ffb2de44
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to