From patchwork Sun Nov 14 01:50:29 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: 34457 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 BD3A327BBE3; Sun, 14 Nov 2021 01:51:49 +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 819C427BBE1 for ; Sun, 14 Nov 2021 01:51:49 +0000 (GMT) Received: from localhost ([::1]:57444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mm4gO-00025T-Nz for patchwork@mira.cbaines.net; Sat, 13 Nov 2021 20:51:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm4fg-0001Ze-De for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mm4fg-0003bm-4F for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mm4fg-0002WW-1C for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51675] [PATCH v2 3/5] gnu: Add python-pydoctor. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Nov 2021 01:51:03 +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.16368546389630 (code B ref 51675); Sun, 14 Nov 2021 01:51:03 +0000 Received: (at 51675) by debbugs.gnu.org; 14 Nov 2021 01:50:38 +0000 Received: from localhost ([127.0.0.1]:48639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mm4fG-0002V9-GB for submit@debbugs.gnu.org; Sat, 13 Nov 2021 20:50:38 -0500 Received: from singpolyma.net ([192.99.233.116]:37017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mm4fB-0002UC-Rq for 51675@debbugs.gnu.org; Sat, 13 Nov 2021 20:50:35 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 2F88C4861699; Sun, 14 Nov 2021 01:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1636854633; bh=l662wyEiehQVb1iNvg/gcKt56xfAf6C6jBQIDv8Yk7E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vx90Cb54JLi6Rw64B7B5cpqdSW3+kDGYfJVV6fFN4HHBNMyXKSA+JVszMxB9Lb+mW KhGhGPmowxrBnnXJf8rlKgDH382xUYV2bxstk1yDGWIMA+/taJhJbDpTR5E1/q0rtg u4covXVD3wPXD+qGIQIzF4jcbF58kqC1ZLPSMIh4= From: Stephen Paul Weber Date: Sat, 13 Nov 2021 20:50:29 -0500 Message-Id: <20211114015031.11010-3-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211114015031.11010-1-singpolyma@singpolyma.net> References: <20211114015031.11010-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 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 68d397d012..1383406885 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27693,3 +27693,38 @@ 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) + (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 "Pydoctor is 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)))