From ad88d96662bfd17b0f0335080cf50a4e17678f30 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 25 Jun 2025 20:09:56 -0300 Subject: [PATCH] gnu: python-gphoto2: Update to 2.6.1. * gnu/packages/python-xyz.scm (python-gphoto2): Update to 2.6.1. [source]: Fetch from GitHub. [build-system]: Use pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. Change-Id: Ib92928d16dd9a922360e40b07b84e60e19558006 --- gnu/packages/python-xyz.scm | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 995a06c6cab55f0ccfb24a7d7ef7e00659e9a1a9..4c124342ede7f97aa49bbd55eb6ddd9b8c114065 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3189,16 +3189,19 @@ allows one to read and write JPEG 2000 files") (define-public python-gphoto2 (package (name "python-gphoto2") - (version "2.5.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "gphoto2" version)) - (sha256 - (base32 - "104yb4g427rqjkaw3i0w30x3sssvmpna802nabjclzq688y7ml4p")))) - (build-system python-build-system) + (version "2.6.1") + (source + (origin + (method git-fetch) ; no tests in PyPI + (uri (git-reference + (url "https://github.com/jim-easterbrook/python-gphoto2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08zwznl3f8j329db747jl2zrpqj58ml39in5gl2gqghw82ssi3gk")))) + (build-system pyproject-build-system) (native-inputs - (list pkg-config)) + (list pkg-config python-pytest python-setuptools python-wheel)) (inputs (list libgphoto2)) (home-page "https://github.com/jim-easterbrook/python-gphoto2")