unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 68206@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#68206] [PATCH 1/2] gnu: python-click-default-group: Update to 1.2.4.
Date: Tue,  2 Jan 2024 14:55:50 +0000	[thread overview]
Message-ID: <6a14be1f983f3a6d37831f6a7b699b41ba612091.1704190925.git.felgru@posteo.net> (raw)
In-Reply-To: <cover.1704190925.git.felgru@posteo.net>

* gnu/packages/python-xyz.scm (python-click-default-group): Update to 1.2.4.
[source]: Download from gitlab, because pypi package does not include
tests.
[build-system]: Change to pyproject-build-system.
[arguments]: Enable tests.
[native-inputs]: Add python-flit-core and python-pytest.

Change-Id: I7f3758066d167d28de2cc1214091a8a502ab4215
---
 gnu/packages/python-xyz.scm | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2afce6c667..77751a8d53 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,7 +108,7 @@
 ;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
 ;;; Copyright © 2021, 2022, 2023 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
 ;;; Copyright © 2021, 2022 Pradana Aumars <paumars@courrier.dev>
-;;; Copyright © 2021, 2022, 2023 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021–2024 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
 ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
 ;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
@@ -16422,18 +16422,21 @@ (define-public python-click-log
 (define-public python-click-default-group
   (package
     (name "python-click-default-group")
-    (version "1.2.2")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "click-default-group" version))
-              (sha256
-               (base32
-                "015r78jk8gznfw0dphpwaqcx5mhg5822b55w5xbb6i7sin70wmnr"))))
-    (build-system python-build-system)
-    (arguments
-      `(#:tests? #f)) ; no target
+    (version "1.2.4")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/click-contrib/click-default-group")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "06h12qwg0lhvxlgfm9768afibwp8j6r3r440v630a30bv0nkhngm"))))
+    (build-system pyproject-build-system)
     (propagated-inputs
      (list python-click))
+    (native-inputs
+     (list python-flit-core python-pytest))
     (synopsis "Extends click.Group")
     (description "This package extends click.Group to invoke a command without
 explicit subcommand name.")
-- 
2.43.0





  reply	other threads:[~2024-01-02 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-02 14:53 [bug#68206] [PATCH 0/2] Update python-sqlite-utils to 3.36 Felix Gruber
2024-01-02 14:55 ` Felix Gruber [this message]
2024-01-02 14:55 ` [bug#68206] [PATCH 2/2] gnu: python-sqlite-utils: Update " Felix Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a14be1f983f3a6d37831f6a7b699b41ba612091.1704190925.git.felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=68206@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).