gnu: scons: Update to 3.0.1.

* gnu/packages/python.scm (scons): Update to 3.0.1.
(scons-python2): New variable.
This commit is contained in:
Arun Isaac 2017-11-18 10:25:40 +05:30
parent c5b2905d92
commit bf630276a1
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 8 additions and 5 deletions

View File

@ -1365,19 +1365,17 @@ existing ones.")
(define-public scons
(package
(name "scons")
(version "2.5.1")
(version "3.0.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/scons/scons/" version
"/scons-" version ".tar.gz"))
(sha256
(base32
"1wji1z9jdkhnmm99apx6fhld9cs52rr56aigniyrcsmlwy52298b"))))
"0wzid419mlwqw9llrg8gsx4nkzhqy16m4m40r0xnh6cwscw5wir4"))))
(build-system python-build-system)
(arguments
;; With Python 3.x, fails to build with a syntax error.
`(#:python ,python-2
#:use-setuptools? #f ; still relies on distutils
`(#:use-setuptools? #f ; still relies on distutils
#:tests? #f)) ; no 'python setup.py test' command
(home-page "http://scons.org/")
(synopsis "Software construction tool written in Python")
@ -1389,6 +1387,11 @@ In short, SCons is an easier, more reliable and faster way to build
software.")
(license license:x11)))
(define-public scons-python2
(package
(inherit (package-with-python2 scons))
(name "scons-python2")))
(define-public python-extras
(package
(name "python-extras")