gnu: python2-scikit-image: Remove needless native-input and inheritance.

Remove last additional [native-inputs] python-mock, thus there is no
need to inherit python-scikit-image package. Simply use
package-with-python2.

* gnu/packages/python.scm: (python-scikit-image): [properties]: Remove
  python2-variant. (python2-scikit-image) Use simply
  "package-with-python2" after removing last [native-inputs] python-mock.
This commit is contained in:
Hartmut Goebel 2016-10-16 20:37:14 +02:00
parent ddd1dc3d2d
commit 1273359455
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 2 additions and 8 deletions

View File

@ -2974,16 +2974,10 @@ mining and data analysis.")
(synopsis "Image processing in Python") (synopsis "Image processing in Python")
(description (description
"Scikit-image is a collection of algorithms for image processing.") "Scikit-image is a collection of algorithms for image processing.")
(license license:bsd-3) (license license:bsd-3)))
(properties `((python2-variant . ,(delay python2-scikit-image))))))
(define-public python2-scikit-image (define-public python2-scikit-image
(let ((scikit-image (package-with-python2 (package-with-python2 python-scikit-image))
(strip-python2-variant python-scikit-image))))
(package (inherit scikit-image)
(native-inputs
`(("python2-mock" ,python2-mock)
,@(package-native-inputs scikit-image))))))
(define-public python-redis (define-public python-redis
(package (package