me
/
guix
Archived
1
0
Fork 0

gnu: python-boot0: Don't install tests.

* gnu/packages/commencement.scm (python-boot0)[arguments]: Add phase to
remove installed tests.
master
Efraim Flashner 2022-01-19 13:06:23 +02:00
parent bc5654af82
commit 80194d9e47
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 7 additions and 0 deletions

View File

@ -3125,6 +3125,13 @@ memoized as a function of '%current-system'."
;; Prevent the 'ossaudiodev' extension from being
;; built, since it requires Linux headers.
(("'linux', ") ""))))
(add-after 'install 'remove-tests
(lambda* (#:key outputs #:allow-other-keys)
(delete-file-recursively
(string-append (assoc-ref outputs "out")
"/lib/python"
,(version-major+minor version)
"/test"))))
,@(if (hurd-system?)
`((add-before 'build 'fix-regen
(lambda* (#:key inputs #:allow-other-keys)