[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#58587] [PATCH v3 21/22] gnu: python-scikit-build: Switch to pyproje
From: |
Marius Bakke |
Subject: |
[bug#58587] [PATCH v3 21/22] gnu: python-scikit-build: Switch to pyproject-build-system. |
Date: |
Sun, 23 Oct 2022 00:20:59 +0200 |
* gnu/packages/python-xyz.scm (python-scikit-build)[build-system]: Set to
PYPROJECT-BUILD-SYSTEM.
[arguments]: Remove obsolete phases.
[native-inputs]: Remove PYTHON-PYPA-BUILD and PYTHON-WHEEL.
---
gnu/packages/python-xyz.scm | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a8b94b0acb..bae4c385c0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27859,7 +27859,7 @@ (define-public python-scikit-build
(uri (pypi-uri "scikit-build" version))
(sha256
(base32 "1wx1m9vnxnnz59lyaisgyxldp313kciyd4af8lf112vb8vbjy9yk"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
#:phases
@@ -27870,11 +27870,6 @@ (define-public python-scikit-build
(("^(CMAKE_DEFAULT_EXECUTABLE = ).*" _ head)
(format #f "~a ~s~%" head
(search-input-file inputs "bin/cmake"))))))
- ;; XXX: PEP 517 manual build copied from python-isort.
- (replace 'build
- (lambda _
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
@@ -27900,12 +27895,7 @@ (define-public python-scikit-build
;; nondeterministically (see:
;;
https://github.com/scikit-build/scikit-build/issues/711).
"and not test_generator_cleanup "
- "and not test_generator_selection ")))))
- (replace 'install
- (lambda _
- (let ((whl (car (find-files "dist" "\\.whl$"))))
- (invoke "pip" "--no-cache-dir" "--no-input"
- "install" "--no-deps" "--prefix" #$output whl)))))))
+ "and not test_generator_selection "))))))))
(native-inputs
(list cmake-minimal
gfortran
@@ -27916,15 +27906,13 @@ (define-public python-scikit-build
python-mock
python-packaging
python-path
- python-pypa-build
python-pytest
python-pytest-cov
python-pytest-mock
python-pytest-virtualenv
python-pytest-xdist
python-requests
- python-setuptools-scm
- python-wheel))
+ python-setuptools-scm))
(propagated-inputs
(list python-distro python-packaging python-wheel))
(home-page "https://github.com/scikit-build/scikit-build")
--
2.38.0
- [bug#58587] [PATCH v3 17/22] gnu: python-openapi-schema-validator: Use pyproject-build-system., (continued)
- [bug#58587] [PATCH v3 17/22] gnu: python-openapi-schema-validator: Use pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 15/22] gnu: python-pygmsh: Use pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 20/22] gnu: python-cattrs: Use pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 22/22] gnu: python-deepmerge: Use pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 19/22] gnu: python-path: Use pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 11/22] gnu: python-statmake: Use pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 12/22] gnu: python-ufolib2: Use pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 14/22] gnu: python-tempora: Switch to pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 13/22] gnu: python-mypy-protobuf: Switch to pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 16/22] gnu: zabbix-cli: Switch to pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v3 21/22] gnu: python-scikit-build: Switch to pyproject-build-system.,
Marius Bakke <=
- [bug#58587] [PATCH 00/14] Introducing pyproject-build-system., Maxim Cournoyer, 2022/10/27