diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-10-05 23:25:31 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 15:49:27 +0000 |
| commit | e81b676b95cf068311e53496519774b6c23ae3a5 (patch) | |
| tree | 90889ff8aa0ee1cfea32537a7d3aeccacb678c44 /gnu/packages/code.scm | |
| parent | b015f88dce69c94aafb488151ebf0b15aec9222d (diff) | |
gnu: lcov-cobertura: Fix build.
* gnu/packages/code.scm (lcov-cobertura): Fix build.
[arguments] <#:phases>: Add 'patch-source phase.
Change-Id: Ie040ad02e53eab2733254e2a6a1c6d034b2ec6d3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 0111dbc5132..abb210eac2c 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -627,6 +627,21 @@ functionality such as HTML output.") | |||
| 627 | (sha256 | 627 | (sha256 |
| 628 | (base32 "13xmr249c6qygm14gilb0icrsgb35ghsrr14a1zvppmxy9jf5a7g")))) | 628 | (base32 "13xmr249c6qygm14gilb0icrsgb35ghsrr14a1zvppmxy9jf5a7g")))) |
| 629 | (build-system pyproject-build-system) | 629 | (build-system pyproject-build-system) |
| 630 | (arguments | ||
| 631 | (list | ||
| 632 | #:phases | ||
| 633 | #~(modify-phases %standard-phases | ||
| 634 | (add-after 'unpack 'patch-source | ||
| 635 | (lambda _ | ||
| 636 | ;; Prevent setuptools.errors.InvalidConfigError: | ||
| 637 | ;; License classifiers have been superseded by license expressions | ||
| 638 | ;; (see https://peps.python.org/pep-0639/). Please remove: | ||
| 639 | ;; License :: OSI Approved :: Apache Software License | ||
| 640 | ;; Reported upstream: | ||
| 641 | ;; https://github.com/eriwen/lcov-to-cobertura-xml/pull/65 | ||
| 642 | (substitute* "setup.cfg" | ||
| 643 | (("\tLicense :: OSI Approved :: Apache Software License\n") | ||
| 644 | ""))))))) | ||
| 630 | (native-inputs | 645 | (native-inputs |
| 631 | (list python-pytest | 646 | (list python-pytest |
| 632 | python-setuptools | 647 | python-setuptools |
