GNU bug report logs -
#69486
[PATCH] gnu: Add python-pypugjs.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69486 in the body.
You can then email your comments to 69486 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69486
; Package
guix-patches
.
(Fri, 01 Mar 2024 09:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tanguy Le Carrour <tanguy <at> bioneland.org>
:
New bug report received and forwarded. Copy sent to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, jgart <at> dismail.de, guix-patches <at> gnu.org
.
(Fri, 01 Mar 2024 09:24:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
This patch adds PyPugJS. Not much more to say, except… thanks for
reviewing! 😉
Tanguy
* gnu/packages/python-xyz.scm (python-pypugjs): New variable.
Change-Id: I050ab42d0149fcffddcf6b12dd9c1ddea23f84c9
---
gnu/packages/python-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8691f70375..338bc72582 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6098,6 +6098,54 @@ (define-public python-jinja2-time
templates. A format string can be provided to control the output.")
(license license:expat)))
+(define-public python-pypugjs
+ (package
+ (name "python-pypugjs")
+ (version "5.9.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kakulukia/pypugjs")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zj7a560h973cl7brfw1nmyhgm8rp8j80wnih0shvhmw4ql23lpa"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ ;; Our pyramid is outdated and pyramid-mako is not packaged.
+ (add-after 'unpack 'disable-pyramid
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "setup.py"
+ (("'pyramid")
+ "#'pyramid"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "-v"
+ "pypugjs/testsuite/")))))))
+ (native-inputs (list python-coverage
+ python-django
+ python-jinja2
+ python-flake8
+ python-flask
+ python-mako
+ python-nose
+ python-pip
+ python-poetry-core
+ python-pytest
+ python-setuptools
+ python-tornado-6
+ python-wheel))
+ (propagated-inputs (list python-charset-normalizer python-six))
+ (home-page "https://github.com/kakulukia/pypugjs")
+ (synopsis "Convert Pug source files into different template languages")
+ (description
+ "PugJS syntax template adapter for Django, Jinja2, Mako and Tornado templates.")
+ (license license:expat))) ;; MIT
+
(define-public python-pysdl2
(package
(name "python-pysdl2")
base-commit: a3a7d51a31957f185e4e6e3059610769d48ffd70
--
2.41.0
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#69486
; Package
guix-patches
.
(Sun, 17 Mar 2024 16:35:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 69486 <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
V2 fixes problems reported by QA: `python-pip` and `python-setuptools`
should not be part of the inputs.
Tanguy
* gnu/packages/python-xyz.scm (python-pypugjs): New variable.
Change-Id: I050ab42d0149fcffddcf6b12dd9c1ddea23f84c9
Signed-off-by: Tanguy Le Carrour <tanguy <at> bioneland.org>
---
gnu/packages/python-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 232b5d6999..e314ba9fab 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6056,6 +6056,52 @@ (define-public python-jinja2-time
templates. A format string can be provided to control the output.")
(license license:expat)))
+(define-public python-pypugjs
+ (package
+ (name "python-pypugjs")
+ (version "5.9.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kakulukia/pypugjs")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zj7a560h973cl7brfw1nmyhgm8rp8j80wnih0shvhmw4ql23lpa"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ ;; Our pyramid is outdated and pyramid-mako is not packaged.
+ (add-after 'unpack 'disable-pyramid
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "setup.py"
+ (("'pyramid")
+ "#'pyramid"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "-v"
+ "pypugjs/testsuite/")))))))
+ (native-inputs (list python-coverage
+ python-django
+ python-jinja2
+ python-flake8
+ python-flask
+ python-mako
+ python-nose
+ python-poetry-core
+ python-pytest
+ python-tornado-6
+ python-wheel))
+ (propagated-inputs (list python-charset-normalizer python-six))
+ (home-page "https://github.com/kakulukia/pypugjs")
+ (synopsis "Convert Pug source files into different template languages")
+ (description
+ "PugJS syntax template adapter for Django, Jinja2, Mako and Tornado templates.")
+ (license license:expat))) ;; MIT
+
(define-public python-pysdl2
(package
(name "python-pysdl2")
base-commit: 93aefca7bab5f5b40164176e3224221d26d708f1
--
2.41.0
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 19 Mar 2024 16:20:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tanguy Le Carrour <tanguy <at> bioneland.org>
:
bug acknowledged by developer.
(Tue, 19 Mar 2024 16:20:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 69486-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello!
Tanguy Le Carrour <tanguy <at> bioneland.org> skribis:
> * gnu/packages/python-xyz.scm (python-pypugjs): New variable.
>
> Change-Id: I050ab42d0149fcffddcf6b12dd9c1ddea23f84c9
> Signed-off-by: Tanguy Le Carrour <tanguy <at> bioneland.org>
Applied with the change below, to match our conventions:
https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html
Thanks! :-)
Ludo’.
[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 13c48bc923..8209e21828 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6100,7 +6100,9 @@ (define-public python-pypugjs
(home-page "https://github.com/kakulukia/pypugjs")
(synopsis "Convert Pug source files into different template languages")
(description
- "PugJS syntax template adapter for Django, Jinja2, Mako and Tornado templates.")
+ "PyPugJS is a high-performance port of PugJS for Python, that converts
+any @file{.pug} source into different template languages: Django, Jinja2,
+Mako, and Tornado.")
(license license:expat))) ;; MIT
(define-public python-pysdl2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69486
; Package
guix-patches
.
(Tue, 19 Mar 2024 16:27:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 69486-done <at> debbugs.gnu.org (full text, mbox):
Hi!
Quoting Ludovic Courtès (2024-03-19 17:18:48)
> Tanguy Le Carrour <tanguy <at> bioneland.org> skribis:
>
> > * gnu/packages/python-xyz.scm (python-pypugjs): New variable.
> >
> > Change-Id: I050ab42d0149fcffddcf6b12dd9c1ddea23f84c9
> > Signed-off-by: Tanguy Le Carrour <tanguy <at> bioneland.org>
>
> Applied
Thanks!
> with the change below, to match our conventions:
>
> https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html
😱… sorry! 😅
--
Tanguy
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 17 Apr 2024 11:24:17 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.