GNU bug report logs -
#68631
[PATCH] gnu: Add python-sphinx-issues.
Previous Next
Reported by: Troy Figiel <troy <at> troyfigiel.com>
Date: Sun, 21 Jan 2024 10:14:01 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68631 in the body.
You can then email your comments to 68631 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#68631
; Package
guix-patches
.
(Sun, 21 Jan 2024 10:14:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Troy Figiel <troy <at> troyfigiel.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 21 Jan 2024 10:14:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 © 2021, 2022 Vinicius Monego <monego <at> posteo.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte <at> inria.fr>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
;;;
;;; 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)))
+(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 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 and
+user profiles. Support for GitHub is built-in, but other services can also be
+supported with @code{sphinx-issues}.")
+ (license license:expat)))
+
(define-public python-sphinx-panels
(package
(name "python-sphinx-panels")
base-commit: c79ffe25e98607d6803f960d5187e4098e1dc7c2
--
2.42.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68631
; Package
guix-patches
.
(Thu, 25 Jan 2024 20:22:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 68631 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Thank you for the patch.
It looks good.
> + (synopsis "Sphinx extension for linking to your project's issue
tracker")
Just one neat pick to synopsis, drop "your": "Sphinx extension for linking
to project's issue tracker"
Nix has 1:1 the same synopsis as on project's GitHub page.
Debian has "your" silent.
Thanks,
Oleg
[Message part 2 (text/html, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68631
; Package
guix-patches
.
(Thu, 25 Jan 2024 20:34:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 68631 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Oleg,
I don't mind dropping "your", but grammatically we would need some
article. Something like "Sphinx extension for linking to a project's
issue tracker"? I checked the Debian synopsis and it's grammatically
incorrect, which reads a bit clunky.
Best wishes,
Troy
[OpenPGP_0xC67C9181B3893FB0.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68631
; Package
guix-patches
.
(Thu, 25 Jan 2024 22:47:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 68631 <at> debbugs.gnu.org (full text, mbox):
* 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 © 2021, 2022 Vinicius Monego <monego <at> posteo.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte <at> inria.fr>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
;;;
;;; 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)))
+(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 and
+user profiles. Support for GitHub is built-in, but other services can also be
+supported with @code{sphinx-issues}.")
+ (license license:expat)))
+
(define-public python-sphinx-panels
(package
(name "python-sphinx-panels")
base-commit: 9b657bab84be02935d66483da1ebbe4bc78c52fb
--
2.42.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68631
; Package
guix-patches
.
(Thu, 25 Jan 2024 22:50:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 68631 <at> debbugs.gnu.org (full text, mbox):
Hi Oleg,
- Rebased on master
- "your" -> "a" in the synopsis
Thanks for the review!
Best wishes,
Troy
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68631
; Package
guix-patches
.
(Thu, 25 Jan 2024 22:55:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 68631 <at> debbugs.gnu.org (full text, mbox):
On 2024-01-21 11:11, Troy Figiel wrote:
> + (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 and
> +user profiles. Support for GitHub is built-in, but other services can also be
> +supported with @code{sphinx-issues}.")
Oof... description still has the "your project's issue tracker".
Smallest changes are the hardest. I will send you a v3 with that "your"
replaced by "a" as well.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68631
; Package
guix-patches
.
(Thu, 25 Jan 2024 22:57:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 68631 <at> debbugs.gnu.org (full text, mbox):
* 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 © 2021, 2022 Vinicius Monego <monego <at> posteo.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte <at> inria.fr>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
;;;
;;; 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)))
+(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 and
+user profiles. Support for GitHub is built-in, but other services can also be
+supported with @code{sphinx-issues}.")
+ (license license:expat)))
+
(define-public python-sphinx-panels
(package
(name "python-sphinx-panels")
base-commit: 9b657bab84be02935d66483da1ebbe4bc78c52fb
--
2.42.0
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Fri, 26 Jan 2024 22:17:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Troy Figiel <troy <at> troyfigiel.com>
:
bug acknowledged by developer.
(Fri, 26 Jan 2024 22:17:03 GMT)
Full text and
rfc822 format available.
Message #28 received at 68631-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Pushed as 0f646b0ec2b534c7338de5d402a928bc0b46611c to master.
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 24 Feb 2024 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.