Date: Sunday, April 16, 2023 @ 08:15:09
Author: arojas
Revision: 1446436
archrelease: copy trunk to community-any
Added:
python-scikit-build/repos/community-any/PKGBUILD
(from rev 1446435, python-scikit-build/trunk/PKGBUILD)
python-scikit-build/repos/community-any/keys/
Deleted:
python-scikit-build/repos/community-any/PKGBUILD
python-scikit-build/repos/community-any/keys/
----------+
PKGBUILD | 110 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 54 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-16 08:14:55 UTC (rev 1446435)
+++ PKGBUILD 2023-04-16 08:15:09 UTC (rev 1446436)
@@ -1,56 +0,0 @@
-# Maintainer: Andrzej Giniewicz <[email protected]>
-# Maintainer: Bruno Pagani <[email protected]>
-# Contributor: Martino Pilia <[email protected]>
-# Contributor: Ben Greiner <[email protected]>
-
-pkgname=python-scikit-build
-pkgver=0.16.3
-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)
-checkdepends=(
- cython
- gcc
- gcc-fortran
- ninja
- python-build
- python-path
- python-pytest
- python-pytest-mock
- python-pytest-runner
- python-pytest-virtualenv
- python-requests
- python-six
- python-virtualenv
-)
-_tag=15b9b441f10672d05ba4bfeac1c17afc02c1c863 # 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]>
-
-build() {
- cd scikit-build
- export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
- python setup.py build_ext --inplace
- python setup.py build
-}
-
-check() {
- cd scikit-build
- # Disable coverage
- sed -i 's|\"--cov\"\, \"--cov-report=xml\"||' noxfile.py
- # Tests need a rw version of site-packages
- python -m venv --system-site-packages test-env
- # https://github.com/scikit-build/scikit-build/issues/727
- test-env/bin/python /usr/bin/pytest -vv --color=yes || echo "Tests failed"
-}
-
-package() {
- cd scikit-build
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: python-scikit-build/repos/community-any/PKGBUILD (from rev 1446435,
python-scikit-build/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-16 08:15:09 UTC (rev 1446436)
@@ -0,0 +1,54 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Martino Pilia <[email protected]>
+# Contributor: Ben Greiner <[email protected]>
+
+pkgname=python-scikit-build
+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-build python-installer python-hatchling
python-hatch-vcs python-hatch-fancy-pypi-readme)
+checkdepends=(
+ cython
+ gcc
+ gcc-fortran
+ ninja
+ python-build
+ python-path
+ python-pytest
+ python-pytest-mock
+ python-pytest-runner
+ python-pytest-virtualenv
+ python-requests
+ python-six
+ python-virtualenv
+)
+_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]>
+
+build() {
+ cd scikit-build
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd scikit-build
+ # Disable coverage
+ sed -i 's|\"--cov\"\, \"--cov-report=xml\"||' noxfile.py
+ # Tests need a rw version of site-packages
+ python -m venv --system-site-packages test-env
+ # https://github.com/scikit-build/scikit-build/issues/727
+ test-env/bin/python /usr/bin/pytest -vv --color=yes || echo "Tests failed"
+}
+
+package() {
+ cd scikit-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}