From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aOSpCcPmcGFJzwAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 06:04:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KAE7BcPmcGFBbgAAbx9fmQ (envelope-from ) for ; Thu, 21 Oct 2021 04:04:19 +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 C998A9D64 for ; Thu, 21 Oct 2021 06:04:18 +0200 (CEST) Received: from localhost ([::1]:40250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdPJR-0003Kb-Sr for larch@yhetil.org; Thu, 21 Oct 2021 00:04:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdPJD-0003IS-59 for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdPJC-0000KI-SF for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdPJC-0005dl-Ok for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH 09/29] gnu: Add python-pyscss. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Oct 2021 04: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.163478899521457 (code B ref 51314); Thu, 21 Oct 2021 04:04:02 +0000 Received: (at 51314) by debbugs.gnu.org; 21 Oct 2021 04:03:15 +0000 Received: from localhost ([127.0.0.1]:55940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPIQ-0005a1-MV for submit@debbugs.gnu.org; Thu, 21 Oct 2021 00:03:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPIO-0005ZR-DF for 51314@debbugs.gnu.org; Thu, 21 Oct 2021 00:03:12 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7D03D24010A for <51314@debbugs.gnu.org>; Thu, 21 Oct 2021 06:03:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634788986; bh=czOHsXw3C9N+x+XhCr0xiqGx7YcgcFayN6uo8opnIcM=; h=From:To:Cc:Subject:Date:From; b=UrncE7+XKuJ4dSyHT1uD+fz9tr4FFwpFGo2xa5nZrcvpWi/LKrkB0fJ3yotmFYqEO ot4lVVOtygHp9nwSElOJ++Y3d/AMZrszIGbwhGhapQgHCensh85YHFfAQ7LF/sZ+vG zllYBSVLQQKtRDeeQ9O/zgesPwfShaC7ZFEGFuBFiSbcenRf40/U16KPh7gRo8lUG9 nRoU1yKAzt7cvd8dgWh/iunSSDlSk5tYxisq2awQ0M42of5RZUqNbf4d3umhrQI2SB 8wwwdqgq3mlhrvKKMa6kysZbbkNmwnn42Gx7y79vi+PcL3npWkDi3vBCof4m1Mf0Aq bIRzaE7wlZKIg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HZYjj4K2bz9rxN; Thu, 21 Oct 2021 06:03:05 +0200 (CEST) From: Vinicius Monego Date: Thu, 21 Oct 2021 04:01:40 +0000 Message-Id: <20211021040200.241873-5-monego@posteo.net> In-Reply-To: <20211021040200.241873-1-monego@posteo.net> References: <20211021040200.241873-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634789058; 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=tAkfaeX3yvgtOibcmi+oHDPL0vQVb+2gP3WQHV+taK4=; b=qWpw6jiGiLPnQtRSRYzr6zAEIYpEOk37MMd4zOzRjXqtT5aWi6rwVfqFuYZBEjj5ysSU36 67vTBVIlLmHs4c67ueqx4PD3xE7/ixYlvMg1TEmLMZi3meCTzKxWBFlt6Fne5yPbnIf2Hs bqbcjTDZM1s5krqR2MAhjzfteNYAc3ZElwAptdyF4/ojjqTECD+N8BM1lLKfxbDW4qyY9W v2C05bWeYtzS1LwOkI+dnsjjPVKw2SsP0XLzu/2/V+ckQo0vSU8NTJ2WT8cgMqRVYhquHf vaHfSct01Xl7gHx2F+UEn9XNqERe7wmK3ZJqUDTLm5ndNfewHM6FIxcTD/tuaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634789058; a=rsa-sha256; cv=none; b=B176LQ9FEJVY/gRG5w0eD1G3BXj5FMjMCF53VmwBKjo2d7z3gIkCnxt2d6xMMAcDsgLsgg KsAjNAp2I7UQz9Duv0BnyycbMvFQR7hUIVFIEL6zJneVV7IcT1cWPaS4BhZpZW80G+tjgd 600HD+lH0kIcKS1uVUS/9fc69pWIVW5fP0b8YAKRwklLyt+zgP/dUSXMjgqcIm+xBRkgBv RnKpNbkXH9NOu2Aho/dHo0a9e/0PnnXz26ERWBYnIBBA8J8zNLtVfo0kYq/tWYeJ7vI/3Z Ydkb9HqvkGikA+EW92q88+ThrJ3TGmIVVzufplc/4CnYRInhyqLxYr2bNb/mwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=UrncE7+X; 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: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=UrncE7+X; 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: C998A9D64 X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: jV7oT1AxtjME * 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