From unknown Thu Sep 11 18:37:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42560] [PATCH] gnu: Add python-libsass. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Jul 2020 14:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42560@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159586118115647 (code B ref -1); Mon, 27 Jul 2020 14:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2020 14:46:21 +0000 Received: from localhost ([127.0.0.1]:55512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k04OS-00044I-To for submit@debbugs.gnu.org; Mon, 27 Jul 2020 10:46:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:51058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k04OR-000446-8C for submit@debbugs.gnu.org; Mon, 27 Jul 2020 10:46:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k04OO-0005Sz-9y for guix-patches@gnu.org; Mon, 27 Jul 2020 10:46:17 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k04OI-00038b-H0 for guix-patches@gnu.org; Mon, 27 Jul 2020 10:46:14 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D6F5C160060 for ; Mon, 27 Jul 2020 16:46:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595861164; bh=LtaZm6SlBPAFWpDiyRsvxk661A8QnJzoVBgbHbiuKSU=; h=From:To:Cc:Subject:Date:From; b=BbbJbPkLGtUgIiLm5W9pE7cWtiDDdXnISBzaRCpcuyABDmvtICAYQh2hm8WapuwOM I4ykOn1iVUOsDjTL5mBAqZKKo774Tr5C5ttyV9Axr5jxW9vCzV2vlXyHapA5WZuaQZ 36znpI9yXo3NgO7mX9dxcwJi/olSRabRAnoHz2pMvpingroZxPl2Dl3uU7th5LYC8+ K3lceeq8bf40G1WLLCHdhrNWDAu4CazENU4kxapMfL8Iri2WJCIIsf72tz1kum4CLE uVPoefJAN6Jd21LttSFjaz7yhoLzHbiZrKHSb6wZg3X8uSJGSun4ZO99/CmajCu6Ww w5ArclRKfNB0w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BFjKl1tD3z6tmp; Mon, 27 Jul 2020 16:46:02 +0200 (CEST) From: Vinicius Monego Date: Mon, 27 Jul 2020 11:44:04 -0300 Message-Id: <20200727144404.54894-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/27 10:46:05 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (python-libsass): New variable. --- gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 446e0a6def..d05fa4ae11 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8748,6 +8748,50 @@ specification.") (define-public python2-idna (package-with-python2 python-idna)) +(define-public python-libsass + (package + (name "python-libsass") + (version "0.20.0") + (source + (origin + ;; PyPI tarball is missing some test files. + (method git-fetch) + (uri (git-reference + (url "https://github.com/sass/libsass-python") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0h9rj4k9izkfdvli8ip72bbvh6a7bvrv5pxz6zay2bq235gpfgfc")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Use Guix package of libsass instead of compiling from a checkout. + (add-before 'build 'set-libsass + (lambda _ + (setenv "SYSTEM_SASS" (assoc-ref %build-inputs "libsass")) + #t)) + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "sasstests.py" "-k" + ;; See https://github.com/sass/libsass/issues/3092. + ;; This test may work in a future release of libsass. + "not test_stack_trace_formatting")))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-werkzeug" ,python-werkzeug))) + (inputs + `(("libsass" ,libsass))) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://sass.github.io/libsass-python/") + (synopsis "Straightforward binding of libsass for Python") + (description + "This package provides a simple Python extension module @code{sass} which +is binding LibSass.") + (license license:expat))) + (define-public python-idna-ssl (package (name "python-idna-ssl") -- 2.20.1 From unknown Thu Sep 11 18:37:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vinicius Monego Subject: bug#42560: closed (Re: [bug#42560] [PATCH] gnu: Add python-libsass.) Message-ID: References: <87365anbuu.fsf@gmail.com> <20200727144404.54894-1-monego@posteo.net> X-Gnu-PR-Message: they-closed 42560 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42560@debbugs.gnu.org Date: Wed, 29 Jul 2020 05:13:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1595999582-2683-1" This is a multi-part message in MIME format... ------------=_1595999582-2683-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42560: [PATCH] gnu: Add python-libsass. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42560@debbugs.gnu.org. --=20 42560: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42560 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1595999582-2683-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42560-done) by debbugs.gnu.org; 29 Jul 2020 05:12:41 +0000 Received: from localhost ([127.0.0.1]:59705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0eOP-0000gW-9Y for submit@debbugs.gnu.org; Wed, 29 Jul 2020 01:12:41 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:45167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0eOL-0000g7-S7 for 42560-done@debbugs.gnu.org; Wed, 29 Jul 2020 01:12:38 -0400 Received: by mail-lj1-f196.google.com with SMTP id r19so23588026ljn.12 for <42560-done@debbugs.gnu.org>; Tue, 28 Jul 2020 22:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=RMzDwQNz0TbG0xYiGxUJ4o5S2tN8hLZjQYGV29zu2tg=; b=YI7CDbpfHzhiv/wF9EbIxsieZ5Mc6JLOCub7xRiNUlS4JqISMs+sMEIc5d+ep7OXg0 1m31i37Cewrzcc8PzAD/RiqyMd10SkOPHudl5KGJDyHnNaaVUyqHQ35nbbvGsW8cb5o+ /9ob5pQzPu/3ctXSp2hujo0CzNxYQb0IEqS67a1tk21yzxy7OwH5ZZRr3gTolz5XwEI7 uOhwCnufjRiDRW9OCqbrwW1omiGxtg2DugVx8kkPBD3PSs10b/T8zAYa4vv2JbgQS/Ey p1WRhenCN/3gi+l9jJ9aIuUWIx/iu6kWPLHaiN+bnODbYUW0q8Z8Ym8gIiw0ydeFSYp8 Hyyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=RMzDwQNz0TbG0xYiGxUJ4o5S2tN8hLZjQYGV29zu2tg=; b=A1NhyHvdfPXGLIgguNTfF0mVD+vJ0Wexx3KIj8NnOoA7ezVSygerktwH55HicVZKox HeNhtL91mLnnuwACtM93tZRUCg1NtSKWQUrZeSOUFiUP1ErvIea7WotZW+luWpU6OTsE kcn1QyXkwgeSdFXhRuMkrgIvtbI/UtWWaaGp7q+V/eqo3ckF57y3HsNB8xB1gyvtifCH pApQZoEDKjl3szRtsg79QZ0N7sPf4JTZg3g+6EbEgL/s5tDl8MB5MUYtROPUCrhCVmEs fwJXoysZGCf8dOMOwBMUZ2yVi1qhb+qcnnEHfb4CtWHOSImA408lCoLD3007h9Z+fJxF nCWg== X-Gm-Message-State: AOAM533Just1AZHTB2JtHPrk4FxQM42Gh81JFB3TvJtGzAasheEjYSDt arCMxqCPX6k8Jkxobh0IIq/TeYk4/hY= X-Google-Smtp-Source: ABdhPJwqIytjBkPeefRSk5Hl7pjj0mrthtK1jFkcsCV02YMWGV0zpxyaTB+lkFYaDrxyRTlYmZU5wg== X-Received: by 2002:a2e:7816:: with SMTP id t22mr12984017ljc.373.1595999551811; Tue, 28 Jul 2020 22:12:31 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id 11sm168404ljw.69.2020.07.28.22.12.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 22:12:30 -0700 (PDT) From: Oleg Pykhalov To: Vinicius Monego Subject: Re: [bug#42560] [PATCH] gnu: Add python-libsass. References: <20200727144404.54894-1-monego@posteo.net> Date: Wed, 29 Jul 2020 08:12:25 +0300 In-Reply-To: <20200727144404.54894-1-monego@posteo.net> (Vinicius Monego's message of "Mon, 27 Jul 2020 11:44:04 -0300") Message-ID: <87365anbuu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42560-done Cc: 42560-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Vinicius Monego writes: > * gnu/packages/python-xyz.scm (python-libsass): New variable. > --- > gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index 446e0a6def..d05fa4ae11 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -8748,6 +8748,50 @@ specification.") [=E2=80=A6] Pushed to master. Thanks, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8hBTkACgkQFn+OpQAa +pzR1xAAnAPuSv5v4asNf4PeWcFrLW8HtPKvC3/lwOG8mnX+ZcV5bkkO+qdNZLCz xtC71/Rh7AVVNTjWKt8tVtfFNrdYxPmwoHGEN3EMbBVJxw0W4J8ZPOuVzL/DwxtA 5dORd9ZGPp2rwcuQpbInAz1zdcB8Rezrf1nVzO4DHvxbEdhrCq6Zd4eLvkqLKfBj x6uSKR+RlX8pips8JtpEzDJa+Kf8E0Q520qv780L7ifzGA2WYzfaolFm1aNDSQKa eVuMY2lPSsLU3/skrAh8TCAcSDK5F9lQD2elVFotoIUqAD8wLn/FcAMc7mzpHzbq ehAvibGso5ZiiNuru0PXfYmWbxeZBIXuW6GvGSiTc2gEQxEIl5YqQjUoAyNEY1gi y4xdIzWWxzuwQNDDacoGOd3pAanvDBrc/29JfFuyhAT3gREX81DrhzoMpq5Qzi7n dycRFZ3uOwGWxRi7yapLFx7mJSsX3K68Xn2ReiijkCdE3ccXWGDXXgpDIST7ZEtx YZ9wfZycqvTyeRQ2MVN6xJ06pKGXOnWUoc6pLXAU2AIZ0fkqRt5S8MMRs0Gl2OUC 8zf8g17YUFeAFvt3TkLUajDpPtofHVSo9qCCbjVghen3l+TWiZC/cWQESZfuaMNK QR9lqJoomTmll6aNxwhiV8XuLspGaRmyqbB5Z5yP0U4XMrRe/Rw= =1gOD -----END PGP SIGNATURE----- --=-=-=-- ------------=_1595999582-2683-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Jul 2020 14:46:21 +0000 Received: from localhost ([127.0.0.1]:55512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k04OS-00044I-To for submit@debbugs.gnu.org; Mon, 27 Jul 2020 10:46:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:51058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k04OR-000446-8C for submit@debbugs.gnu.org; Mon, 27 Jul 2020 10:46:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k04OO-0005Sz-9y for guix-patches@gnu.org; Mon, 27 Jul 2020 10:46:17 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k04OI-00038b-H0 for guix-patches@gnu.org; Mon, 27 Jul 2020 10:46:14 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D6F5C160060 for ; Mon, 27 Jul 2020 16:46:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595861164; bh=LtaZm6SlBPAFWpDiyRsvxk661A8QnJzoVBgbHbiuKSU=; h=From:To:Cc:Subject:Date:From; b=BbbJbPkLGtUgIiLm5W9pE7cWtiDDdXnISBzaRCpcuyABDmvtICAYQh2hm8WapuwOM I4ykOn1iVUOsDjTL5mBAqZKKo774Tr5C5ttyV9Axr5jxW9vCzV2vlXyHapA5WZuaQZ 36znpI9yXo3NgO7mX9dxcwJi/olSRabRAnoHz2pMvpingroZxPl2Dl3uU7th5LYC8+ K3lceeq8bf40G1WLLCHdhrNWDAu4CazENU4kxapMfL8Iri2WJCIIsf72tz1kum4CLE uVPoefJAN6Jd21LttSFjaz7yhoLzHbiZrKHSb6wZg3X8uSJGSun4ZO99/CmajCu6Ww w5ArclRKfNB0w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BFjKl1tD3z6tmp; Mon, 27 Jul 2020 16:46:02 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-libsass. Date: Mon, 27 Jul 2020 11:44:04 -0300 Message-Id: <20200727144404.54894-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/27 10:46:05 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (python-libsass): New variable. --- gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 446e0a6def..d05fa4ae11 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8748,6 +8748,50 @@ specification.") (define-public python2-idna (package-with-python2 python-idna)) +(define-public python-libsass + (package + (name "python-libsass") + (version "0.20.0") + (source + (origin + ;; PyPI tarball is missing some test files. + (method git-fetch) + (uri (git-reference + (url "https://github.com/sass/libsass-python") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0h9rj4k9izkfdvli8ip72bbvh6a7bvrv5pxz6zay2bq235gpfgfc")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Use Guix package of libsass instead of compiling from a checkout. + (add-before 'build 'set-libsass + (lambda _ + (setenv "SYSTEM_SASS" (assoc-ref %build-inputs "libsass")) + #t)) + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "sasstests.py" "-k" + ;; See https://github.com/sass/libsass/issues/3092. + ;; This test may work in a future release of libsass. + "not test_stack_trace_formatting")))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-werkzeug" ,python-werkzeug))) + (inputs + `(("libsass" ,libsass))) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://sass.github.io/libsass-python/") + (synopsis "Straightforward binding of libsass for Python") + (description + "This package provides a simple Python extension module @code{sass} which +is binding LibSass.") + (license license:expat))) + (define-public python-idna-ssl (package (name "python-idna-ssl") -- 2.20.1 ------------=_1595999582-2683-1--