From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6OitA/RlfmBEEAAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 07:26:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uHLvOvNlfmBDPgAAB5/wlQ (envelope-from ) for ; Tue, 20 Apr 2021 05:26:11 +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 8AB0C153E1 for ; Tue, 20 Apr 2021 07:26:11 +0200 (CEST) Received: from localhost ([::1]:40700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYitm-0003J0-M5 for larch@yhetil.org; Tue, 20 Apr 2021 01:26:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYite-0003Hx-2A for guix-patches@gnu.org; Tue, 20 Apr 2021 01:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYitd-0004Eg-Ps for guix-patches@gnu.org; Tue, 20 Apr 2021 01:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYitd-0007jT-MT for guix-patches@gnu.org; Tue, 20 Apr 2021 01:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47906] [PATCH 14/22] gnu: Add python-qtsass. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 05:26:01 +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.161889630929529 (code B ref 47906); Tue, 20 Apr 2021 05:26:01 +0000 Received: (at 47906) by debbugs.gnu.org; 20 Apr 2021 05:25:09 +0000 Received: from localhost ([127.0.0.1]:52683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYisn-0007gD-CQ for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:25:09 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYisl-0007e7-KN for 47906@debbugs.gnu.org; Tue, 20 Apr 2021 01:25:07 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1B204240026 for <47906@debbugs.gnu.org>; Tue, 20 Apr 2021 07:25:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618896302; bh=I0vY40cEt0x9rSwoZhSVbFYsbKt1FZq/97ktmr3Rb+A=; h=From:To:Cc:Subject:Date:From; b=gBDvC2QZpLOjyD0SZvwWpW2v2mo+rjcnW8wTfnaplGQ+Xyr1j6MLK0tnAPVXGR4EO 7l57JcbBIsy6AraOiQDvIGY7Dd8tJCXGInP2mdV/7cGZ2LItZePMBZ9OkxecmYDfHV fBpXv+NDSy1zUAxi4HC7rDqE2mUyfMsurfehq9KtQyagQILpHb2NK7Jm6CDvke8nLi hVaFg7Wol9dd4B1dbOd0ex/OeH1J2mMNkT1tp80Pu/45iOgq9Fg6Z+TSnM2kmh0ZkC aeZhd1Mn+dUfJD52EIk9JgwseCpEKpswKoie81eNQ2aiNR4Jpeopk2XtlqbgI9rTJt FrFiOzuTZKtjQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPXF85rTSz6tmM; Tue, 20 Apr 2021 07:25:00 +0200 (CEST) From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:38 +0000 Message-Id: <20210420052246.470690-14-monego@posteo.net> In-Reply-To: <20210420052246.470690-1-monego@posteo.net> References: <20210420052246.470690-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=1618896371; 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=nAi7g0KCZ3x3XXcE99UG4YiplIp3+t7ypmoqAHcbtEY=; b=hw4hpI0O+jLHBNwN7el3mEmoaZxF6DZ1wL8keupnwBWI/yxtgRwAyHk7l3byFjrTwcSC/g oPRNDBZltEl/OOnD8WvwmfP1I+/sTAdJDBTJM2PqxoFh/teE2O0GmCM5Yu0oqzWZqxQGt1 dRP41Dsvi+Cef7ByIU1FOt/UAXYjqQBJE+1Cws3LO/PBznLU/9DtG/bxdPFOq2f2BorFUF tRcVknQeKcgmgNiJX572oIf7uqZV07zLxsJu2bwxxG8krLxeaqlEzm9a4SMUUAG5aAU930 Z2plxyClp94l0VkRCTeiYe6Mgezsd1P38QIe3pBBzE3BJ/04ikD5qYbAgF7qCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618896371; a=rsa-sha256; cv=none; b=pYl5MXFtgh5G+XRIFhYl5A2TiktLt251hZjVVIAKUq/iVCwHYjnp0++yN/gfHKTH51FhM6 KHRnmMOiWyv/WlIKWdtq6x5BFNXdib1xxUT8eo2fimHK50pzCx0khVPyxDcGhdQqhK1uI1 zt+x4tFEAym20P9m6PD9Dsne9ReJuvbygEMblFTR5pc9NncDlfuGMjjcKBMAXmKwfhcgLD fPOVAqoXXTXGEleHxkmVyQH4jL5s8dwDBetCkWp/sLdZPcWZd9bA1twplB+nNf0tpcPKH5 0aTprg2ShyswZbYCrLsvVwQHxMD05sbVhUkAKqW4qLjFZ+49M6tzAUvkIMEozA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gBDvC2QZ; 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.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gBDvC2QZ; 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: 8AB0C153E1 X-Spam-Score: 3.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: Pm4ATygHwV+G * gnu/packages/python-xyz.scm (python-qtsass): New variable. --- gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5c7fd02289..28c89f71a1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24409,6 +24409,47 @@ query Watchman to discover file changes.") environment.") (license license:expat))) +(define-public python-qtsass + (package + (name "python-qtsass") + (version "0.3.0") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/spyder-ide/qtsass/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09s04aa14d8jqbh71clrb5y7vcmkxlp94mwmvzrkxahry3bk03cb")))) + (build-system python-build-system) + (arguments + `(#:test-target "pytest" + #:phases + (modify-phases %standard-phases + ;; Tests need to read and write files. + (add-before 'check 'make-git-checkout-writable + (lambda _ + (for-each make-file-writable (find-files ".")) + #t))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-runner" ,python-pytest-runner))) + (propagated-inputs + `(("python-libsass" ,python-libsass))) + (home-page "https://github.com/spyder-ide/qtsass") + (synopsis "Compile SCSS files to valid Qt stylesheets") + (description + "Besides being used in web development, CSS is also the way to stylize +Qt-based desktop applications. However, Qt's CSS has a few variations that +prevent the direct use of SASS compiler. + +The purpose of this tool is to fill the gap between SASS and Qt-CSS by +handling those variations.") + (license license:expat))) + (define-public python-qdarkstyle (package (name "python-qdarkstyle") -- 2.31.1