M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +16 -14
@@ 31997,26 31997,28 @@ original state after the string is printed.")
(define-public python-sane
(package
(name "python-sane")
- (version "2.9.1")
+ (version "2.9.2")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri name version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python-pillow/Sane")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1pi597z94n2mkd821ln52fq0g727n2jxfskf280ip3kf7jw8w294"))))
- (build-system python-build-system)
- (native-inputs
- (list python-pytest))
- (inputs
- (list sane))
+ (base32 "0ldc17n1h8awd0flhwhvb5fj0izy5vy18c128saqnm5isq273y9r"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; No tests.
+ (native-inputs (list python-setuptools))
+ (inputs (list sane))
(home-page "https://github.com/python-pillow/Sane")
(synopsis "Python interface to the SANE scanner")
- (description "This package provides Python interface to the SANE scanner
-and frame grabber interface.")
+ (description
+ "This package provides Python interface to the SANE scanner and frame
+grabber interface.")
(license (license:non-copyleft
- ;; Yet another variant of the X/MIT license.
- "https://github.com/python-pillow/Sane/blob/master/COPYING"))))
+ ;; Yet another variant of the X/MIT license.
+ "https://github.com/python-pillow/Sane/blob/master/COPYING"))))
(define-public python-scikit-build
(package