From patchwork Mon Nov 8 02:45:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Paul Weber X-Patchwork-Id: 34312 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 41F8527BBE4; Mon, 8 Nov 2021 02:50:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5BC3F27BCD5 for ; Mon, 8 Nov 2021 02:49:32 +0000 (GMT) Received: from [::1] (port=56634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjuix-00022j-IQ for patchwork@mira.cbaines.net; Sun, 07 Nov 2021 21:49:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjufb-0003gR-7p for guix-patches@gnu.org; Sun, 07 Nov 2021 21:46:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjufa-00076p-W0 for guix-patches@gnu.org; Sun, 07 Nov 2021 21:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjufa-00067P-Td for guix-patches@gnu.org; Sun, 07 Nov 2021 21:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51675] [PATCH 3/5] gnu: Add python-pydoctor. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Nov 2021 02:46: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: 51675@debbugs.gnu.org Cc: Stephen Paul Weber Received: via spool by 51675-submit@debbugs.gnu.org id=B51675.163633953323439 (code B ref 51675); Mon, 08 Nov 2021 02:46:02 +0000 Received: (at 51675) by debbugs.gnu.org; 8 Nov 2021 02:45:33 +0000 Received: from localhost ([127.0.0.1]:55484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjuf7-00065s-0v for submit@debbugs.gnu.org; Sun, 07 Nov 2021 21:45:33 -0500 Received: from singpolyma.net ([192.99.233.116]:37495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjuex-00065E-J5 for 51675@debbugs.gnu.org; Sun, 07 Nov 2021 21:45:23 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 5386948616A0; Mon, 8 Nov 2021 02:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1636339523; bh=wE8oA6ly7Q6YNHb5CrHcdCmBEqxQCLv+gmBgGtuxOdc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tEDED/CxftySoFPUTHwTnFq9TJoDObFsxjfi+0xyJXrXayIxjqKIv99g6GgoBcnbE pNtPk9UpOspZ50lQLeAWRfYQk4utDg2GmJPh20yfvsYjxZwUXo/6klBf6+F22qZxT5 zFqlIXy7HL4XymWpuHlyOo5gLieq67iSU6DFarl0= From: Stephen Paul Weber Date: Sun, 7 Nov 2021 21:45:18 -0500 Message-Id: <20211108024520.49594-3-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211108024520.49594-1-singpolyma@singpolyma.net> References: <20211108024520.49594-1-singpolyma@singpolyma.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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)) + (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))) + (native-inputs + `(("python-beautifulsoup4" ,python-beautifulsoup4) + ("python-hypothesis" ,python-hypothesis) + ("python-pytest" ,python-pytest) + ("python-sphinx" ,python-sphinx))) + (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.") + (license license:expat)))