all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luis Felipe via Guix-patches via <guix-patches@gnu.org>
To: 52251@debbugs.gnu.org
Subject: [bug#52251] [PATCH] gnu: Add python-django-svg-image-form-field.
Date: Thu, 02 Dec 2021 22:39:11 +0000	[thread overview]
Message-ID: <N95fF9SMVGghwuv3-OKENglap_Z9Mr_pz9czFt5w_UyEwPJMBkwGx0zncZR_cZHAR9ru-WizhDKF1ZWBQSL2EAlzdn1JKfIdSIC07-ECS30=@protonmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 90 bytes --]

Hi, a new package here.

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-django-svg-image-form-field.patch --]
[-- Type: text/x-patch; filename="0001-gnu-Add-python-django-svg-image-form-field.patch"; name="0001-gnu-Add-python-django-svg-image-form-field.patch", Size: 2120 bytes --]

From 4ba12d5def43024151ab1f5323177b7a74aa2271 Mon Sep 17 00:00:00 2001
From: Luis Felipe <luis.felipe.la@protonmail.com>
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 <vijimay12@gmail.com>
 ;;; Copyright © 2019 Sam <smbaines8@gmail.com>
 ;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
 ;;;
 ;;; 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


[-- Attachment #1.3: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

             reply	other threads:[~2021-12-02 22:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02 22:39 Luis Felipe via Guix-patches via [this message]
2021-12-05 20:50 ` [bug#52251] [PATCH] gnu: Add python-django-svg-image-form-field Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='N95fF9SMVGghwuv3-OKENglap_Z9Mr_pz9czFt5w_UyEwPJMBkwGx0zncZR_cZHAR9ru-WizhDKF1ZWBQSL2EAlzdn1JKfIdSIC07-ECS30=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=52251@debbugs.gnu.org \
    --cc=luis.felipe.la@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.