From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MN4bA7Ub92WF6QAAe85BDQ:P1 (envelope-from ) for ; Sun, 17 Mar 2024 17:35:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MN4bA7Ub92WF6QAAe85BDQ (envelope-from ) for ; Sun, 17 Mar 2024 17:35:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bioneland.org header.s=20230804 header.b=E48CS0Q7; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710693300; a=rsa-sha256; cv=none; b=R4L1Nskq4wLB6ZMbofIE/YwZwYQYes2C1JUHRoypSkhsMmN3KsIWLuwM2l7McWEy6k0/pA WrGKCrC3Tj8gyw75XwyxWvebNlyQnwa1iQlYnlbwV1VjptiE/vIVutRJD5UYksSxp/2Tfd c5Y5sXxw00+zWqC0hWJ0sigcHr564od9G7UxU8posV+AWflL791R/0hbZDnAF7jKw7Y5OR MYWM3sGa7MJrYFOYHh19rqCLQZVHX6owfg7UCLlL1ukRMyOvzvOX3wPH0O4/Gd7RWb3TIF cyxUNMJQ2yJ38kGYlnJiiHKqHnSMGDr9pTJyhdHXF15z5oHxFwj5qdBBbjn4ww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bioneland.org header.s=20230804 header.b=E48CS0Q7; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710693300; 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=VSa9DErG9H/ep8VyZFPa+KUuhdW7fMxtrnBfOdTSPzY=; b=eif7fMu7Z20KwPwHaJl7fmA3lwpnCuZpbgMi/r3JuG0yzaQoNurJtca9ppA9+CyiTURR1c MC9xkaHphZkZedgXvtWH8bJosCbnXhdGFdnPDWaBdIAkCN7oserdVYNwbF56zyeFfgY3vP HnecmmM6zOzjll+mq8WiqKB5X5HbwFUzvZvSgoqI6GPFXykq08U7IeubKC/EradSs2W5oC 6mnp+ROdqlIf2VuXu4NkCn3+riT3s/cyAox+WNNUgJ/mdW2URnxa0nrZzCyQDWjKy5YAFZ hsRzPX6JSUdUJ9K8hpP38DoRqsD82ZazxwVhYLqrgCH3pHux5vb/VQeMPYuaMw== 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 A97C96B247 for ; Sun, 17 Mar 2024 17:35:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rltSv-0002Ct-6q; Sun, 17 Mar 2024 12:34:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rltSt-0002Cg-Jp for guix-patches@gnu.org; Sun, 17 Mar 2024 12:34:27 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rltSt-0003wY-BY; Sun, 17 Mar 2024 12:34:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rltTS-0004gg-Gt; Sun, 17 Mar 2024 12:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69486] [PATCH v2] gnu: Add python-pypugjs. References: <2973fb0b7bacc392c1c2a3a5bdb7539f19c33268.1709284746.git.tanguy@bioneland.org> In-Reply-To: <2973fb0b7bacc392c1c2a3a5bdb7539f19c33268.1709284746.git.tanguy@bioneland.org> Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69486 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69486@debbugs.gnu.org Cc: Tanguy Le Carrour , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 69486-submit@debbugs.gnu.org id=B69486.171069328617962 (code B ref 69486); Sun, 17 Mar 2024 16:35:02 +0000 Received: (at 69486) by debbugs.gnu.org; 17 Mar 2024 16:34:46 +0000 Received: from localhost ([127.0.0.1]:58796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rltTC-0004fe-8J for submit@debbugs.gnu.org; Sun, 17 Mar 2024 12:34:46 -0400 Received: from smtp-42a8.mail.infomaniak.ch ([84.16.66.168]:45827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rltT8-0004fO-Es for 69486@debbugs.gnu.org; Sun, 17 Mar 2024 12:34:44 -0400 Received: from smtp-4-0000.mail.infomaniak.ch (unknown [10.7.10.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TyNpt2NKzzMpvb3; Sun, 17 Mar 2024 17:33:58 +0100 (CET) Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4TyNps6GsrzF09; Sun, 17 Mar 2024 17:33:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bioneland.org; s=20230804; t=1710693238; bh=090DaAYTzjoIFe6FBwjOozsX6P5DJRGOs9V205QCTS4=; h=From:To:Cc:Subject:Date:From; b=E48CS0Q7+vV7JPrOuRZtE8x7wd2IZP6qpknP1f/PbmrcPi9P20L7g/nVaOK2Kj3c8 RBSmrZGutExham5aMheUY5MQEOSnfsoZgwldFDSbDqqINgha4RGYZ5VIZ9PjjlB3t0 jZetR0jdt9dpoIppvykUPkEIvssOPcScbOA8GgKR+1sIyupFqIQizEf24sm2I3AM1S TQ1Ifm0T+xQEWhH4RfgdmiMiH18myZW2mWtOw25o7knfZQShcWi4r3tVm5zfjxjDOl 7NG2fgaeoXcNu/4EzVFfROpKPrq4lFv/OIfRUi/yTiQZrUrqv8hiS49Du2mVuwpFjH EITfq3t8ZKrhQ== From: Tanguy Le Carrour Date: Sun, 17 Mar 2024 17:32:31 +0100 Message-ID: <82876190057cca585a3b936ec7e0ff03b31db318.1710692958.git.tanguy@bioneland.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Infomaniak-Routing: alpha 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -0.90 X-Spam-Score: -0.90 X-Migadu-Queue-Id: A97C96B247 X-TUID: d689DmphJ16u Hi Guix, V2 fixes problems reported by QA: `python-pip` and `python-setuptools` should not be part of the inputs. Tanguy * gnu/packages/python-xyz.scm (python-pypugjs): New variable. Change-Id: I050ab42d0149fcffddcf6b12dd9c1ddea23f84c9 Signed-off-by: Tanguy Le Carrour --- gnu/packages/python-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 232b5d6999..e314ba9fab 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6056,6 +6056,52 @@ (define-public python-jinja2-time templates. A format string can be provided to control the output.") (license license:expat))) +(define-public python-pypugjs + (package + (name "python-pypugjs") + (version "5.9.12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kakulukia/pypugjs") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zj7a560h973cl7brfw1nmyhgm8rp8j80wnih0shvhmw4ql23lpa")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + ;; Our pyramid is outdated and pyramid-mako is not packaged. + (add-after 'unpack 'disable-pyramid + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "setup.py" + (("'pyramid") + "#'pyramid")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-v" + "pypugjs/testsuite/"))))))) + (native-inputs (list python-coverage + python-django + python-jinja2 + python-flake8 + python-flask + python-mako + python-nose + python-poetry-core + python-pytest + python-tornado-6 + python-wheel)) + (propagated-inputs (list python-charset-normalizer python-six)) + (home-page "https://github.com/kakulukia/pypugjs") + (synopsis "Convert Pug source files into different template languages") + (description + "PugJS syntax template adapter for Django, Jinja2, Mako and Tornado templates.") + (license license:expat))) ;; MIT + (define-public python-pysdl2 (package (name "python-pysdl2") base-commit: 93aefca7bab5f5b40164176e3224221d26d708f1 -- 2.41.0