From 976cb712f581495194449e4c5f4627c2b8e5e6ba Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 27 Feb 2024 08:40:50 +0100 Subject: [PATCH] gnu: meson-python: Do not delete LICENSES directory. * gnu/packages/build-tools.scm (meson-python)[arguments]: Remove custom phases. Change-Id: I653d18200dbb718791b3e193105b7ce9b22aa6e2 --- gnu/packages/build-tools.scm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 20106437b161ea4abbcd90516eef5c1f3c0d470a..31876e087fa808143084cf4fe651c120ea99f890 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -347,14 +347,7 @@ resembles Python.") (list #:test-flags #~(list "tests" ;; The test_pep518 tries to install ;; dependencies from the network using pip. - "-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")))))) + "-k" "not test_pep518"))) (propagated-inputs (list meson ninja