From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:f42::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GMJCLgdNymF4eQAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 00:32:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6DwtKwdNymHN5wAAauVa8A (envelope-from ) for ; Tue, 28 Dec 2021 00:32:23 +0100 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 6AE9913217 for ; Tue, 28 Dec 2021 00:32:23 +0100 (CET) Received: from localhost ([::1]:35944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1zTa-0000RW-Lb for larch@yhetil.org; Mon, 27 Dec 2021 18:32:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1zTK-0000LI-Py for guix-patches@gnu.org; Mon, 27 Dec 2021 18:32:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1zTJ-0001Vq-70 for guix-patches@gnu.org; Mon, 27 Dec 2021 18:32:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1zTJ-0000pu-3G for guix-patches@gnu.org; Mon, 27 Dec 2021 18:32:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 23:32:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51314@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.16406479223165 (code B ref 51314); Mon, 27 Dec 2021 23:32:05 +0000 Received: (at 51314) by debbugs.gnu.org; 27 Dec 2021 23:32:02 +0000 Received: from localhost ([127.0.0.1]:44572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zTF-0000oq-Rx for submit@debbugs.gnu.org; Mon, 27 Dec 2021 18:32:02 -0500 Received: from mout02.posteo.de ([185.67.36.66]:37305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zSz-0000n4-H7 for 51314@debbugs.gnu.org; Mon, 27 Dec 2021 18:31:59 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E897E240105 for <51314@debbugs.gnu.org>; Tue, 28 Dec 2021 00:31:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640647899; bh=KXrL3PSeBhS3Kml9ByrOhWQH2TqATpDEHdlxjG/kook=; h=From:To:Cc:Subject:Date:From; b=IwOLHA2MEi9W0OEmjCmmji/xdthmHZ+brti+7FMXLlrmvxu6cRVGI5WvcEIH5ujvU 8G2JD9jlm1c9/YT3gpsAjl84dnTI2YpRgnsPNWwUU1vB5RrrQFBIC+xytrZCfuWefE WXf28uOqwrZ9ygy7JxxtHlwnRLJiiAmuz95w3uvTuKcryd840OekqhRSIz2BDHBl3N bPDpJ4oKVvqd9H1f1g831YKWX7DNLqX9fTqWJGFlI+tMy68+2Kg3a/Qftfa/H1obQ4 A44cxmWoI4A3Qr5NfnTqc0aPLVU0Ecnsp6aFNDj4e2UTtfTzce4zePuUI53FXHRIXC k6TGD9MLlpn8g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JNDT70lk2z9rxB; Tue, 28 Dec 2021 00:31:38 +0100 (CET) From: Vinicius Monego Date: Mon, 27 Dec 2021 23:30:26 +0000 Message-Id: <20211227233044.26475-4-monego@posteo.net> In-Reply-To: <20211227233044.26475-1-monego@posteo.net> References: <20211227233044.26475-1-monego@posteo.net> MIME-Version: 1.0 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640647943; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=Q9TTbpb4EgU6l4ZVS21qIDsAw7Q60jlt5HdZYj0JmzM=; b=mInR/62Ebm6H+MOzaYgGeEjbdnnKTFy7EV2Ky2+coMi06tDSW2TS2OIeE3bIv64KX8b+UV owUy/5MRDiLWwMID1mGburhciQKxIbfza3/bcGC0N09j00lVHcPhheZfyutRU7vesQhBZE G6IwNLgBJtMKIoVNKF+9v4JqPiu3i8p7zc9t9bHI3CmyibF6qpQSJjjqIemydixXtdKhe2 8rdKAAUGic2mEsdu56b13h7xijFBFs2oKsbHrWenDeBBub5PUrBpZtuDzlZKCp45ATKX9D 4TSqZAbX3JNa2h4Jkmovxtm5HHCXvj76g4zqfWeEwFzZvlBYZeO7hvlSbo6gmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640647943; a=rsa-sha256; cv=none; b=ORZVpDtdjJe/MWMjWv3wkxbMVGcXfgYij46GtyWfUniEVUs2TW4H0PJwrCfnreJGcgk+Wk PSOEcBNBTDt5h77WXKFZxbm2KIb3/dB2FPW1nb4tdNsyPqqZ2b6+wAhtXiMSxcuF1pc9M0 /l4Oj/+CvYkpRCCWV2mzLZxOvxUgmWftB87RD7Sj44Rph6wLoIlpcj2EiMQ+5b4+H7zWOO 4HRYUcXIE0dNc1ySwkCL/Ik+1Xk2NY+8HYh9tnmxiD8OCUMvmjo0EuT0upl+R+qswfl2ne 8eMDy3aHQGv6FR16469v/zMYYjTkiprszycPfEl6YZ8XhZd+I7DwCrW9t6rt5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=IwOLHA2M; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=IwOLHA2M; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6AE9913217 X-Spam-Score: -0.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: 592G9dpXDTx9 * 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