GNU bug report logs -
#42560
[PATCH] gnu: Add python-libsass.
Previous Next
Reported by: Vinicius Monego <monego <at> posteo.net>
Date: Mon, 27 Jul 2020 14:47:01 UTC
Severity: normal
Tags: patch
Done: Oleg Pykhalov <go.wigust <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 42560 in the body.
You can then email your comments to 42560 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#42560
; Package
guix-patches
.
(Mon, 27 Jul 2020 14:47:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vinicius Monego <monego <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 27 Jul 2020 14:47:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-libsass): New variable.
---
gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 446e0a6def..d05fa4ae11 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8748,6 +8748,50 @@ specification.")
(define-public python2-idna
(package-with-python2 python-idna))
+(define-public python-libsass
+ (package
+ (name "python-libsass")
+ (version "0.20.0")
+ (source
+ (origin
+ ;; PyPI tarball is missing some test files.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sass/libsass-python")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0h9rj4k9izkfdvli8ip72bbvh6a7bvrv5pxz6zay2bq235gpfgfc"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Use Guix package of libsass instead of compiling from a checkout.
+ (add-before 'build 'set-libsass
+ (lambda _
+ (setenv "SYSTEM_SASS" (assoc-ref %build-inputs "libsass"))
+ #t))
+ (replace 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "sasstests.py" "-k"
+ ;; See https://github.com/sass/libsass/issues/3092.
+ ;; This test may work in a future release of libsass.
+ "not test_stack_trace_formatting"))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-werkzeug" ,python-werkzeug)))
+ (inputs
+ `(("libsass" ,libsass)))
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (home-page "https://sass.github.io/libsass-python/")
+ (synopsis "Straightforward binding of libsass for Python")
+ (description
+ "This package provides a simple Python extension module @code{sass} which
+is binding LibSass.")
+ (license license:expat)))
+
(define-public python-idna-ssl
(package
(name "python-idna-ssl")
--
2.20.1
Reply sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
You have taken responsibility.
(Wed, 29 Jul 2020 05:13:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Vinicius Monego <monego <at> posteo.net>
:
bug acknowledged by developer.
(Wed, 29 Jul 2020 05:13:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 42560-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Vinicius Monego <monego <at> posteo.net> writes:
> * gnu/packages/python-xyz.scm (python-libsass): New variable.
> ---
> gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 44 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 446e0a6def..d05fa4ae11 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -8748,6 +8748,50 @@ specification.")
[…]
Pushed 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
.
(Wed, 26 Aug 2020 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.