unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 53602@debbugs.gnu.org
Subject: [bug#53602] [PATCH 1/2] gnu: Add python-croniter-1.
Date: Fri, 28 Jan 2022 11:26:43 +0000	[thread overview]
Message-ID: <-TXKRrAYcYzRzkskG0uUCUeUMxLPY-hwRdJUsSAYOUBoR1riC8J94j3IxJbAFDCdpmMAWlqYCKgLtKb7lZwyc-IcH-fK4IzMzpWwmP5-H7Q=@protonmail.com> (raw)


[-- 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


             reply	other threads:[~2022-01-28 11:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28 11:26 phodina via Guix-patches via [this message]
2023-09-01 22:20 ` bug#53602: [PATCH 1/2] gnu: Add python-croniter-1 Vagrant Cascadian

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='-TXKRrAYcYzRzkskG0uUCUeUMxLPY-hwRdJUsSAYOUBoR1riC8J94j3IxJbAFDCdpmMAWlqYCKgLtKb7lZwyc-IcH-fK4IzMzpWwmP5-H7Q=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=53602@debbugs.gnu.org \
    --cc=phodina@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 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).