guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/45: gnu: python-platformdirs: Update to 2.4.1.


From: guix-commits
Subject: 21/45: gnu: python-platformdirs: Update to 2.4.1.
Date: Wed, 12 Jan 2022 17:58:41 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 4d10384f6435f657cd251cdca8d279b18b843ec2
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 12 16:37:27 2022 +0100

    gnu: python-platformdirs: Update to 2.4.1.
    
    * gnu/packages/python-xyz.scm (python-platformdirs): Update to 2.4.1.
    [arguments]: Override check phase.
    [native-inputs]: Add PYTHON-SETUPTOOLS-SCM.  Remove PYTHON-PYTEST-COV.
---
 gnu/packages/python-xyz.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2d14482bb0..2c332de983 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27810,17 +27810,22 @@ compatible with a wide range of versions of the 
Stripe API.")
 (define-public python-platformdirs
   (package
     (name "python-platformdirs")
-    (version "2.2.0")
+    (version "2.4.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "platformdirs" version))
        (sha256
-        (base32 "07hq5qrp7pqj63iczg01wbf5ii6f0ncd0dq5mzkdhsslmg9slbb3"))))
+        (base32 "1njz0h4iky8iglrb85cd07hpa3lp1a2dfr934dj65hxwzvfk61j4"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests? (invoke "pytest" "-vv")))))))
     (native-inputs
-     (list python-appdirs python-pytest python-pytest-cov
-           python-pytest-mock))
+     (list python-appdirs python-pytest python-pytest-mock
+           python-setuptools-scm))
     (home-page "https://github.com/platformdirs/platformdirs";)
     (synopsis "Determine the appropriate platform-specific directories")
     (description "When writing applications, finding the right location to



reply via email to

[Prev in Thread] Current Thread [Next in Thread]