[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/59: gnu: meson-python: Update to 0.15.0.
From: |
guix-commits |
Subject: |
06/59: gnu: meson-python: Update to 0.15.0. |
Date: |
Tue, 16 Jan 2024 05:24:25 -0500 (EST) |
rekado pushed a commit to branch wip-python-science
in repository guix.
commit 94be2f152197b3e9c2f41f11a8a2b9f6c9c194e7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Jan 6 11:31:31 2024 +0100
gnu: meson-python: Update to 0.15.0.
* gnu/packages/build-tools.scm (meson-python): Update to 0.15.0.
[arguments]: Add phase 'delete-directory.
[propagated-inputs]: Add python-cython, python-pyproject-metadata-0.7, and
python-typing-extensions.
[native-inputs]: Add python-pytest-cov.
Change-Id: I412af929c9e0485aa2a15e316d247f58e6f3477b
---
gnu/packages/build-tools.scm | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 9e6ed6eec6..15d88ded80 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2018, 2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
@@ -346,13 +346,13 @@ resembles Python.")
(define-public meson-python
(package
(name "meson-python")
- (version "0.12.1")
+ (version "0.15.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "meson_python" version))
(sha256
(base32
- "1hpjw9qj6ff8ixjs0pz7qysc8v57jxgaf5n1p6bqm9bh3mc3wnrx"))))
+ "0vyjhjabvm41hqijifk33idbdl62i76kfyf884f9rs29rpp77nzx"))))
(build-system pyproject-build-system)
(arguments
;; The project is configured to use itself to build ('mesonpy') and fails;
@@ -361,13 +361,22 @@ resembles Python.")
#:test-flags #~(list "tests"
;; The test_pep518 tries to install
;; dependencies from the network using pip.
- "-k" "not test_pep518")))
+ "-k" "not test_pep518")
+ #:phases
+ '(modify-phases %standard-phases
+ ;; This additional top directory confuses setuptools. We could
+ ;; work around this by overriding the detection of the project
+ ;; directory, but deleting this directory is easier.
+ (add-after 'unpack 'delete-directory
+ (lambda _ (delete-file-recursively "LICENSES"))))))
(propagated-inputs
(list meson
ninja
python-colorama
- python-pyproject-metadata
+ python-cython
+ python-pyproject-metadata-0.7
python-tomli
+ python-typing-extensions
python-wheel))
(native-inputs
(list python-pypa-build
@@ -380,6 +389,7 @@ resembles Python.")
python-cython
python-gitpython
python-pytest
+ python-pytest-cov
python-pytest-mock))
(home-page "https://github.com/mesonbuild/meson-python")
(synopsis "Meson-based build backend for Python")
- branch wip-python-science created (now 689ab3de63), guix-commits, 2024/01/16
- 01/59: gnu: Add python-cython-0.29.35., guix-commits, 2024/01/16
- 06/59: gnu: meson-python: Update to 0.15.0.,
guix-commits <=
- 04/59: gnu: Add python-pyproject-metadata-0.7., guix-commits, 2024/01/16
- 07/59: gnu: python-scipy: Update to 1.11.4., guix-commits, 2024/01/16
- 02/59: gnu: Add pybind11-2.10., guix-commits, 2024/01/16
- 05/59: gnu: Add python-pydevtool., guix-commits, 2024/01/16
- 03/59: gnu: python-doit: Update to 0.36.0., guix-commits, 2024/01/16
- 12/59: gnu: python-pypng: Update to 0.20220715.0., guix-commits, 2024/01/16
- 18/59: gnu: python-kiwisolver: Update to 1.4.5., guix-commits, 2024/01/16
- 13/59: gnu: python-matplotx: Disable test_png test., guix-commits, 2024/01/16
- 17/59: gnu: Add python-cppy., guix-commits, 2024/01/16
- 15/59: gnu: python-pynndescent: Update to 0.5.11., guix-commits, 2024/01/16