GNU bug report logs - #50724
[PATCH 1/3] gnu: Add python-charset-normalizer.

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Tue, 21 Sep 2021 19:20:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>, 50724 <at> debbugs.gnu.org
Subject: [bug#50724] [PATCH 2/3] gnu: Add python-platformdirs.
Date: Tue, 21 Sep 2021 22:12:04 +0200
[Message part 1 (text/plain, inline)]
On Tue, Sep 21 2021, Hartmut Goebel wrote:

> * gnu/packages/python-xyz.scm (python-platformdirs): New variable.
> ---
>  gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 7239fa1584..908e9dbff6 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -26799,3 +26799,29 @@ services' API.  It includes a pre-defined set of classes for API resources
>  that initialize themselves dynamically from API responses which makes it
>  compatible with a wide range of versions of the Stripe API.")
>      (license license:expat)))
> +
> +(define-public python-platformdirs
> +  (package
> +    (name "python-platformdirs")
> +    (version "2.2.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "platformdirs" version))
> +       (sha256
> +        (base32 "07hq5qrp7pqj63iczg01wbf5ii6f0ncd0dq5mzkdhsslmg9slbb3"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python-appdirs" ,python-appdirs)
> +       ("python-pytest" ,python-pytest)
> +       ("python-pytest-cov" ,python-pytest-cov)
> +       ("python-pytest-mock" ,python-pytest-mock)))
> +    (home-page "https://github.com/platformdirs/platformdirs")
> +    (synopsis "Determine the appropriate platform-specific dirs, e.g. \"user
> +data dir\"")

The example is also mentioned in the description, so I would drop the
“e.g. ...” part.  Also, I would write “directories” instead of “dirs”,
just for the sake of clarity.

> +    (description "When writing applications, finding the right location to
> +store user data and configuration varies per platform.  Even for
> +single-platform apps, there may by plenty of nuances in figuring out the right
> +location.  This small Python module determines the appropriate
> +platform-specific directories, e.g. the \"user data dir\".")

Use ``'' instead of "", see the Texinfo manual on quote characters.

  <https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#Inserting-Quote-Characters>


[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.