From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UId/K/XksmU0ugAAe85BDQ:P1 (envelope-from ) for ; Thu, 25 Jan 2024 23:47:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UId/K/XksmU0ugAAe85BDQ (envelope-from ) for ; Thu, 25 Jan 2024 23:47:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=XVv96m0v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706222837; 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=FxNZ6/GUNle7BbK76oHvcnywIVGWjyg2JqRXoMjgap0=; b=o26qjO3k3ovpEAMIod+V3thTz0jXisOAzrKAbCgNPMRrM2u1CrO3DYtLPK/bJr2RtN3mqA GGWd8dz24tMULAwiqdanvZxORoGqF6nf1PgXClpBBM+HqAfRaP8rTe1PSSvBbU8HJkqCtV fj5lJjiqi7nxgnnMEK4sIcBkV6yXkv8RWwDpTMWS7eY853/VOrbb74nNdUrbS4ZNHgDnze bgcNx/o+00X3ukKFyyYfai5WvP5uX0zR3YIV4rivby3Sl7Qo1ENEGRU9GhpzsSVMPEH96W PCf1+UMUNcy5tv7RKUMuz4CulmEvYlaBpnquUG3cL+rSwj35j/DIJsekfsNfug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=XVv96m0v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706222837; a=rsa-sha256; cv=none; b=tivEjWtlWHjh/GyxhdFZoW1y7/PyTGyFMJ+xShuVJIOZ+L6fh9RFkrYeKCYMYzT67odBZB QPa8v2tAMYtykuaAhEf7XtbiesMueXQwNT25EkR4LxkfiSLyYibbGjwcig/7uwqgLVU2Eh VZWoK9oAuXp1IMQ0R7IePYPLtX+IDcHHamxvr4QV4ig1JX1tMG8s/uaeVFaDlwk1xPGeYI 0E0D1Rvdqo46/qtCVttamoRT15iV1J9y/JLQt2eaOe8aqWkEFkEgeAHHuEdVzybfE9kKF+ Wu2G6wCt+jRHTOI7h/Nblq0/TYubPm7eNB0PnpincIr5UTfW9Q0cqEDZu/Qwwg== 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 7670532F6D for ; Thu, 25 Jan 2024 23:47:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT8Us-0006p1-35; Thu, 25 Jan 2024 17:46:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rT8Uq-0006oc-BD for guix-patches@gnu.org; Thu, 25 Jan 2024 17:46:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rT8Uq-0000Dp-3I for guix-patches@gnu.org; Thu, 25 Jan 2024 17:46:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rT8Uw-0004GA-61 for guix-patches@gnu.org; Thu, 25 Jan 2024 17:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68631] [PATCH v2] gnu: Add python-sphinx-issues. References: <87h6j7hu49.fsf@troyfigiel.com> In-Reply-To: <87h6j7hu49.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Jan 2024 22:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68631 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68631@debbugs.gnu.org Received: via spool by 68631-submit@debbugs.gnu.org id=B68631.170622282116366 (code B ref 68631); Thu, 25 Jan 2024 22:47:02 +0000 Received: (at 68631) by debbugs.gnu.org; 25 Jan 2024 22:47:01 +0000 Received: from localhost ([127.0.0.1]:49513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT8Uu-0004Ft-T1 for submit@debbugs.gnu.org; Thu, 25 Jan 2024 17:47:01 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:41638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT8Ut-0004FC-5Z for 68631@debbugs.gnu.org; Thu, 25 Jan 2024 17:47:00 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4TLbXz2Crhz9spm for <68631@debbugs.gnu.org>; Thu, 25 Jan 2024 23:46:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1706222803; h=from:from: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; bh=FxNZ6/GUNle7BbK76oHvcnywIVGWjyg2JqRXoMjgap0=; b=XVv96m0vRY/W0+khkzmNdl/oMBbRveMvrX8oFgPL/YU7bTL4JdS2DJXBCr2IS+/dN+tMcY P4J+UPpN05qIZic3TvV1NNgTVic4qXVWujIIvVag3GaMt1dXUwiL0M78YvDbtqXH0rDwVG 13MtuFjrZ5Van1Js8SEwVOXJQxe/qadbgxnpgQLCwm+zbeI/m2tuGAcsvSUmsMPwKJbc8a Y8Cd5k+sGlsorXx5l+MMSB6mhbMn8QvpgXjUD+Pop1JwukuWpUolTrq6v35t5ynH1VB5WF TBlQPZeGPWgKY+mm02bIfVRNKqsrZRQ4M61KGJLdWh62YEdwXK3YRxX/PHfb/g== From: Troy Figiel Date: Sun, 21 Jan 2024 11:11:41 +0100 Message-ID: <87h6j1ghf1.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.23 X-Spam-Score: 3.23 X-Migadu-Queue-Id: 7670532F6D X-Migadu-Scanner: mx12.migadu.com X-TUID: VNKMYclorpGr * gnu/packages/sphinx.scm (python-sphinx-issues): New variable. --- gnu/packages/sphinx.scm | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 7e5a929241..c34d72f7ca 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -18,6 +18,7 @@ ;;; Copyright =C2=A9 2021, 2022 Vinicius Monego ;;; Copyright =C2=A9 2021 Hugo Lecomte ;;; Copyright =C2=A9 2021, 2022 Maxim Cournoyer +;;; Copyright =C2=A9 2024 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -372,6 +373,48 @@ (define-public python-sphinxcontrib-newsfeed (home-page "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed") (license license:bsd-2))) =20 +(define-public python-sphinx-issues + (package + (name "python-sphinx-issues") + (version "4.0.0") + (source + (origin + ;; No tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/sloria/sphinx-issues") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q4as8gibvin0n6h5y1q4cwz3b1nwgs0idfc94dbndx42pjiz1vn")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'check 'patch-sphinx-build-path + (lambda _ + ;; The path to the sphinx-build binary is hardcoded= to + ;; be in the same directory as the python + ;; executable. That does not work when building the + ;; package. + (substitute* "tests/test_sphinx_issues.py" + (((string-append "Path\\(sys\\.executable\\)" + "\\.parent\\.joinpath\\" + "(\"sphinx-build\"\\)")) + (string-append "\"" + #$(this-package-native-input + "python-sphinx") + "/bin/sphinx-build\"")))))))) + (native-inputs (list python-flit-core python-pytest python-sphinx)) + (home-page "https://github.com/sloria/sphinx-issues") + (synopsis "Sphinx extension for linking to a project's issue tracker") + (description + "This package provides a Sphinx extension for linking to your project= 's +issue tracker. This includes roles for linking to issues, pull requests a= nd +user profiles. Support for GitHub is built-in, but other services can als= o be +supported with @code{sphinx-issues}.") + (license license:expat))) + (define-public python-sphinx-panels (package (name "python-sphinx-panels") base-commit: 9b657bab84be02935d66483da1ebbe4bc78c52fb --=20 2.42.0