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 oDU5LXvurGVjxwAAqHPOHw:P1 (envelope-from ) for ; Sun, 21 Jan 2024 11:14:19 +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 oDU5LXvurGVjxwAAqHPOHw (envelope-from ) for ; Sun, 21 Jan 2024 11:14:19 +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="jly//GgC"; 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=1705832059; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vsNeQnekiGxPWjJ5SfC73dvfTV8BPcFkOPRryQQ7Bqk=; b=Q0cmuCfX/wk3ZP7iye+TXv1jiQwV/GH/ArvyT8Vt+g8rFnaEOgqwrIafoFin6tA4aEh651 4jSUC0f9g/R/kMOZ1dq2asnyKSzaJJC+1mPTj2n+jm+3zrJA4eKFgDPNLl1cksiOUncQW/ /ehxQ+3mwY0QdGkooq5GqP5lRHUYkX6i/ANOwKQ2jiUtg2N1xfNxcynaDMq+8NzwL1rJT+ TO2KC4SQ+dvM8zic4uuWNF4+Eh6OzJap9I4XCxzfZBDpk/KlE7eH3J4z6utDOCS0vDJ9BK gafMir2eQ40sL2wg99FZ2U+LD765rwYxpd7pE8QZHVYpBhpmSZGqf9FbEOCkQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b="jly//GgC"; 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=1705832059; a=rsa-sha256; cv=none; b=m4eBCKr8ooEQymDSd3ntjmg14BmHLg8m+IOonbI4C5f58iVnp7s2TfLpdVHUmaHRUw4qoD HR5CocWpV7jmp+zwQFIoyciQ9dl6QjMovECUc8I9UCo7dNzQoEXCNkRzfTpmbafZwh4HAL ivZm0lcmuNkEmK9cN3NRanLGqC4tA5dkD6bKlJLe9bTF9WqukmpfaELpMoIMt5SNOywMv/ 6wQ3koKcsr3VCa2hETXD4h42clo8fR4m0DYS2/tvGMIwVgW6QGjhZDDNTkVYKQrd9lhB0B fy/7WMKGIhKIDh/TFVqQkKhQEHqvgFmMAKYuzda94NB8suj5sY9y1Mn/Wb4Iqw== 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 24C403A172 for ; Sun, 21 Jan 2024 11:14:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRUq3-0003uq-6r; Sun, 21 Jan 2024 05:14:03 -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 1rRUpz-0003ue-MA for guix-patches@gnu.org; Sun, 21 Jan 2024 05:13:59 -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 1rRUpy-0006tm-F9 for guix-patches@gnu.org; Sun, 21 Jan 2024 05:13:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRUq1-0004Vt-PM for guix-patches@gnu.org; Sun, 21 Jan 2024 05:14:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68631] [PATCH] gnu: Add python-sphinx-issues. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Jan 2024 10:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68631 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68631@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170583203017321 (code B ref -1); Sun, 21 Jan 2024 10:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jan 2024 10:13:50 +0000 Received: from localhost ([127.0.0.1]:36644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRUpq-0004VI-5f for submit@debbugs.gnu.org; Sun, 21 Jan 2024 05:13:50 -0500 Received: from lists.gnu.org ([2001:470:142::17]:46854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRUpn-0004V5-D9 for submit@debbugs.gnu.org; Sun, 21 Jan 2024 05:13:49 -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 1rRUpe-0003tm-NP for guix-patches@gnu.org; Sun, 21 Jan 2024 05:13:38 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rRUpc-0006sf-8X for guix-patches@gnu.org; Sun, 21 Jan 2024 05:13:38 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::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-103.mailbox.org (Postfix) with ESMTPS id 4THq1k4TZpz9sTf for ; Sun, 21 Jan 2024 11:13:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1705832010; 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=vsNeQnekiGxPWjJ5SfC73dvfTV8BPcFkOPRryQQ7Bqk=; b=jly//GgCIhb46Z+EVNzQYyCSoRI9EeXeUJYpJoyB27NSgFcG+y84eeCMfm0rKNCAPNTdku 1k13EK3PCKyPi//jaqoYxHCx2MSTKHX2RayrvzaY7wANJPoNFrzs/zq7aymT4SmuZG+QcW dUF52nKlHbIeHDJdCrz0TsyYOBFWHw0L52v3UstlaBkXNI4+IOe4xkzGY40HFvMRlB+Cib QNZPcp6W2F2tdXg8KmPJb3ANDLWSK+dU+quLbeZfwm+VW9O9Bc53Zk5gQ23LzB34Qeqkn4 tu5qLkDuIKENjF+GNqviDcfbauRECOIn+WdRku6sBgp/LPs93d2Q+NSul7j25g== From: Troy Figiel Date: Sun, 21 Jan 2024 11:11:41 +0100 Message-ID: <87h6j7hu49.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4THq1k4TZpz9sTf Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=troy@troyfigiel.com; helo=mout-p-103.mailbox.org X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action 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.64 X-Migadu-Queue-Id: 24C403A172 X-Spam-Score: 3.64 X-Migadu-Scanner: mx11.migadu.com X-TUID: TI9K7rhhfqgw * 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..64c97afd8e 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 your project's issue tracke= r") + (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: c79ffe25e98607d6803f960d5187e4098e1dc7c2 --=20 2.42.0