me
/
guix
Archived
1
0
Fork 0

gnu: python2-file: Build with setuptools.

* gnu/packages/python.scm (python-file)[properties]: New field.
(python2-file): Use strip-python2-variant.
[native-inputs]: Add python2-setuptools.
master
Leo Famulari 2016-10-15 20:13:29 -04:00
parent 4c8c2b0f54
commit 2f87a77ff7
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 8 additions and 2 deletions

View File

@ -6465,10 +6465,16 @@ Python's @code{ctypes} foreign function interface (FFI).")
(synopsis "Python bindings to the libmagic file type guesser. Note that
this module and the python-magic module both provide a \"magic.py\" file;
these two modules, which are different and were developed separately, both
serve the same purpose: provide Python bindings for libmagic.")))
serve the same purpose: provide Python bindings for libmagic.")
(properties `((python2-variant . ,(delay python2-file))))))
(define-public python2-file
(package-with-python2 python-file))
(let ((base (package-with-python2 (strip-python2-variant python-file))))
(package
(inherit base)
(native-inputs
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
(define-public python-debian
(package