[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: python2-renpy: Do not delete non-existing file.
From: |
guix-commits |
Subject: |
02/05: gnu: python2-renpy: Do not delete non-existing file. |
Date: |
Sat, 15 Jan 2022 04:01:31 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit 72d43df66d38c510a7ba503924d85d655a26a978
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Fri Dec 17 19:22:04 2021 +0100
gnu: python2-renpy: Do not delete non-existing file.
* gnu/packages/game-development.scm (python2-renpy)[build]: Don't delete
renpy/__init__.pyc, it is no longer being built. Adjust comment
accordingly.
---
gnu/packages/game-development.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index 9744b3ec23..43c604567d 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1321,9 +1321,8 @@ developed mainly for Ren'py.")
;; named "setup.py".
(with-directory-excursion "module"
(apply (assoc-ref %standard-phases 'build) args))
- ;; the above causes renpy.__init__ to be compiled but does not
- ;; compile anything else, hence we do that here
- (delete-file "renpy/__init__.pyc")
+ ;; The above only builds the cython modules, but nothing else,
+ ;; so we do that here.
(invoke "python" "-m" "compileall" "renpy")
#t))
(replace 'install