diff options
| author | Vinicius Monego <monego@posteo.net> | 2025-07-21 22:21:43 -0300 |
|---|---|---|
| committer | Vinicius Monego <monego@posteo.net> | 2025-07-23 15:30:16 -0300 |
| commit | a45e4b42edd2bf392fd69c4dd30b6e6a67530412 (patch) | |
| tree | 54d72f2ed104e49280bd935160f1259efa602088 /gnu/packages/python-xyz.scm | |
| parent | b9531036d2931c80d251767c44635b563efaa82f (diff) | |
gnu: python-exif-read: Enable tests.
* gnu/packages/python-xyz.scm (python-exif-read)[source]: Fetch from
GitHub.
[arguments]: Remove '#:tests? #f'.
[native-inputs]: Add python-pytest.
Change-Id: Ieffb996948c4fd8873351c89fd26c5314139e9ae
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 02cf7a39e5..a73d10fb00 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6769,15 +6769,17 @@ structure is left untouched.") (package (name "python-exif-read") (version "3.3.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "exifread" version)) - (sha256 - (base32 - "0n0knxfl30riszkbwrq18lxm2f2wsrpj2piwv6jn6bnm9mbadij5")))) + (source + (origin + (method git-fetch) ;PyPI doesn't contain the test images + (uri (git-reference + (url "https://github.com/ianare/exif-py") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0igvqhalrllidyccy7rlqbhx277rv7mf6bf0w6xjr0dj2dk3jw76")))) (build-system pyproject-build-system) - (arguments `(#:tests? #f)) ; no tests - (native-inputs (list python-setuptools python-wheel)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/ianare/exif-py") (synopsis "Python library to extract EXIF data from image files") (description |
