Date: Sunday, April 16, 2023 @ 08:14:55
  Author: arojas
Revision: 1446435

upgpkg: python-scikit-build 0.17.1-1: Update to 0.17.1

Modified:
  python-scikit-build/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-16 08:05:52 UTC (rev 1446434)
+++ PKGBUILD    2023-04-16 08:14:55 UTC (rev 1446435)
@@ -4,14 +4,14 @@
 # Contributor: Ben Greiner <[email protected]>
 
 pkgname=python-scikit-build
-pkgver=0.16.3
-pkgrel=2
+pkgver=0.17.1
+pkgrel=1
 pkgdesc="Improved build system generator for CPython C, C++, Cython and 
Fortran extensions"
 arch=(any)
 url="https://scikit-build.org";
 license=(MIT)
 depends=(cmake python-distro python-packaging python-setuptools python-wheel)
-makedepends=(git python-setuptools-scm)
+makedepends=(git python-build python-installer python-hatchling 
python-hatch-vcs python-hatch-fancy-pypi-readme)
 checkdepends=(
     cython
     gcc
@@ -27,7 +27,7 @@
     python-six
     python-virtualenv
 )
-_tag=15b9b441f10672d05ba4bfeac1c17afc02c1c863 # git rev-parse ${pkgver}
+_tag=6e47f59cb4c0057e5559e02c4d30a0619f636d30 # git rev-parse ${pkgver}
 
source=(git+https://github.com/scikit-build/scikit-build.git#tag=${_tag}?signed)
 sha256sums=('SKIP')
 validpgpkeys=(2FDEC9863E5E14C7BC429F27B9D0E45146A241E8) # Henry Schreiner 
<[email protected]>
@@ -34,9 +34,7 @@
 
 build() {
   cd scikit-build
-  export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
-  python setup.py build_ext --inplace
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -51,6 +49,6 @@
 
 package() {
   cd scikit-build
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
 }

Reply via email to