gnu: bambam: Update to 1.0.0.
* gnu/packages/games.scm (bambam): Update to 1.0.0. [arguments]: Use default Python (3). Delete obsolete ‘patch-data-dir-location’ phase.master
parent
9b0dae2222
commit
8e77da0d11
|
@ -3840,29 +3840,22 @@ programmers may also add their own favorite language.")
|
||||||
(define-public bambam
|
(define-public bambam
|
||||||
(package
|
(package
|
||||||
(name "bambam")
|
(name "bambam")
|
||||||
(version "0.6")
|
(version "1.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/porridge/bambam")
|
(url "https://github.com/porridge/bambam")
|
||||||
(commit version)))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "18cwd1wpyyx8y61cags9bkdhx9x858xicc4y1c9c2s0xjmgzhl3i"))))
|
||||||
"08hcd0gzia3pz7fzk4pqc5kbq1074j4q0jcmbpgvr7n623nj2xa5"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:python ,python-2
|
`(#:tests? #f ; no tests
|
||||||
#:tests? #f ; no tests
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'build)
|
(delete 'build) ; nothing to build
|
||||||
(add-before 'install 'patch-data-dir-location
|
|
||||||
(lambda _
|
|
||||||
(substitute* "bambam.py"
|
|
||||||
(("'data'") "'../share/bambam/data'"))
|
|
||||||
#t))
|
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Reference in New Issue