[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/45: gnu: abjad: Fix build.
From: |
guix-commits |
Subject: |
13/45: gnu: abjad: Fix build. |
Date: |
Wed, 12 Jan 2022 17:58:39 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 3aca3f2877b64d98d3b389143b59155f8d28ea0f
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 12 14:43:08 2022 +0100
gnu: abjad: Fix build.
* gnu/packages/music.scm (abjad)[arguments]: Permit newer versions of uqbar.
[native-inputs]: Move everything except PYTHON-INICONFIG to ...
[propagated-inputs]: ... here. Add PYTHON-PYTEST-HELPERS-NAMESPACE.
---
gnu/packages/music.scm | 31 ++++++++++++++++++++-----------
1 file changed, 20 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index efa5f464d8..0d0ffa74d8 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -30,7 +30,7 @@
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
-;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
@@ -1564,26 +1564,35 @@ listeners answer questions about music quickly and
simply.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ (substitute* "setup.py"
+ ;; Permit newer versions of uqbar. Remove for >3.4.
+ ((", <0\\.5\\.0")
+ ""))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; See: https://stackoverflow.com/a/34140498
- (invoke "python" "-m" "pytest" "tests")
- #t))))))
- (native-inputs
- (list python-black
+ (invoke "python" "-m" "pytest" "tests")))))))
+ (inputs
+ (list lilypond))
+ (propagated-inputs
+ (list python-ply
+ python-quicktions
+ python-roman
+ python-six
+ python-uqbar
+ ;; XXX: These test dependencies(?) are listed as install_requires
+ ;; in setup.py. Propagate accordingly.
+ python-black
python-flake8
- python-iniconfig
python-isort
python-mypy
python-pytest
python-pytest-cov
+ python-pytest-helpers-namespace
python-sphinx-autodoc-typehints))
- (inputs
- (list lilypond))
- (propagated-inputs
- (list python-ply python-quicktions python-roman python-six
- python-uqbar))
(home-page "https://abjad.github.io")
(synopsis "Python API for building LilyPond files")
(description
- branch master updated (68f8dc32d6 -> 4d078ed710), guix-commits, 2022/01/12
- 03/45: gnu: Add python-cmarkgfm., guix-commits, 2022/01/12
- 02/45: gnu: python-cffi: Add 1.15., guix-commits, 2022/01/12
- 05/45: gnu: python-readme-renderer: Propagate python-cmarkgfm., guix-commits, 2022/01/12
- 06/45: gnu: cmark: Update to 0.30.2., guix-commits, 2022/01/12
- 12/45: gnu: uBlock Origin: Update to 1.40.8., guix-commits, 2022/01/12
- 16/45: gnu: python-flake8-implicit-str-concat: Permit newer attrs., guix-commits, 2022/01/12
- 09/45: gnu: postorius: Build with Django 2.2., guix-commits, 2022/01/12
- 13/45: gnu: abjad: Fix build.,
guix-commits <=
- 11/45: gnu: repo2docker: Update to 2021.08.0., guix-commits, 2022/01/12
- 10/45: gnu: python-matrix-synapse-ldap3: Fix build., guix-commits, 2022/01/12
- 21/45: gnu: python-platformdirs: Update to 2.4.1., guix-commits, 2022/01/12
- 19/45: gnu: python-typing-extensions: Update to 3.10.0.2., guix-commits, 2022/01/12
- 20/45: gnu: python-pathspec: Update to 0.9.0., guix-commits, 2022/01/12
- 01/45: gnu: Add cmark-gfm., guix-commits, 2022/01/12
- 15/45: gnu: python-modin: Permit newer versions of pandas., guix-commits, 2022/01/12
- 17/45: gnu: python-nbsphinx: Update to 0.8.8., guix-commits, 2022/01/12
- 22/45: gnu: python-isort: Update to 5.10.1., guix-commits, 2022/01/12
- 34/45: gnu: python-packaging: Add 21.3., guix-commits, 2022/01/12