unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45449] [PATCH] Adds python-serial
@ 2020-12-26 18:15 rdes via Guix-patches via
  2021-01-06 10:00 ` Mathieu Othacehe
  2021-11-03  8:45 ` [bug#45449] [PATCH v2] gnu: Add python-serial phodina via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: rdes via Guix-patches via @ 2020-12-26 18:15 UTC (permalink / raw)
  To: 45449


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

Hello,

The attached patch adds python-serial.

Sent with [ProtonMail](https://protonmail.com) Secure Email.

[-- Attachment #1.2: Type: text/html, Size: 397 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-python-serial-New-variable.patch --]
[-- Type: text/x-patch; name=0001-gnu-python-serial-New-variable.patch, Size: 1903 bytes --]

From 94c4d73deec179e05d2e8ad26a9ebfacabaf5e47 Mon Sep 17 00:00:00 2001
From: Ryan Desfosses <rdes@protonmail.com>
Date: Sat, 26 Dec 2020 12:48:25 -0500
Subject: [PATCH] gnu: python-serial: New variable.

* gnu/packages/python-xyz.scm (python-serial): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index acde5a5e5e..0c42a46102 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -93,6 +93,7 @@
 ;;; Copyright © 2020 Diego N. Barbato <dnbarbato@posteo.de>
 ;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
 ;;; Copyright © 2019 Kristian Trandem <kristian@devup.no>
+;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23201,3 +23202,27 @@ backport of the @code{dataclasses} module for Python 3.6.")
     (description "@code{python-pywatchman} is a library to connect and
 query Watchman to discover file changes.")
     (license license:bsd-3)))
+
+(define-public python-serial
+  (package
+  (name "python-serial")
+  (version "0.0.97")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "serial" version))
+      (sha256
+        (base32
+          "0j7qjif5d9mxbdwcyyhr7fpcvjq7x16ar9n3mk95xgyx4yhm08al"))))
+  (build-system python-build-system)
+  (propagated-inputs
+    `(("python-future" ,python-future)
+      ("python-iso8601" ,python-iso8601)
+      ("python-pyyaml" ,python-pyyaml)))
+  (home-page
+    "https://bitbucket.com/davebelais/serial.git")
+  (synopsis
+    "A framework for serializing/deserializing JSON/YAML/XML into python class instances and vice versa")
+  (description
+    "A framework for serializing/deserializing JSON/YAML/XML into python class instances and vice versa")
+  (license license:expat)))
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#45449] [PATCH] Adds python-serial
  2020-12-26 18:15 [bug#45449] [PATCH] Adds python-serial rdes via Guix-patches via
@ 2021-01-06 10:00 ` Mathieu Othacehe
  2021-11-03  8:45 ` [bug#45449] [PATCH v2] gnu: Add python-serial phodina via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2021-01-06 10:00 UTC (permalink / raw)
  To: rdes; +Cc: 45449


Hello Ryan,

> * gnu/packages/python-xyz.scm (python-serial): New variable.

Thanks for this patch. Running 'guix lint' reports several issues. The
indentation also has to be fixed.

You can read:
https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html
for further information on how to write the synopsis and description
fields.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#45449] [PATCH v2] gnu: Add python-serial.
  2020-12-26 18:15 [bug#45449] [PATCH] Adds python-serial rdes via Guix-patches via
  2021-01-06 10:00 ` Mathieu Othacehe
@ 2021-11-03  8:45 ` phodina via Guix-patches via
  2023-01-16 18:08   ` [bug#45449] [PATCH] Adds python-serial Maxim Cournoyer
  1 sibling, 1 reply; 4+ messages in thread
From: phodina via Guix-patches via @ 2021-11-03  8:45 UTC (permalink / raw)
  To: 45449@debbugs.gnu.org

Hi Mathieu,

here's the reworked patch.

Petr

--8<---------------cut here---------------start------------->8---

* gnu/packages/python-xyz.scm (python-serial): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 32d6b403d4..35c2bffd47 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -94,6 +94,7 @@
 ;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
 ;;; Copyright © 2020 EuAndreh <eu@euandre.org>
+;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com>
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
 ;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
@@ -1645,6 +1646,31 @@ (define-public python-semantic-version
 (define-public python2-semantic-version
   (package-with-python2 python-semantic-version))

+(define-public python-serial
+  (package
+  (name "python-serial")
+  (version "0.0.97")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "serial" version))
+      (sha256
+        (base32
+          "0j7qjif5d9mxbdwcyyhr7fpcvjq7x16ar9n3mk95xgyx4yhm08al"))))
+  (build-system python-build-system)
+  (propagated-inputs
+    `(("python-future" ,python-future)
+      ("python-iso8601" ,python-iso8601)
+      ("python-pyyaml" ,python-pyyaml)))
+  (home-page
+    "https://bitbucket.com/davebelais/serial.git")
+  (synopsis
+    "Framework for serializing/deserializing JSON/YAML/XML")
+  (description
+    "This package provides a framework for serializing/deserializing
+JSON/YAML/XML into python class instances and vice versa")
+  (license license:expat)))
+
 (define-public python-serpent
   (package
     (name "python-serpent")
--
2.33.1




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#45449] [PATCH] Adds python-serial
  2021-11-03  8:45 ` [bug#45449] [PATCH v2] gnu: Add python-serial phodina via Guix-patches via
@ 2023-01-16 18:08   ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2023-01-16 18:08 UTC (permalink / raw)
  To: phodina; +Cc: 45449-done@debbugs.gnu.org

Hi,

phodina <phodina@protonmail.com> writes:

> Hi Mathieu,
>
> here's the reworked patch.
>
> Petr

The package upstream appears to have vanished, and the last pypi release
is from 2019.  Closing this as done.

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-16 18:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-26 18:15 [bug#45449] [PATCH] Adds python-serial rdes via Guix-patches via
2021-01-06 10:00 ` Mathieu Othacehe
2021-11-03  8:45 ` [bug#45449] [PATCH v2] gnu: Add python-serial phodina via Guix-patches via
2023-01-16 18:08   ` [bug#45449] [PATCH] Adds python-serial Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).