mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
08f48f2939
commit
22c5d2d835
1 changed files with 15 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; 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 Corentin Bocquillon <corentin@nybble.fr>
|
||||||
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
||||||
|
@ -346,13 +346,13 @@ resembles Python.")
|
||||||
(define-public meson-python
|
(define-public meson-python
|
||||||
(package
|
(package
|
||||||
(name "meson-python")
|
(name "meson-python")
|
||||||
(version "0.12.1")
|
(version "0.15.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "meson_python" version))
|
(uri (pypi-uri "meson_python" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1hpjw9qj6ff8ixjs0pz7qysc8v57jxgaf5n1p6bqm9bh3mc3wnrx"))))
|
"0vyjhjabvm41hqijifk33idbdl62i76kfyf884f9rs29rpp77nzx"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; The project is configured to use itself to build ('mesonpy') and fails;
|
;; The project is configured to use itself to build ('mesonpy') and fails;
|
||||||
|
@ -361,13 +361,22 @@ resembles Python.")
|
||||||
#:test-flags #~(list "tests"
|
#:test-flags #~(list "tests"
|
||||||
;; The test_pep518 tries to install
|
;; The test_pep518 tries to install
|
||||||
;; dependencies from the network using pip.
|
;; 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
|
(propagated-inputs
|
||||||
(list meson
|
(list meson
|
||||||
ninja
|
ninja
|
||||||
python-colorama
|
python-colorama
|
||||||
python-pyproject-metadata
|
python-cython
|
||||||
|
python-pyproject-metadata-0.7
|
||||||
python-tomli
|
python-tomli
|
||||||
|
python-typing-extensions
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pypa-build
|
(list python-pypa-build
|
||||||
|
@ -380,6 +389,7 @@ resembles Python.")
|
||||||
python-cython
|
python-cython
|
||||||
python-gitpython
|
python-gitpython
|
||||||
python-pytest
|
python-pytest
|
||||||
|
python-pytest-cov
|
||||||
python-pytest-mock))
|
python-pytest-mock))
|
||||||
(home-page "https://github.com/mesonbuild/meson-python")
|
(home-page "https://github.com/mesonbuild/meson-python")
|
||||||
(synopsis "Meson-based build backend for Python")
|
(synopsis "Meson-based build backend for Python")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue