summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Deldycke <kevin@deldycke.com>2026-07-28 16:12:01 +0400
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-07 01:02:04 +0100
commitc0548d087f741163c53ce4854d7bcd20855dd0b1 (patch)
tree0d9df79e638ac87f493ddaa09eac97ebab398e33
parent1e969ec3a0b12a2d7250cc2560c1f60125344751 (diff)
gnu: python-click-extra: Update to 8.8.1.
* gnu/packages/python-xyz.scm (python-click-extra): Update to 8.8.1. [arguments]: Remove the declare-package-data phase, redundant with upstream's setuptools package-data shim shipped since 8.6.1. Relates-to: guix/guix!10245 Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 4 insertions, 19 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9156747c939..0536ed247f7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -846,7 +846,7 @@ templates language.")
846(define-public python-click-extra 846(define-public python-click-extra
847 (package 847 (package
848 (name "python-click-extra") 848 (name "python-click-extra")
849 (version "8.1.4") 849 (version "8.8.1")
850 (source 850 (source
851 (origin 851 (origin
852 (method git-fetch) 852 (method git-fetch)
@@ -855,29 +855,14 @@ templates language.")
855 (commit (string-append "v" version)))) 855 (commit (string-append "v" version))))
856 (file-name (git-file-name name version)) 856 (file-name (git-file-name name version))
857 (sha256 857 (sha256
858 (base32 "1mglhfrmwq616irga69vv206bf3d20kp1jm8fvhgcidj53cxygj7")))) 858 (base32 "0i22as7f22qhnp69c7zwdh7k4pzl45ywa0hdj71j0n07lqdmdqc7"))))
859 (build-system pyproject-build-system) 859 (build-system pyproject-build-system)
860 ;; Upstream uses uv-build which is not yet available in Guix. 860 ;; Upstream uses uv-build which is not yet available in Guix.
861 (arguments 861 (arguments
862 (list 862 (list
863 #:build-backend "setuptools.build_meta" 863 #:build-backend "setuptools.build_meta"
864 #:test-flags 864 ;; Skip the network tests.
865 ;; Skip the network tests. 865 #:test-flags #~(list "-m" "not network")))
866 #~(list "-m" "not network")
867 #:phases
868 ;; The setuptools backend used here (in place of upstream's
869 ;; uv-build) installs only ``*.py``; declare the data files loaded
870 ;; at import time as package data.
871 #~(modify-phases %standard-phases
872 (add-after 'unpack 'declare-package-data
873 (lambda _
874 (substitute* "pyproject.toml"
875 (("^\\[build-system\\]")
876 (string-append
877 "[tool.setuptools.package-data]\n"
878 "click_extra = [\"*.toml\", \"py.typed\"]\n"
879 "\n[build-system]"))))))))
880
881 (native-inputs 866 (native-inputs
882 ;; Optional libraries imported at module level by the test suite. 867 ;; Optional libraries imported at module level by the test suite.
883 (list python-hjson 868 (list python-hjson