From: Vinicius Monego <monego@posteo.net>
To: 47906@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#47906] [PATCH 09/22] gnu: Add python-tinycss.
Date: Tue, 20 Apr 2021 05:22:33 +0000 [thread overview]
Message-ID: <20210420052246.470690-9-monego@posteo.net> (raw)
In-Reply-To: <20210420052246.470690-1-monego@posteo.net>
* gnu/packages/python-web.scm (python-tinycss): New variable.
---
This package is deprecated by the author but it's required by qstylizer.
gnu/packages/python-web.scm | 45 ++++++++++++++++++++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1e57165509..8b9c223a41 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -37,7 +37,7 @@
;;; Copyright © 2020 Holger Peters <holger.peters@posteo.de>
;;; Copyright © 2020 Noisytoot <noisytoot@gmail.com>
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
-;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
@@ -4557,6 +4557,49 @@ library to create slugs from unicode strings while keeping it DRY.")
(description "Generate complex HTML+JS pages with Python")
(license license:expat)))
+(define-public python-tinycss
+ (package
+ (name "python-tinycss")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "tinycss" version))
+ (sha256
+ (base32 "0vkifr595h28ymkjhrswwf0bm23lhznh5f44xyp7x7jy1ssnyc0j"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-flake8-isort
+ ;; Flake8 and isort tests fail.
+ (lambda _
+ (substitute* "setup.cfg" ((" --flake8 --isort") ""))
+ #t))
+ (replace 'check
+ (lambda _
+ ;; Disable failing test.
+ (invoke "python" "-m" "pytest" "-k"
+ "not test_speedups"))))))
+ (native-inputs
+ `(("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-flake8" ,python-pytest-flake8)
+ ("python-pytest-isort" ,python-pytest-isort)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (home-page "https://tinycss.readthedocs.io/")
+ (synopsis "Complete yet simple CSS parser for Python")
+ (description
+ "@code{tinycss} is a complete yet simple CSS parser for Python. It
+supports the full syntax and error handling for CSS 2.1 as well as some CSS 3
+modules:
+
+@itemize
+@item CSS Color 3
+@item CSS Fonts 3
+@item CSS Paged Media 3
+@end itemize")
+ (license license:bsd-3)))
+
(define-public python-tinycss2
(package
(name "python-tinycss2")
--
2.31.1
next prev parent reply other threads:[~2021-04-20 5:26 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-20 5:19 [bug#47906] [PATCH 00/22] Add Spyder Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 01/22] gnu: Add python-spyder-kernels Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 02/22] gnu: Add python-textdistance Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 03/22] gnu: Add python-three-merge Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 04/22] gnu: Add python-pyls-black Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 05/22] gnu: Add python-pyls-spyder Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 06/22] gnu: python-watchdog: Update to 1.0.2 Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 07/22] gnu: python-qtconsole: Update to 5.0.3 Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 08/22] gnu: python-qtconsole: Enable tests Vinicius Monego
2021-04-20 5:22 ` Vinicius Monego [this message]
2021-04-20 5:22 ` [bug#47906] [PATCH 10/22] gnu: Add python-qstylizer Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 12/22] gnu: Add python-pytest-qt Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 13/22] gnu: Add python-qtawesome Vinicius Monego
2021-04-28 12:49 ` Lars-Dominik Braun
2021-04-29 16:07 ` Vinicius Monego
2021-05-02 14:32 ` Lars-Dominik Braun
2021-05-08 9:30 ` Lars-Dominik Braun
2021-04-20 5:22 ` [bug#47906] [PATCH 14/22] gnu: Add python-qtsass Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 15/22] gnu: python-qdarkstyle: Update to 3.0.2 Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 16/22] gnu: Add python-easyprocess Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 17/22] gnu: Add python-entrypoint2 Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 18/22] gnu: Add python-pyvirtualdisplay Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 19/22] gnu: Add python-pytest-xvfb Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 20/22] gnu: python-diff-match-patch: Update to 20200713 Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 21/22] gnu: python-language-server: Relax dependency versions Vinicius Monego
2021-04-20 5:22 ` [bug#47906] [PATCH 22/22] gnu: Add spyder Vinicius Monego
2021-05-26 21:46 ` [bug#47906] [PATCH 00/22] Add Spyder Nicolas Goaziou
2023-04-20 0:29 ` Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210420052246.470690-9-monego@posteo.net \
--to=monego@posteo.net \
--cc=47906@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).