From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qLStDnGsjmEmugAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 19:03:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8MpsCnGsjmHBWAAA1q6Kng (envelope-from ) for ; Fri, 12 Nov 2021 18:03:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CD3CC356EF for ; Fri, 12 Nov 2021 19:03:28 +0100 (CET) Received: from localhost ([::1]:38546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlatb-0006Wj-A4 for larch@yhetil.org; Fri, 12 Nov 2021 13:03:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlatJ-0006WD-Hc for guix-patches@gnu.org; Fri, 12 Nov 2021 13:03:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlatC-00050W-LC for guix-patches@gnu.org; Fri, 12 Nov 2021 13:03:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlatC-0001CS-87 for guix-patches@gnu.org; Fri, 12 Nov 2021 13:03:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51675] [PATCH 3/5] gnu: Add python-pydoctor. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 18:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Stephen Paul Weber , 51675@debbugs.gnu.org Received: via spool by 51675-submit@debbugs.gnu.org id=B51675.16367401764601 (code B ref 51675); Fri, 12 Nov 2021 18:03:02 +0000 Received: (at 51675) by debbugs.gnu.org; 12 Nov 2021 18:02:56 +0000 Received: from localhost ([127.0.0.1]:45914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlat6-0001C7-2h for submit@debbugs.gnu.org; Fri, 12 Nov 2021 13:02:56 -0500 Received: from mout01.posteo.de ([185.67.36.65]:45009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlat3-0001Bt-Ux for 51675@debbugs.gnu.org; Fri, 12 Nov 2021 13:02:55 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5A67F240027 for <51675@debbugs.gnu.org>; Fri, 12 Nov 2021 19:02:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636740167; bh=s93xQlVS+l3MBVLEIykIPPf2WHl5fPrzaR2KLGNyGxA=; h=Subject:From:To:Date:From; b=UbEDMLEQrvZO/TPPSe7LbLMZC8pUZxvjQY69aSczxg1QtHL/rbg7/L4fosoucOFwl H0RkYq6eDZL1vgGw//MVKbFHZORlacn19V97nQ1EackzFzdiz0Fvisc0BzS3SOaQkd WpDjnO+qkmrhQHyZea2aaEUm6ifKe6X1eolettGBVqhd4Y7YPxAY3ThhDotWk3Vw7n oiO/WVNLF1p5YUH/b4VP8iXfdkpt3HbvcXGc3DtLj8/e3ynU639L+XU36F+/lxYr6Q DngxvbaHCnBaa69SdJbbWO5yPGOSSfDY03hDzDwtz5UuTvZ6s4hf3nXmfii8i0AWo+ zMh+78nV4L6Vg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HrRJP26rKz9rxP; Fri, 12 Nov 2021 19:02:45 +0100 (CET) Message-ID: <4a21a9d7262cbd062fa22555bbadaeeb34c6a79e.camel@posteo.net> From: Vinicius Monego Date: Fri, 12 Nov 2021 18:02:36 +0000 In-Reply-To: <20211108024520.49594-3-singpolyma@singpolyma.net> References: <20211108024520.49594-1-singpolyma@singpolyma.net> <20211108024520.49594-3-singpolyma@singpolyma.net> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636740208; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dAsfKn8Z1+aiLIJs+I4cyoZ+qfm3+vGU5bbKqtx40eQ=; b=V8OLcEzkHz4hjC7xwTkQuHS4Qv0cLqv89OnNoJDtIeTcvadkSBou9a62xAgOqCTM19OI2Q q3AjIo9Fqoz3nomjgsgCGdPTC6S9RNgMowrFTsnKaikp7V3RerrLyqGU692jGHywAGEuOQ BRyG8xNotUAL8MiHtu8ljPZI78uyFSEJWueA5axwxG6Q2WgqFI75SKp/vSNQjtOOxarlBE 2P5pbum7pCLcPQxUO7HlWH3j6doUjI/dTkH/IR1F5cp3bHMNcX3wYWL03faEfnoqhDrpbn mwKosuLzR/4aodIENNSoQXjgSrUTcSEmIL2301OsEPNmnoE/9sOV/9VXwE6OAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636740208; a=rsa-sha256; cv=none; b=bEl5QWozdCAGggfOsrn+TVVUXmLjxduvMElBrtrt0uXE3i6KjBNjKn7VmESGW2Uqdj9VIZ +BLe41LHLGBQ6qwBlQVROmQmc1l2x7NKw6HgDbwdBVX1oze0yU0/B8shCY3ZlhND88wYnp zd7h7TX8mQHOVsWDOeIOS48F/GqHfUfI/Dz/d3v7y1o3CEyEhxu3sy1bsfpT5Tw35oQipo 3orlnvjxAV8VDFbL/PSt80QliC+7g+pVQGqKTpy5wi2zHqNOz/kf5ebhCdjf1Ey5xPsH6Z xYxUQYpgXluy/FLjA6Jalfav7jCLu4qq9hkQ6kWMPLrdc3btDqtTWxHG6rFq5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=UbEDMLEQ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=UbEDMLEQ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CD3CC356EF X-Spam-Score: -0.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: BdkcWEhRfFlk 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)))