[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss. |
Date: |
Mon, 27 Dec 2021 23:30:26 +0000 |
* gnu/packages/python-web.scm (python-pyscss): New variable.
---
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 61a34bfc63..13504061ca 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")
--
2.30.2
- [bug#51314] [PATCH v3 00/21] Add Octoprint (v3), Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 01/21] gnu: Add python-sarge., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss.,
Vinicius Monego <=
- [bug#51314] [PATCH v3 06/21] gnu: Add python-executing., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 05/21] gnu: Add python-zipstream-new., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 02/21] gnu: Add python-pylru., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 09/21] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 10/21] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 13/21] gnu: python-watchdog: Update to 2.1.6., Vinicius Monego, 2021/12/27
- [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1., Vinicius Monego, 2021/12/27