From patchwork Wed Feb 12 00:14:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 20224 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 35F67168CB; Wed, 12 Feb 2020 00:16:15 +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, FREEMAIL_FROM,MAILING_LIST_MULTI,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 ESMTP id 267F8168C4 for ; Wed, 12 Feb 2020 00:16:14 +0000 (GMT) Received: from localhost ([::1]:58614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1fhM-0004QZ-5B for patchwork@mira.cbaines.net; Tue, 11 Feb 2020 19:16:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56656) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1fhD-0004QM-MM for guix-patches@gnu.org; Tue, 11 Feb 2020 19:16:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1fhC-0007oc-E8 for guix-patches@gnu.org; Tue, 11 Feb 2020 19:16:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1fhC-0007oX-BG for guix-patches@gnu.org; Tue, 11 Feb 2020 19:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1fhC-0004ky-5f for guix-patches@gnu.org; Tue, 11 Feb 2020 19:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39572] [PATCH] gnu: Add python-sphinx-autodoc-typehints. Resent-From: sirgazil Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 12 Feb 2020 00:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39572 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39572@debbugs.gnu.org Cc: sirgazil X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158146654218253 (code B ref -1); Wed, 12 Feb 2020 00:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2020 00:15:42 +0000 Received: from localhost ([127.0.0.1]:57731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1fgr-0004kL-LB for submit@debbugs.gnu.org; Tue, 11 Feb 2020 19:15:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:39706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1fgq-0004kE-E6 for submit@debbugs.gnu.org; Tue, 11 Feb 2020 19:15:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56540) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1fgp-0004Oy-3x for guix-patches@gnu.org; Tue, 11 Feb 2020 19:15:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1fgn-0007dB-QI for guix-patches@gnu.org; Tue, 11 Feb 2020 19:15:38 -0500 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25186) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1fgn-0007cA-Ha for guix-patches@gnu.org; Tue, 11 Feb 2020 19:15:37 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1581466532; cv=none; d=zohomail.com; s=zohoarc; b=MCqt+FWb9XQ/qpl0sRVd1zniA3/rvgTMKisbuUtJlH9vPSdvqO0C/8Zghe17CBTz7ehqVOsvmZl5TJXZCJDgTUjttiAZnlbe6Bz0OqpwLH58Ku8U5UpCETdt95blO1OqXrK5QyCsfJpT0bMM6gyQvzWKBMoSH9uIiq88BBTmVuI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1581466532; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=GOS8I7+zAkLpnbQRE7uaN2OEBZxBr75celell0DcyOo=; b=PK415tWctMvsvwbXdIaAe9gkMnvMOLN184McRmhA21ggHSnYevlW1uT1GbtN2PTFBGJUPYal2BXoHl6ARD+MH+gR7Oy5+m4SPIHQ2PKRvrtWt0nVDHX70cuLCP8A7LopBaM+K7DTMLIXJLj0qQs7ouqv7OhNBUdvI4wrVvLR1aA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:message-id:subject:date:mime-version:content-type; b=chbMxv1ux9bREMFSUK1U2bKpCddOdrjyMHoSffb/OMgfSekFdI8muehu/6x0TcArV73G5+1B7cPy MD9zxiEsS1to2Z2xJ9eT0ppHdQGBAHsFVwmUUxCJg84j9sBpFbRE DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1581466532; s=zm2020; d=zoho.com; i=sirgazil@zoho.com; h=From:To:Cc:Message-ID:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=GOS8I7+zAkLpnbQRE7uaN2OEBZxBr75celell0DcyOo=; b=Rs87Zd3CfaludSnEMZ1jCDRQcbuXN/u56I0aEmS4ne0dN9rJDgVNodfFjPIPzkIE JyH9xXEuxtNHWkye3YPQJJiGho1RQWSJA68cZmf17RWyDCWLzDRYOkMOLKP2b52Gyn9 Mc//pSBC/diTxLW1CPQXOjzCQilMqHyLs97oHDao= Received: from localhost.localdomain (179.15.13.185 [179.15.13.185]) by mx.zohomail.com with SMTPS id 1581466530897597.4177446574137; Tue, 11 Feb 2020 16:15:30 -0800 (PST) Message-ID: <20200212001420.24513-1-sirgazil@zoho.com> Date: Tue, 11 Feb 2020 19:14:20 -0500 X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Reply-to: sirgazil , sirgazil via Guix-patches X-Patchwork-Original-From: sirgazil via Guix-patches via From: "ashish.is--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): New variable. --- gnu/packages/sphinx.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 4e4abccb04..41bde173c3 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2019 Nicolas Goaziou ;;; Copyright © 2019 Alexandros Theodotou ;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2020 sirgazil ;;; ;;; This file is part of GNU Guix. ;;; @@ -597,3 +598,27 @@ to be able to read and render the Doxygen xml output.") "A utility tool that provides several features that make it easy to translate and to apply translation to Sphinx generated document.") (license license:bsd-2))) + +(define-public python-sphinx-autodoc-typehints + (package + (name "python-sphinx-autodoc-typehints") + (version "1.10.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sphinx-autodoc-typehints" version)) + (sha256 + (base32 + "1w6zy3cyp24jsdi8dcynrinafw2a0k5vblqy9lncm6j7cw0iicx6")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools-scm" ,python-setuptools-scm))) + (propagated-inputs + `(("python-sphinx" ,python-sphinx))) + (home-page "https://github.com/agronholm/sphinx-autodoc-typehints") + (synopsis "Type hints support for the Sphinx autodoc extension") + (description + "This extension allows you to use Python 3 annotations for +documenting acceptable argument types and return value types of +functions.") + (license license:expat)))