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 yOHMKUBF+GS9ngAA9RJhRA:P1 (envelope-from ) for ; Wed, 06 Sep 2023 11:24:16 +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 yOHMKUBF+GS9ngAA9RJhRA (envelope-from ) for ; Wed, 06 Sep 2023 11:24:16 +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 7792A65503 for ; Wed, 6 Sep 2023 11:24:16 +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=1693992256; 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=lb9q4ZlNhGFF7C2h/mzM4LE/fANM1fJ8mOwjqYlfdDs=; b=kqgpK48mBWq4FoP+6MkpjXNhxhq8QqUmJYUguJHT5cUVIcl77P2vvjyNfniGCtiFc6FeMo wtbKL007iDQ6x63/BB9jYTRyr/19Pm/JzzqW9PUYDYu+pTK/A9raL8GWLGKgWSFD3Jjzic pfNGh7o6fbNh4l4aiUJ+T3uSWPiWp+++D/MPsId7bV1O4WVIR87i0Iu8h4MEq86XXujwLd VO9Xgqj+FdAkwyzLpT/fHxhxf23Dm/rKPeRE3vTf4+AgKujls7fRmi5vo7n2Ls2HAUSuve dlIeZyj9S3+cmzJJAQUHmPOlAy7sXT8JQLAEvDJZA6D3jMhxBvMkq0FupTO2fQ== 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=1693992256; a=rsa-sha256; cv=none; b=tFlRX/HgDXfayfgQbtgW6M8GaVtrVaO6mFbT6MvBjVwNipQI1za6sKVaCnC/jGwaiP+90A 9gmzcbTa9hgieDVVjE5B+k9mzdFYK7MLmVblDFiAHPbR18ZII6ereYjWTMKyDXy8YTWOXb f4sz7WsGrghScqCmPIn2cdeH2em6DUXwFUrx7pp9sJkaEuEYSTpPXgeR+2ti/6FHO/NVGA 7eOtWytIA6rSb1IgF5+ZZgY/7dldmfgMeYbKOLhFpw7/M8EBoFjvgwRD9rb14du5uSSqR+ 7c9FxlO5P8bbFqJ45MdrGzR0WAEGuMdfe6xeeHuvk39K4XPFoNIMniFQ52Zx0w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdoi4-00011V-KH; Wed, 06 Sep 2023 05:20:28 -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 1qdog8-0004qM-8B for guix-patches@gnu.org; Wed, 06 Sep 2023 05:18:31 -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 1qdog8-0005yr-0A for guix-patches@gnu.org; Wed, 06 Sep 2023 05:18:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdog6-0006Q4-GC; Wed, 06 Sep 2023 05:18:26 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v7 50/57] 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: Wed, 06 Sep 2023 09:18:26 +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.169399190324594 (code B ref 65758); Wed, 06 Sep 2023 09:18:26 +0000 Received: (at 65758) by debbugs.gnu.org; 6 Sep 2023 09:18:23 +0000 Received: from localhost ([127.0.0.1]:32885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdog2-0006OO-ML for submit@debbugs.gnu.org; Wed, 06 Sep 2023 05:18:23 -0400 Received: from 14.mo583.mail-out.ovh.net ([188.165.51.82]:39581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdofr-0006Jo-Ob for 65758@debbugs.gnu.org; Wed, 06 Sep 2023 05:18:12 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.16.216]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id A1CF4286AE for <65758@debbugs.gnu.org>; Wed, 6 Sep 2023 09:18:09 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-g6lkw (unknown [10.110.208.116]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 45F291FD3A; Wed, 6 Sep 2023 09:18:09 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-6684bf9d7b-g6lkw with ESMTPSA id pqP2DtFD+GR8dTMAVhMNug (envelope-from ); Wed, 06 Sep 2023 09:18:09 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Wed, 6 Sep 2023 11:16:14 +0200 Message-ID: <5acf2244471c51b65a4fa342f01b7ba7cbb07221.1693991781.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> References: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 4886687074863997666 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehfedgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvffehgeekhfekgffgleehffetiefggeeitdduteekfffhkeehveejfeejledtieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehjeehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht 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: 7792A65503 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.73 X-Spam-Score: -6.73 X-TUID: bvJFd2A2tNBg * 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 c36f3f4ccb..7a8dd0a9b5 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -880,6 +880,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