[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/15: gnu: Add python-pyscss.
From: |
guix-commits |
Subject: |
03/15: gnu: Add python-pyscss. |
Date: |
Tue, 11 Jan 2022 12:14:11 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit ae313005c8c5a5a681f20db076054055ae735c24
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Dec 27 23:30:26 2021 +0000
gnu: Add python-pyscss.
* gnu/packages/python-web.scm (python-pyscss): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 253b68e02c..1d2dfd2442 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -82,6 +82,7 @@
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages node)
+ #:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
@@ -775,6 +776,40 @@ JSON Web Algorithms (JWA) - collectively can be used to
encrypt and/or sign
content using a variety of algorithms.")
(license license:expat)))
+(define-public python-pyscss
+ (package
+ (name "python-pyscss")
+ (version "1.3.7")
+ (source
+ (origin
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/Kronuz/pyScss")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+ (build-system python-build-system)
+ (arguments
+ ;; XXX: error in test collection, possible incompatibility with Pytest 6.
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+ (native-inputs
+ (list python-pytest python-pytest-cov))
+ (inputs
+ (list pcre))
+ (home-page "https://github.com/Kronuz/pyScss")
+ (synopsis "Scss compiler for Python")
+ (description "@code{pyScss} is a compiler for Sass, a superset language of
+CSS3 that adds programming capabilities and some other syntactic sugar.")
+ (license license:expat)))
+
(define-public python-jsonpickle
(package
(name "python-jsonpickle")
- branch master updated (f7afefba00 -> 33898cd5b7), guix-commits, 2022/01/11
- 04/15: gnu: Add python-flask-assets., guix-commits, 2022/01/11
- 01/15: gnu: Add python-sarge., guix-commits, 2022/01/11
- 02/15: gnu: Add python-pylru., guix-commits, 2022/01/11
- 03/15: gnu: Add python-pyscss.,
guix-commits <=
- 10/15: gnu: python-netifaces: Update to 0.11.0., guix-commits, 2022/01/11
- 12/15: gnu: python-pkginfo: Update to 1.8.2., guix-commits, 2022/01/11
- 14/15: gnu: python-colorlog: Update to 6.6.0., guix-commits, 2022/01/11
- 05/15: gnu: Add python-zipstream-new., guix-commits, 2022/01/11
- 06/15: gnu: Add python-executing., guix-commits, 2022/01/11
- 09/15: gnu: python-feedparser: Enable tests., guix-commits, 2022/01/11
- 08/15: gnu: Add python-pytest-doctest-custom., guix-commits, 2022/01/11
- 11/15: gnu: python-websocket-client: Update to 0.59.0., guix-commits, 2022/01/11
- 13/15: gnu: python-watchdog: Update to 2.1.6., guix-commits, 2022/01/11
- 15/15: gnu: python-zeroconf: Update to 0.38.1., guix-commits, 2022/01/11