From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gEuHObdY92RgXAEA9RJhRA:P1 (envelope-from ) for ; Tue, 05 Sep 2023 18:35:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gEuHObdY92RgXAEA9RJhRA (envelope-from ) for ; Tue, 05 Sep 2023 18:35:04 +0200 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 D899F63C98 for ; Tue, 5 Sep 2023 18:35:03 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693931703; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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; bh=p8Jf0FjO4vZEJuU5jPsSDaYjpU4Ly3dUcdjaisxZlZU=; b=ckBYU+s6B30p94SlCM621/TglGh+wgXF/NF2MHunVTPWdZ7peKShSVh4nbq9h+R5myY0F9 9DdoSuAibI0w0YmfhTMZhX7kS46N8R6tPYqHe967YYnifMtpJ198GKEAiBwqTM0U1/uCLt /fMxRQTqQDuxx5uEUeQ250nENDXDWO2F3IcbKaI1AY6m1k6zn55Yvwl5RTMzlgMZvtxUkm w6EuUpo9oXy2Sl2439pkQc07V6xBt9ynsDKfkCSelXOdVNkPO0HKO59QwcooFJnt3VfOJA c9/zEI395cSd1cmIPp0mTTd6tfz4V+5nZ7BJkN0Y8onhhEwtwDOuX4s9BusdnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693931703; a=rsa-sha256; cv=none; b=M8nBDokenThaq/tNj8HEORWBm0DbNxMISX4jHy9ITf01swa056xO+4YN/oSLruwJZKjH45 7ztkxOw75/5lh4B+Qt3zViauzSZ+pn+w5lsjEfQ+vA7ApcG0Vn2igbOYRT+/ISawsLmPfK W3iezCGVAC/HQyXma1KK6O005srX8cI8E7U9dPtRZTuK3Gb30gW7oFim1Ab0ca0zkozx2u VQLdWZHajgrQPE+jbl53+FVDy7tgB9r39Iyvay3aFHANcX4eTJqJ0t9DViAAWoSlwH9/bU k7Yb1kKTxNy14se050ZhEAav6G+ajOctCfKo4TwPFrCWxPzKhFmTzoMMhG05uw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdYzc-0004qV-6l; Tue, 05 Sep 2023 12:33:32 -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 1qdYzY-0004i4-0G for guix-patches@gnu.org; Tue, 05 Sep 2023 12:33:28 -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 1qdYzX-0008Kc-Nz for guix-patches@gnu.org; Tue, 05 Sep 2023 12:33:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdYzV-0000Cu-Iv; Tue, 05 Sep 2023 12:33:25 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v6 50/55] gnu: Add python-django-permissionedforms. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 05 Sep 2023 16:33:25 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65758@debbugs.gnu.org Cc: ngraves@ngraves.fr, Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 65758-submit@debbugs.gnu.org id=B65758.1693931592482 (code B ref 65758); Tue, 05 Sep 2023 16:33:25 +0000 Received: (at 65758) by debbugs.gnu.org; 5 Sep 2023 16:33:12 +0000 Received: from localhost ([127.0.0.1]:58494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdYzH-00007Z-Qy for submit@debbugs.gnu.org; Tue, 05 Sep 2023 12:33:12 -0400 Received: from 11.mo581.mail-out.ovh.net ([87.98.173.157]:60297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdYz5-0008Ub-Df for 65758@debbugs.gnu.org; Tue, 05 Sep 2023 12:33:00 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.146.163]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id CDE0E27B30 for <65758@debbugs.gnu.org>; Tue, 5 Sep 2023 16:32:57 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-kg5sv (unknown [10.111.172.243]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 832F41FE51; Tue, 5 Sep 2023 16:32:57 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-kg5sv with ESMTPSA id AWhdHTlY92SlDQAAV3ZwtQ (envelope-from ); Tue, 05 Sep 2023 16:32:57 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Tue, 5 Sep 2023 18:31:26 +0200 Message-ID: <54875d84336ca879cac7c25647d6e935a9afac99.1693931491.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <210284f7682898dae8772280ec23f175e26255a9.1693931491.git.ngraves@ngraves.fr> References: <210284f7682898dae8772280ec23f175e26255a9.1693931491.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6357112350010958562 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehuddgjeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvffehgeekhfekgffgleehffetiefggeeitdduteekfffhkeehveejfeejledtieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehjeehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via 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-Queue-Id: D899F63C98 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.73 X-Spam-Score: -6.73 X-TUID: S/zqA2xLkttn * gnu/packages/django.scm (python-django-permissionedforms): New variable. --- gnu/packages/django.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index e0fec3caa9..74a1b7366a 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -878,6 +878,40 @@ (define-public python-dj-database-url conn_max_age argument to easily enable Django’s connection pool.") (license license:bsd-2))) +(define-public python-django-permissionedforms + (package + (name "python-django-permissionedforms") + (version "0.1") + ;; tests are not packaged in pypi + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wagtail/django-permissionedforms") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0dscl238yi4xyd4nz2cxr5kikyalqj5drmk935llal3rd0dcy30d")))) + (build-system pyproject-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (if tests? + (invoke "python" "runtests.py") + (format #t "test suite not run~%"))))))) + (propagated-inputs (list python-django)) + (native-inputs (list python-django-modelcluster)) + (home-page "https://github.com/wagtail/django-permissionedforms") + (synopsis + "Create forms that vary according to user permissions in Django") + (description + "This package provides a Django extension for creating forms that vary +according to user permissions.") + (license license:bsd-3))) + (define-public python-django-picklefield (package (name "python-django-picklefield") -- 2.41.0