From patchwork Thu Dec 2 22:39:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luis Felipe X-Patchwork-Id: 34936 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 92BBB27BBEA; Thu, 2 Dec 2021 22:40:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1D8D327BBE9 for ; Thu, 2 Dec 2021 22:40:32 +0000 (GMT) Received: from localhost ([::1]:35442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msukh-0003Oi-5x for patchwork@mira.cbaines.net; Thu, 02 Dec 2021 17:40:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msukJ-0003OS-Ob for guix-patches@gnu.org; Thu, 02 Dec 2021 17:40:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msukE-0003Hj-51 for guix-patches@gnu.org; Thu, 02 Dec 2021 17:40:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msukD-0008Qd-UQ for guix-patches@gnu.org; Thu, 02 Dec 2021 17:40:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52251] [PATCH] gnu: Add python-django-svg-image-form-field. Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Dec 2021 22:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52251 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52251@debbugs.gnu.org X-Debbugs-Original-To: Luis Felipe via Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.163848476432343 (code B ref -1); Thu, 02 Dec 2021 22:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Dec 2021 22:39:24 +0000 Received: from localhost ([127.0.0.1]:49566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msujc-0008Pb-GF for submit@debbugs.gnu.org; Thu, 02 Dec 2021 17:39:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:37096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msujY-0008PQ-3k for submit@debbugs.gnu.org; Thu, 02 Dec 2021 17:39:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msujX-0003MD-Sh for guix-patches@gnu.org; Thu, 02 Dec 2021 17:39:19 -0500 Received: from mail-4319.protonmail.ch ([185.70.43.19]:52685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msujU-0003CU-VN for guix-patches@gnu.org; Thu, 02 Dec 2021 17:39:19 -0500 Date: Thu, 02 Dec 2021 22:39:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1638484752; bh=A2nnZOKcjzsT/l8waCPvIC7uQ8sr7z0WKRckLyORMpQ=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=YAs8mI870ahIQtTcONz/qlXcEDOstzuoiqkuT3pFn/1GgE8RnYVZp1LnlAF7hQAlE 9B+WEJkAWtGYfdheHV/cfpNRK64N/N/wFReQFCs6j8x17o27MUWZyOX8OphFQHe3Hd XvpnjLO1dzBbTZ8xwDp8RhHy/YNAN3/GpuphgpGoo1zxKT6mKFbuJq2h44xfut0q8N 9D9ws4KmBdwN9Kw4t4pAlNXzfQ81inj9BhC3+j6fWFitm9Ki7gXYWoMrTt3Fm/1TPk S/ByVk1fOA9vOBgmQG48Ocag3QnhGIVARv/LvL7TR3o/fVGmDvbLkKoKl5Nliv3Uj+ N38XhzVqo0pqw== Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.19; envelope-from=luis.felipe.la@protonmail.com; helo=mail-4319.protonmail.ch X-Spam_score_int: 9 X-Spam_score: 0.9 X-Spam_bar: / X-Spam_report: (0.9 / 5.0 requ) AC_FROM_MANY_DOTS=2.996, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Luis Felipe X-ACL-Warn: , Luis Felipe via Guix-patches X-Patchwork-Original-From: Luis Felipe via Guix-patches via From: Luis Felipe X-getmail-retrieved-from-mailbox: Patches Hi, a new package here. --- Luis Felipe López Acevedo https://luis-felipe.gitlab.io/ From 4ba12d5def43024151ab1f5323177b7a74aa2271 Mon Sep 17 00:00:00 2001 From: Luis Felipe Date: Thu, 2 Dec 2021 15:48:05 -0500 Subject: [PATCH] gnu: Add python-django-svg-image-form-field. * gnu/packages/django.scm (python-django-svg-image-form-field): New variable. --- gnu/packages/django.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 9fe0e8d3d1..32a14d3f58 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2018 Vijayalakshmi Vedantham ;;; Copyright © 2019 Sam ;;; Copyright © 2020, 2021 Marius Bakke +;;; Copyright © 2021 Luis Felipe López Acevedo ;;; ;;; This file is part of GNU Guix. ;;; @@ -1357,3 +1358,28 @@ (define-public python-django-url-filter and also specify the lookup type for each filter (very much like Django's filtering system in ORM).") (license license:expat))) + +(define-public python-django-svg-image-form-field + (package + (name "python-django-svg-image-form-field") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artrey/django-svg-image-form-field") + (commit (string-append version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "131m545khn8l20j4x2bvlvz36dlbnhj9pc98i2dw72s3bw8pgws0")))) + (build-system python-build-system) + (propagated-inputs + `(("python-defusedxml" ,python-defusedxml) + ("python-django" ,python-django) + ("python-pillow" ,python-pillow))) + (home-page "https://github.com/artrey/django-svg-image-form-field") + (synopsis "Form field to validate SVG and other images") + (description "This form field allows users to provide SVG images for +models that use Django's standard @code{ImageField}, in addition to the +image files already supported by it.") + (license license:expat))) -- 2.33.0