From 72d43df66d38c510a7ba503924d85d655a26a978 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Fri, 17 Dec 2021 19:22:04 +0100 Subject: 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 -- cgit v1.2.3