From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2LwPGu9lfmBvEwAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 07:26:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QLG3Fe9lfmCZIgAA1q6Kng (envelope-from ) for ; Tue, 20 Apr 2021 05:26:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 159C6153DC for ; Tue, 20 Apr 2021 07:26:07 +0200 (CEST) Received: from localhost ([::1]:40696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYiti-0003Is-5y for larch@yhetil.org; Tue, 20 Apr 2021 01:26:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYisk-0002EX-0b for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYisj-0003a1-OL for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYisj-0007fG-LI for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47906] [PATCH 09/22] gnu: Add python-tinycss. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 05:25:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47906@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 47906-submit@debbugs.gnu.org id=B47906.161889628729327 (code B ref 47906); Tue, 20 Apr 2021 05:25:05 +0000 Received: (at 47906) by debbugs.gnu.org; 20 Apr 2021 05:24:47 +0000 Received: from localhost ([127.0.0.1]:52655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYisK-0007ck-VT for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:47 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYisJ-0007cZ-V0 for 47906@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:40 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 694FE240027 for <47906@debbugs.gnu.org>; Tue, 20 Apr 2021 07:24:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618896274; bh=FviCa+CCmMHASeEt8wyRg8iyNkeCetBHsqvTtS6Z2IU=; h=From:To:Cc:Subject:Date:From; b=Ze1TSYXMGgP2dqTwK1+wL0N3ICjZSaJq4DKamvUxoD77DX+NZgcBiOKLMsANLqaum iBvqukFWDQKNiz7tcZOHOMpC4et59WOEHuMW2zdlfpdQII9/tPpokfiw84jGfHoC5X CK2gORQ/PEQbvoEegVKIHN4PWdyCAz2KXiQqV5s9TBBsSK8o0sWM+IqqgzMzwPtkr8 SIjUMZ5E/4QNdJQ/n+daPr0w2H9ItUV5uFhrz4QkAzFWwcPqx2v+c+isIE2gbr5bM7 TY1jEGNl17+EvRVc6GjbCckR19gVtoBXL/9uf/q/AwPvrNOBOgkj0nXa9UJnqb6pOu WpbQFY03JLVpQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPXDd0MCjz6tmH; Tue, 20 Apr 2021 07:24:32 +0200 (CEST) From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:33 +0000 Message-Id: <20210420052246.470690-9-monego@posteo.net> In-Reply-To: <20210420052246.470690-1-monego@posteo.net> References: <20210420052246.470690-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618896367; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TadbtI9Q/lZFO65ysx/Urv8R0Wgi8LLT4KJSmPdprHs=; b=of4li97ZeEXa46mexCISX8HmWslSbNuPWNiTFGjXu+v/GUQRYMHgT2m0dSyfostgXUOAyw X/0PHo6vn5VwvoSxJS6MWXnwNlv91b9vaFwgQWmab8bTtBpNzQnCMADNp7OIQGOaAScuI3 yJVaq2JyZhj3ed7ojGTesG97Rp1mxp9WobMJtb9dp7wsTg79ohazno53nmnnmOBAFAeTlP 0EaCbB4gccjW29Q1cPtgTmpwrIYDITYcSk2mxlEe/8f9hHKbJAxoKpMqtaI5IsdV43JCsP xwa9ZedSbQmFwCqvS1UIMpyq5C6rPwgUg1SWH31NQvQFlkkcdvrGJJt5uYzRHA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618896367; a=rsa-sha256; cv=none; b=lCpc7/af2CJdBZOko28PrU8TJFU0pULDo3+EPmK7BMyIyQZUeYJM1gIELokQvKr/LGCH4u Hz2HB67WN5Gh8NCGDd4mgS6L4TipqKI2Zm4qyFT7y3YZ/wt5H6vOpgdXZ7fk9+v5cP0rwk IB64zDy2UXQ02riumXolv71wWNolrOXkk4rjEqUh/TS0iNpFv3akarFg0Z8Vs+p7+COlVh kMoqrhao8PTmXatcP5UYd0n/MBgvOZZ7yA6HWsMgsM2BnBXq9kQIWqqogWMWCx1cEM2som VkbDHn8juHPCV8Uthf0/J4KrHx6gBkefy42nHBByR/KseYxYB7fWy6ugHcC9iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ze1TSYXM; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ze1TSYXM; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 159C6153DC X-Spam-Score: -0.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: RMoRyOFxgl3r * 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 ;;; Copyright © 2020 Noisytoot ;;; Copyright © 2020 Edouard Klein -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2020 Konrad Hinsen ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2021 Ekaitz Zarraga @@ -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