gnu: crawl: Build with python3-wrapper.

* gnu/packages/games.scm (crawl)[native-inputs replace python with
python-wrapper.
[arguments]: Remove custom 'patch-python phase.
master
Efraim Flashner 2019-03-08 15:25:57 +02:00
parent 4035fcba93
commit fc7d6bc60d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 6 deletions

View File

@ -4437,7 +4437,7 @@ fish. The whole game is accompanied by quiet, comforting music.")
`(("bison" ,bison) `(("bison" ,bison)
("flex" ,flex) ("flex" ,flex)
("perl" ,perl) ("perl" ,perl)
("python" ,python) ("python" ,python-wrapper)
("python-pyyaml" ,python-pyyaml) ("python-pyyaml" ,python-pyyaml)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(arguments (arguments
@ -4454,11 +4454,6 @@ fish. The whole game is accompanied by quiet, comforting music.")
"-Csource")) "-Csource"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-python
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "source/util/species-gen.py"
(("python") "python3"))
#t))
(delete 'configure) (delete 'configure)
(replace 'check (replace 'check
(lambda* (#:key inputs outputs make-flags #:allow-other-keys) (lambda* (#:key inputs outputs make-flags #:allow-other-keys)