[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH 09/29] gnu: Add python-pyscss.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH 09/29] gnu: Add python-pyscss. |
Date: |
Thu, 21 Oct 2021 04:01:40 +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 8dd3345daf..f9401cceb3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -77,6 +77,7 @@
#:use-module (gnu packages groff)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
+ #:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
@@ -773,6 +774,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
+ ;; No tests in the PyPI tarball.
+ (method git-fetch)
+ (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
+ `(#: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
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (inputs
+ `(("pcre" ,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 04/29] gnu: Add python-cachelib., (continued)
- [bug#51314] [PATCH 05/29] gnu: Add python-sarge., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 12/29] gnu: Add python-executing., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 20/29] gnu: python-pkginfo: Update to 1.7.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 06/29] gnu: Add python-pylru., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 09/29] gnu: Add python-pyscss.,
Vinicius Monego <=
- [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 16/29] gnu: python-feedparser: Update to 6.0.8., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests?., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 18/29] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 11/29] gnu: Add python-zipstream-new., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 24/29] gnu: python-wrapt: Update to 1.12.1., Vinicius Monego, 2021/10/21