[arch-commits] Commit in home-assistant/trunk (2 files)

Maxime Gauduin alucryd at archlinux.org
Fri Jan 22 07:49:17 UTC 2021


    Date: Friday, January 22, 2021 @ 07:49:16
  Author: alucryd
Revision: 824356

upgpkg: home-assistant 2021.1.4-1

Modified:
  home-assistant/trunk/PKGBUILD
  home-assistant/trunk/home-assistant-astral2.2.patch

--------------------------------+
 PKGBUILD                       |    6 +++---
 home-assistant-astral2.2.patch |   34 +++++++++++++++++++++-------------
 2 files changed, 24 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-22 05:26:13 UTC (rev 824355)
+++ PKGBUILD	2021-01-22 07:49:16 UTC (rev 824356)
@@ -6,7 +6,7 @@
 
 pkgname=home-assistant
 pkgdesc='Open source home automation that puts local control and privacy first'
-pkgver=2020.12.2
+pkgver=2021.1.4
 pkgrel=1
 arch=(any)
 url=https://home-assistant.io/
@@ -50,7 +50,7 @@
   'python-dtlssocket: Ikea Tradfri integration'
   'python-lxml: Meteo France integration'
 )
-_tag=e670a8f3b6e2c037840172fff7b54ff82bf8cd6b
+_tag=2de0b2aeca27e160e4f4ea255bbe20c4425c061b
 source=(
   git+https://github.com/home-assistant/home-assistant.git#tag=${_tag}
   home-assistant.service
@@ -58,7 +58,7 @@
 )
 b2sums=('SKIP'
         '0df7bbfdac09e37294ac27567e677855c72d13be3aefbd23e0a8f101cf2148302affbe9b6b586b893f77fc990f665d7b95f4916583680c06abd8f74b5cdf3da9'
-        'e2e4c8f4c20932d6f10812ed06a30234de8c6c9b364c8ea98976d1b7546256d7917a2d4649da3c9880f7e542ec161f91295f11cd15f77f21100822aacb9b0753')
+        'b21f1e662c242a10b0fdd8727dfb25a293e13ca3f431d49c2f7ef5b5427ad5b89ce6e7fe399a8bbad986c4e128c94be571227f67778764cf5441bf1f8dc00eaf')
 
 pkgver() {
   cd home-assistant

Modified: home-assistant-astral2.2.patch
===================================================================
--- home-assistant-astral2.2.patch	2021-01-22 05:26:13 UTC (rev 824355)
+++ home-assistant-astral2.2.patch	2021-01-22 07:49:16 UTC (rev 824356)
@@ -1,19 +1,19 @@
-From a675013a44de962bf63a6937d08a84789b897a80 Mon Sep 17 00:00:00 2001
+From 3acb6a4f847db45426328768c0ca874f361efaf2 Mon Sep 17 00:00:00 2001
 From: Maxime Gauduin <alucryd at archlinux.org>
 Date: Thu, 27 Feb 2020 17:27:37 +0100
 Subject: [PATCH] bump astral to 2.2
 
 ---
- homeassistant/components/moon/sensor.py  |  4 +-
+ homeassistant/components/moon/sensor.py  |  5 +--
  homeassistant/components/sun/__init__.py | 20 +++++-----
  homeassistant/helpers/sun.py             | 51 ++++++++++++++----------
  homeassistant/package_constraints.txt    |  2 +-
  requirements.txt                         |  2 +-
  setup.py                                 |  2 +-
- 6 files changed, 47 insertions(+), 34 deletions(-)
+ 6 files changed, 47 insertions(+), 35 deletions(-)
 
 diff --git a/homeassistant/components/moon/sensor.py b/homeassistant/components/moon/sensor.py
-index f7914177f8..9b29b071ee 100644
+index 9e0f8ef51d..9b29b071ee 100644
 --- a/homeassistant/components/moon/sensor.py
 +++ b/homeassistant/components/moon/sensor.py
 @@ -1,5 +1,5 @@
@@ -23,11 +23,19 @@
  import voluptuous as vol
  
  from homeassistant.components.sensor import PLATFORM_SCHEMA
-@@ -87,4 +87,4 @@ class MoonSensor(Entity):
+@@ -49,7 +49,6 @@ class MoonSensor(Entity):
+         """Initialize the moon sensor."""
+         self._name = name
+         self._state = None
+-        self._astral = Astral()
+ 
+     @property
+     def name(self):
+@@ -88,4 +87,4 @@ class MoonSensor(Entity):
      async def async_update(self):
          """Get the time and updates the states."""
          today = dt_util.as_local(dt_util.utcnow()).date()
--        self._state = Astral().moon_phase(today)
+-        self._state = self._astral.moon_phase(today)
 +        self._state = moon.phase(today)
 diff --git a/homeassistant/components/sun/__init__.py b/homeassistant/components/sun/__init__.py
 index 2d921da4a4..ec8f4b325a 100644
@@ -239,12 +247,12 @@
          return None
  
 diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt
-index 33a9466f4d..0d7cdf4862 100644
+index fa9a1ed564..5e6589bda5 100644
 --- a/homeassistant/package_constraints.txt
 +++ b/homeassistant/package_constraints.txt
 @@ -2,7 +2,7 @@ PyJWT==1.7.1
  PyNaCl==1.3.0
- aiohttp==3.7.1
+ aiohttp==3.7.3
  aiohttp_cors==0.7.0
 -astral==1.10.1
 +astral==2.2
@@ -252,13 +260,13 @@
  attrs==19.3.0
  bcrypt==3.1.7
 diff --git a/requirements.txt b/requirements.txt
-index ece1877ea7..4026232eea 100644
+index ece5a5a370..0b5d6622fd 100644
 --- a/requirements.txt
 +++ b/requirements.txt
 @@ -2,7 +2,7 @@
  
  # Home Assistant Core
- aiohttp==3.7.1
+ aiohttp==3.7.3
 -astral==1.10.1
 +astral==2.2
  async_timeout==3.0.1
@@ -265,13 +273,13 @@
  attrs==19.3.0
  bcrypt==3.1.7
 diff --git a/setup.py b/setup.py
-index d5d133d4a3..ee284b9d87 100755
+index 096e376b1a..f2034408f0 100755
 --- a/setup.py
 +++ b/setup.py
 @@ -33,7 +33,7 @@ PACKAGES = find_packages(exclude=["tests", "tests.*"])
  
  REQUIRES = [
-     "aiohttp==3.7.1",
+     "aiohttp==3.7.3",
 -    "astral==1.10.1",
 +    "astral==2.2",
      "async_timeout==3.0.1",
@@ -278,5 +286,5 @@
      "attrs==19.3.0",
      "bcrypt==3.1.7",
 -- 
-2.29.2
+2.30.0
 



More information about the arch-commits mailing list