From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +KHKHUHnsmUycgAAqHPOHw:P1 (envelope-from ) for ; Thu, 25 Jan 2024 23:57:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +KHKHUHnsmUycgAAqHPOHw (envelope-from ) for ; Thu, 25 Jan 2024 23:57:05 +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=oDlHawwk; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706223425; 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=2a9aD/AH5kHOKmz9IAUoNyqkeY9ncaTEQ9E0n3In+tM=; b=dpnLhY6qYq0OjgBFZYyjKEJZOdaQsiBnMz9y2ttQVfRinb+ZIZNGjqnOntVetilWw7YCiR Bwv9MS2Dr0+oRiM7cf3Wdyi1l0fNlNRFCagJ6BeYPT4ichBNu93cXqdH/HsP8CW/Q4CfjU JzavARoeeXMQMUMm9VKsNgTQS9S7N3ngj5mRaRQhnEdgrWtxyHPf2B4/BdA9PxoJbmSlUl 5VgF/cgsMUimVXEJOBL6rFisDZTIb+VsOIwkpcG2XJVpnVIXoYFnrEdUw4nJAM6Ccv+Gg6 AZ5T/IDgZzLsxlud2elLRLZ4wKNHQDmrBynAcGcVbLo0wtTe/a5Ws1Hc4/O2LA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=oDlHawwk; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706223425; a=rsa-sha256; cv=none; b=Y+UElmx9H1rJACqhwzGnEkmKEACO117gh38wXbMNEdM7dmEgO4eO8mxyUGUa1CYrvrwY2l 6B3YGNX5MScepU3Wy+a5zZugRG8STbJQNtd2P6lOof1wv/ig3CigSSK+SzgYLsDGEb68Cm jyNqzvHXvjZi6HFohZuhbNyqlolRXwq0T7sBCw3fhCnKp3cTNQKUiFtWSQflxieGdcrgs/ S64ZmuPPnv9OfM7weZGMr2O/z7Kyv0LksJdreKdUqzRW1G+gfUUrVdfHK0/Uq6BbPXg+nk FxmI2KLrdlSV3uzwLZWyY5rtMI0T5hqUkOyMVQgtPEV+pjBrQs6sdlqtNEzTbA== 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 478853EBD2 for ; Thu, 25 Jan 2024 23:57:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT8eX-0005yZ-Oc; Thu, 25 Jan 2024 17:56:57 -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 1rT8eW-0005yR-4v for guix-patches@gnu.org; Thu, 25 Jan 2024 17:56: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 1rT8eV-0001qz-S7 for guix-patches@gnu.org; Thu, 25 Jan 2024 17:56:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rT8eb-0004bu-UE for guix-patches@gnu.org; Thu, 25 Jan 2024 17:57:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68631] [PATCH v3] 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:57:01 +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.170622336717661 (code B ref 68631); Thu, 25 Jan 2024 22:57:01 +0000 Received: (at 68631) by debbugs.gnu.org; 25 Jan 2024 22:56:07 +0000 Received: from localhost ([127.0.0.1]:49544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT8di-0004al-Ou for submit@debbugs.gnu.org; Thu, 25 Jan 2024 17:56:07 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]:48856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT8dg-0004a1-Dx for 68631@debbugs.gnu.org; Thu, 25 Jan 2024 17:56:05 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (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-101.mailbox.org (Postfix) with ESMTPS id 4TLblT71yDz9sXk for <68631@debbugs.gnu.org>; Thu, 25 Jan 2024 23:55:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1706223350; 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=2a9aD/AH5kHOKmz9IAUoNyqkeY9ncaTEQ9E0n3In+tM=; b=oDlHawwkaCCLWC/NY/CL2+X1VysA1v2N6E2gHaFiOUhLYevrSUJ4rqyweo1kspnBakbwIh /35fdGMz443pD8h7tRJo/TL4yXlb09rCqXZdj2grPcD4G9YDmWM3Gex4GkFYRlQQIqvC/3 Ke4gtEbp+6efuhoPFhKfvOqqPwCZ6wDdPLBNrmKZDtyZf+eCZeoaWdvgbf277NEawYa4Fm wVRKUGg1gIJ6Pv7mwftkSljA9KvZGzaGMY/rT3F/kwvJXrO0Ge5hocNfoSZ4wvXnByXMaG w7VuDQrXjASdDfDQ3ix39yW2lBgb48WrfzDteL1oPfCJEdGonJRDLHUEuStIGw== From: Troy Figiel Date: Sun, 21 Jan 2024 11:11:41 +0100 Message-ID: <87cytpggzu.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.24 X-Migadu-Queue-Id: 478853EBD2 X-Spam-Score: 3.24 X-Migadu-Scanner: mx11.migadu.com X-TUID: 1u3inPDFLJUj * 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..e280c06f2b 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 a 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