gnu: python-pygpgme: Move setuptools to python2-pygpgme.

* gnu/packages/gnupg.scm (python-pygpgme)[inputs]: Remove
python-setuptools.
(python2-pygpgme)[native-inputs]: Add python2-setuptools.
This commit is contained in:
Efraim Flashner 2016-08-19 11:24:42 +03:00
parent b9d58a8c31
commit a78435223b
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 7 additions and 4 deletions

View File

@ -414,9 +414,7 @@ and every application benefits from this.")
(zero? (system* "make" "check")))))))
(build-system python-build-system)
(inputs
`(;; setuptools required for python-2 variant
("python-setuptools" ,python-setuptools)
("gnupg" ,gnupg-2.0)
`(("gnupg" ,gnupg-2.0)
("gpgme" ,gpgme)))
(home-page "https://launchpad.net/pygpgme")
(synopsis "Python module for working with OpenPGP messages")
@ -426,7 +424,12 @@ decrypt messages using the OpenPGP format by making use of GPGME.")
(license license:lgpl2.1+)))
(define-public python2-pygpgme
(package-with-python2 python-pygpgme))
(let ((base (package-with-python2 python-pygpgme)))
(package
(inherit base)
(native-inputs
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
(define-public python-gnupg
(package