From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cMdpNhZ3mGTOgAAASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 19:19:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wElgNhZ3mGQZRwAA9RJhRA (envelope-from ) for ; Sun, 25 Jun 2023 19:19:18 +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 AEBFF204E1 for ; Sun, 25 Jun 2023 19:18:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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=1687713523; a=rsa-sha256; cv=none; b=mCYMeKlyHF9N66eKzpeovUTiGnbf8bMZzyOctmv1Ny2rdh7xwFVPlqZRy+Dx5gKB67R7ng It9gliCx0M0P5KQ6X2+jd7XO+1Pm8kAEv1V1+3b2WV4vPCG32/S7CPpqbtfU3u09GLFNPd KQwCYPBWHgSNLfmY5sKI2697/pRtELczSr5+xubdcWeVX+N0BdXD4UbiAIH6HZawKI6yYV 9aNEJ6Fe6Q58pSK+pEpTAtWFJuZ9y+5WlK4CkEEPliVIElo0sIDhKSsVLQ4TLWGhXRbkHS u4tr1TdC3LMLEYDL6x1rfak/MLCqtKpEd4rnKneT1NDRByFrt54qGJjVr7NgRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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=1687713523; 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=jinw9OTgEuJig4moZDLuw5yqU4NzqJA8lwzvHbp4KGs=; b=Ckg2RX7TUqMAI2dHS7vsWHwDoqZhBgJCR5dnQhoVgI31JfO4RnnEgBr49rCnZ3l3HjQ4tx q5QrUUUceInxdzkU9I4mShDPvl3s2OADTn+lczDPm8tduzOIcXCK9RNmCFbY1ygzx2Pss6 HhojrqAX1HdZxiw402q5l4lKDDmVyxNjIt2TAbaFYRgP0vUBDXovAglRJ3wQ+BWFCHwybD OQgtn12qsrwmn9d+0wrcw0e68I8NoKFYEmMA5km+czpnEDnY/URcVfg3rUtge/vkHJGnJM WZXe3nEY4r8gsuQKYnogXtqTBnTXCW5jhYu/FeRtFj+YTpS/h05luxKdcmOtgw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDT8i-0006PA-FJ; Sun, 25 Jun 2023 13:03:04 -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 1qDT8g-0006Mw-Ve for guix-patches@gnu.org; Sun, 25 Jun 2023 13:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDT8g-0002Rc-NJ for guix-patches@gnu.org; Sun, 25 Jun 2023 13:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDT8g-0006ML-JE; Sun, 25 Jun 2023 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v5 51/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: Sun, 25 Jun 2023 17:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55474@debbugs.gnu.org Cc: ngraves@ngraves.fr, Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.168771253324349 (code B ref 55474); Sun, 25 Jun 2023 17:03:02 +0000 Received: (at 55474) by debbugs.gnu.org; 25 Jun 2023 17:02:13 +0000 Received: from localhost ([127.0.0.1]:43591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT7s-0006KZ-Bi for submit@debbugs.gnu.org; Sun, 25 Jun 2023 13:02:13 -0400 Received: from 7.mo584.mail-out.ovh.net ([178.33.253.54]:56059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT7h-0006HR-BO for 55474@debbugs.gnu.org; Sun, 25 Jun 2023 13:02:03 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.143.183]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 06573209CF for <55474@debbugs.gnu.org>; Sun, 25 Jun 2023 17:02:00 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-w5b65 (unknown [10.110.103.253]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 71D021FD25; Sun, 25 Jun 2023 17:01:59 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-w5b65 with ESMTPSA id sXVHFQdzmGTKAAAAlISIKg (envelope-from ); Sun, 25 Jun 2023 17:01:59 +0000 X-OVh-ClientIp: 80.215.66.29 Date: Sun, 25 Jun 2023 18:57:52 +0200 Message-Id: <366fba6df10e31345c7fae3fe881989f9f65f496.1687712246.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.40.1 In-Reply-To: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> References: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 8288593640008114914 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgeehtddguddtiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdffheegkefhkefggfelheffteeigfegiedtudetkeffhfekheevjeefjeeltdeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedtrddvudehrdeiiedrvdelpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.75 X-Migadu-Queue-Id: AEBFF204E1 X-Spam-Score: -3.75 X-TUID: goyqCZYbBhzJ * 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.40.1