all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xinglu Chen <public@yoctocell.xyz>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>, 50724@debbugs.gnu.org
Subject: [bug#50724] [PATCH 2/3] gnu: Add python-platformdirs.
Date: Tue, 21 Sep 2021 22:12:04 +0200	[thread overview]
Message-ID: <87o88lg02z.fsf@yoctocell.xyz> (raw)
In-Reply-To: <3c719027baff05520288c3f0f0e97988a9565f7b.1632251925.git.h.goebel@crazy-compilers.com>

[-- Attachment #1: Type: text/plain, Size: 2184 bytes --]

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>



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

  reply	other threads:[~2021-09-21 20:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-21 19:19 [bug#50724] [PATCH 1/3] gnu: Add python-charset-normalizer Hartmut Goebel
2021-09-21 19:22 ` [bug#50724] [PATCH 2/3] gnu: Add python-platformdirs Hartmut Goebel
2021-09-21 20:12   ` Xinglu Chen [this message]
2021-09-23 17:11     ` Hartmut Goebel
2021-09-21 19:22 ` [bug#50724] [PATCH 3/3] gnu: Add python-zeep Hartmut Goebel
2021-09-21 20:16   ` Xinglu Chen
2021-09-23 17:09     ` Hartmut Goebel

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

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

  git send-email \
    --in-reply-to=87o88lg02z.fsf@yoctocell.xyz \
    --to=public@yoctocell.xyz \
    --cc=50724@debbugs.gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.