From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CDi1KEsakGEAPgAAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 21:04:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wJZXJEsakGFzUQAAB5/wlQ (envelope-from ) for ; Sat, 13 Nov 2021 20:04:27 +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 46AB63186C for ; Sat, 13 Nov 2021 21:04:27 +0100 (CET) Received: from localhost ([::1]:38254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlzGE-0004uO-FA for larch@yhetil.org; Sat, 13 Nov 2021 15:04:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlzFr-0004qD-8j for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlzFr-00080m-0J for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlzFq-0001Jr-S3 for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Nov 2021 20:04:02 +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.16368338014891 (code B ref 51314); Sat, 13 Nov 2021 20:04:02 +0000 Received: (at 51314) by debbugs.gnu.org; 13 Nov 2021 20:03:21 +0000 Received: from localhost ([127.0.0.1]:48162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlzF1-0001Gd-57 for submit@debbugs.gnu.org; Sat, 13 Nov 2021 15:03:21 -0500 Received: from mout01.posteo.de ([185.67.36.65]:59117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlzEz-0001G8-MW for 51314@debbugs.gnu.org; Sat, 13 Nov 2021 15:03:10 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 20843240026 for <51314@debbugs.gnu.org>; Sat, 13 Nov 2021 21:03:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636833784; bh=Vud/xF72dhVZj00WOzpWnA7SRGvK94NzmIZ7BoTashY=; h=From:To:Cc:Subject:Date:From; b=QPcOosOcZ4QAMyUWWXoMTsLbMRdqy7x913TFwlNABZrF2IMHRKWBnivZiQQ1sZ126 dHpZr/XHzQUfv5aVMm/3WFUoUNfQs1Cjbs0mw6Cu+SJw5lu89igpu/JM0Q9Hp/PLYP WOwALndDTkw3TG6J1t4HWvBz2FkTkZNRLIjbqd18F1O3WffdVoNflWlE+A3wXht9uO ruEYPoUJ9hhk6v/rXPlOVlMfypzfAKSNBYqutCy6/IOUdaqGR02Mfcap088+lfc6xy cAr971BNwRxRi/BuBk1cDrRYAJt0TUo8Hf03dDKXh+SM+dVWNSpFZdE9tHYCzbRKEs yXZ8Tj75q9pwA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hs5wl1lPtz6tpP; Sat, 13 Nov 2021 21:03:02 +0100 (CET) From: Vinicius Monego Date: Sat, 13 Nov 2021 20:02:11 +0000 Message-Id: <20211113200230.192559-5-monego@posteo.net> In-Reply-To: <20211113200230.192559-1-monego@posteo.net> References: <20211113200230.192559-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=1636833867; 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=zxjCwEy7b0gGVEiwt8NlMdrSCF7uQgP6MSt0nzEeNZs=; b=hZo4FOXIcTXTC+4ukKlyCV/0f2gFiSOWrSiLfjHjVBTH+42syyUTF/B50OeczlJWWvMieN SPwHv/zTvTZlOoIpG6d9thKVZ+YjGgsIn/sLxV3XukpDGG8SX3iph0IcF2bWh3ZOexu7Bz J3C6yiyHs3GdYQ4fvUJoFmE+lx3XqUT5bITrw5IGZh0u7XjjxkfTWV4+bA5D6DaBa2kO94 heus6pFQTSUSid5F7awGMZLLVI5vCYmwe5HYGIJX9YKIbPm7YcJeuGPf70tIWPf5sImVsG mPyPl5DnpTgaVycAoHwUcf4weWkD7Ohr7ARrRHizehiuP3j7T2oANPC7GGnUOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636833867; a=rsa-sha256; cv=none; b=ZtHY3p6L1YrDvtTfRPbf20H/mK7KuuHEpmmnL1hyRlqcYo63MClvJZ0V/5tAuiQP8P6Ax2 n4ELcMwNGWEZzynit0r8Lu6Gd4x29zL9c0WlQURf0zfdyJ3czoOMZPWLW+PJsY5HeJanX7 H041NDwEfVC2IrwTlS6xsV80otCcbfrunaxyoR46BoDNboB1rqm++GJbGY0zj3c+ZKsuDQ kllbPPkCQsZq+tfexnoBZZ+axDS40ZSwL3vNxs8Vhm5bDJ9t7TMl2AkJdUxiGjMvssAFL6 63hp+tt5xqptrtAP74g52+RtpI6ioJR271Q2alkWNE2FpEG/oRCImXOq4+0Wtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=QPcOosOc; 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.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=QPcOosOc; 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: 46AB63186C X-Spam-Score: -0.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: glO9O6IVHp8I * 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 8dd73c003f..80ba4bd07e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -78,6 +78,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) @@ -793,6 +794,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