all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#53602] [PATCH 1/2] gnu: Add python-croniter-1.
@ 2022-01-28 11:26 phodina via Guix-patches via
  2023-09-01 22:20 ` bug#53602: " Vagrant Cascadian
  0 siblings, 1 reply; 2+ messages in thread
From: phodina via Guix-patches via @ 2022-01-28 11:26 UTC (permalink / raw)
  To: 53602


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

Hello,

Here's an update for python-miio package. The release notes can be found here [1].

[1] https://github.com/rytilahti/python-miio/releases/tag/0.5.9.2
----
Petr

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-croniter-1.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-python-croniter-1.patch, Size: 2588 bytes --]

From e1cb36d37785cf80fbe265f300cb8364d56f8554 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Mon, 24 Jan 2022 18:18:52 +0100
Subject: [PATCH 1/2] gnu: Add python-croniter-1.

* gnu/packages/python-xyz.scm (python-croniter-1): New variable.
 (python-croniter): Inherit from above.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c8ba314d38..816c97e9d8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -104,7 +104,7 @@
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
 ;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
-;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
 ;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
 ;;; Copyright © 2021 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
@@ -23686,8 +23686,28 @@ (define-public python-annoy
 processes may share the same data.")
     (license license:asl2.0)))
 
+(define-public python-croniter-1
+  (package
+    (name "python-croniter")
+    (version "1.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "croniter" version))
+        (sha256
+          (base32 "1my2hlh4wyd5zsbij3hids24zzla73x06d9r2ikn9vdrmvv24i09"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-dateutil))
+    (home-page "https://github.com/kiorky/croniter")
+    (synopsis "Iterate datetime objects with cron-like syntax")
+    (description
+     "@code{croniter} provides iteration for datetime object with cron-like
+format.")
+    (license license:expat)))
+
 (define-public python-croniter
   (package
+  (inherit python-croniter-1)
     (name "python-croniter")
     (version "0.3.34")
     (source (origin
@@ -23696,15 +23716,7 @@ (define-public python-croniter
               (sha256
                (base32
                 "0r79cx4v2dw4hzr0annkkxxis46c8hivq61sr39z6p7lcjsbk1ki"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-dateutil python-natsort))
-    (home-page "https://github.com/kiorky/croniter")
-    (synopsis "Iterate datetime objects with cron-like syntax")
-    (description
-     "@code{croniter} provides iteration for datetime object with cron-like
-format.")
-    (license license:expat)))
+    (build-system python-build-system)))
 
 (define-public python-crontab
   (package
-- 
2.34.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-python-miio-Update-to-0.5.9.2.patch --]
[-- Type: text/x-patch; name=0002-gnu-python-miio-Update-to-0.5.9.2.patch, Size: 2964 bytes --]

From 69dbd975b5339509a0e434db0a69b89753df723c Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 1 Oct 2021 21:18:55 +0200
Subject: [PATCH 2/2] gnu: python-miio: Update to 0.5.9.2.

* gnu/packages/android.scm (python-miio): Update to 0.5.9.2.
  [propagated-inputs]: Update to python-croniter-1 and python-cryptography-next.

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 9f00303811..a2a755213c 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
-;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1078,14 +1078,14 @@ (define-public python-android-backup
 (define-public python-miio
   (package
     (name "python-miio")
-    (version "0.5.8")
+    (version "0.5.9.2")
     (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "python-miio" version))
-       (sha256
-        (base32
-         "0a4f5ybjvibawwxcjm3r9nnrzf1yff6wwgy05yzyk0bb3rmc99fp"))))
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "python-miio" version))
+        (sha256
+          (base32
+            "12ipmcd0iwdgb3kna3wlaazydvqk2rm0rlib9pq7g4j532nilp00"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -1103,20 +1103,21 @@ (define-public python-miio
            python-sphinx-rtd-theme
            python-sphinxcontrib-apidoc))
     (propagated-inputs
-     (list python-android-backup
-           python-appdirs
-           python-attrs
-           python-click
-           python-construct
-           python-croniter
-           python-cryptography
-           python-defusedxml
-           python-importlib-metadata
-           python-netifaces
-           python-pytz
-           python-pyyaml
-           python-tqdm
-           python-zeroconf))
+      `(("python-android-backup" ,python-android-backup)
+        ("python-appdirs" ,python-appdirs)
+        ("python-attrs" ,python-attrs)
+        ("python-click" ,python-click)
+        ("python-construct" ,python-construct)
+        ("python-croniter" ,python-croniter-1)
+        ("python-cryptography" ,python-cryptography-next)
+        ("python-defusedxml" ,python-defusedxml)
+        ("python-importlib-metadata"
+         ,python-importlib-metadata)
+        ("python-netifaces" ,python-netifaces)
+        ("python-pytz" ,python-pytz)
+        ("python-pyyaml" ,python-pyyaml)
+        ("python-tqdm" ,python-tqdm)
+        ("python-zeroconf" ,python-zeroconf)))
     (home-page "https://github.com/rytilahti/python-miio")
     (synopsis "Control Xiaomi smart appliances")
     (description "This package provides library and command line interface
-- 
2.34.0


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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28 11:26 [bug#53602] [PATCH 1/2] gnu: Add python-croniter-1 phodina via Guix-patches via
2023-09-01 22:20 ` bug#53602: " Vagrant Cascadian

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.