all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: Stephen Paul Weber <singpolyma@singpolyma.net>, 51675@debbugs.gnu.org
Subject: [bug#51675] [PATCH 3/5] gnu: Add python-pydoctor.
Date: Fri, 12 Nov 2021 18:02:36 +0000	[thread overview]
Message-ID: <4a21a9d7262cbd062fa22555bbadaeeb34c6a79e.camel@posteo.net> (raw)
In-Reply-To: <20211108024520.49594-3-singpolyma@singpolyma.net>

Em dom, 2021-11-07 às 21:45 -0500, Stephen Paul Weber escreveu:
> * gnu/packages/python-xyz.scm (python-pydoctor): New variable.
> ---
>  gnu/packages/python-xyz.scm | 38
> +++++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-
> xyz.scm
> index 96718c7c18..f439ffd91e 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -27693,3 +27693,41 @@ simple mock/record and a complete
> capture/replay framework.")
>       "Ijson is an iterative JSON parser with standard Python
> iterator
>  interfaces.")
>      (license license:bsd-3)))
> +
> +(define-public python-pydoctor
> +  (package
> +    (name "python-pydoctor")
> +    (version "21.9.2")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "pydoctor" version))
> +        (sha256
> +          (base32
> "0nknh3k4zv505031ga8ira0d4slvwwm5g5bzjacjidmi2mmjj311"))))
> +    (build-system python-build-system)
> +    (arguments
> +     ; Some tests use network and cache storage
> +     '(#:tests? #f))

Can these tests be skipped somehow? If Pytest is used there may be a
pytest mark, or if they are in specific files these files can be
deleted in a phase. If they are few they can be skipped manually too.

> +    (propagated-inputs
> +      `(("python-appdirs" ,python-appdirs)
> +        ("python-astor" ,python-astor)
> +        ("python-attrs" ,python-attrs)
> +        ("python-cachecontrol" ,python-cachecontrol)
> +        ("python-docutils" ,python-docutils)
> +        ("python-importlib-metadata" ,python-importlib-metadata)
> +        ("python-importlib-resources" ,python-importlib-resources)
> +        ("python-requests" ,python-requests)
> +        ("python-twisted" ,python-twisted)))

Does this package only provides an executable? Inputs can be normal
inputs in that case, the libraries will be wrapped to the executable in
the 'wrap phase.

> +    (native-inputs
> +      `(("python-beautifulsoup4" ,python-beautifulsoup4)
> +        ("python-hypothesis" ,python-hypothesis)
> +        ("python-pytest" ,python-pytest)
> +        ("python-sphinx" ,python-sphinx)))

If the tests still can't run these inputs can be removed or commented
out.

> +    (home-page "https://github.com/twisted/pydoctor")
> +    (synopsis "Python API documentation generator")
> +    (description "A documentation generator that works by static
> analysis.
> +It puts a fair bit of effort into resolving imports and computing
> inheritance
> +hierarchies and, as it aims at documenting Twisted, knows about
> zope.interface's
> +declaration API and can present information about which classes
> implement which
> +interface, and vice versa.")

Description should have full sentences. A rule of thumb is to use the
package name, e.g. "Pydoctor is a [...]" or "This package provides
[...]".

> +    (license license:expat)))






  reply	other threads:[~2021-11-12 18:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08  2:42 [bug#51675] Add python-wokkel, Jabber/XMPP module for Twisted Stephen Paul Weber
2021-11-08  2:45 ` [bug#51675] [PATCH 1/5] gnu: python-incremental: Update to 21.3.0 Stephen Paul Weber
2021-11-08  2:45   ` [bug#51675] [PATCH 2/5] gnu: python-twisted: Update to 21.7.0 Stephen Paul Weber
2021-11-12 17:53     ` Vinicius Monego
2021-11-08  2:45   ` [bug#51675] [PATCH 3/5] gnu: Add python-pydoctor Stephen Paul Weber
2021-11-12 18:02     ` Vinicius Monego [this message]
2021-11-08  2:45   ` [bug#51675] [PATCH 4/5] gnu: Add python-towncrier Stephen Paul Weber
2021-11-12 18:06     ` Vinicius Monego
2021-11-08  2:45   ` [bug#51675] [PATCH 5/5] gnu: Add python-wokkel Stephen Paul Weber
2021-11-12 18:14     ` Vinicius Monego
2021-11-12 18:21   ` [bug#51675] [PATCH 1/5] gnu: python-incremental: Update to 21.3.0 Vinicius Monego
2021-11-14  1:50 ` [bug#51675] [PATCH v2 " Stephen Paul Weber
2021-11-14  1:50   ` [bug#51675] [PATCH v2 2/5] gnu: python-twisted: Update to 21.7.0 Stephen Paul Weber
2021-11-14  1:50   ` [bug#51675] [PATCH v2 3/5] gnu: Add python-pydoctor Stephen Paul Weber
2021-11-14  1:50   ` [bug#51675] [PATCH v2 4/5] gnu: Add python-towncrier Stephen Paul Weber
2021-11-14  1:50   ` [bug#51675] [PATCH v2 5/5] gnu: Add python-wokkel Stephen Paul Weber
2022-01-14  0:48 ` [bug#51675] Add python-wokkel, Jabber/XMPP module for Twisted Stephen Paul Weber
2022-04-25  1:45   ` Vinicius Monego

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=4a21a9d7262cbd062fa22555bbadaeeb34c6a79e.camel@posteo.net \
    --to=monego@posteo.net \
    --cc=51675@debbugs.gnu.org \
    --cc=singpolyma@singpolyma.net \
    /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.