14
0

Accepting request 1108307 from home:mnhauke

- Update to version 0.10.0
  * Fix timezone awareness for Python 2.7.x
  * Support working with historical dhcpd.leases files
  * Use timezone-aware datetime objects
  * Refactor keyword argument passing to BaseLease

OBS-URL: https://build.opensuse.org/request/show/1108307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isc_dhcp_leases?expand=0&rev=7
This commit is contained in:
2023-09-04 07:53:35 +00:00
committed by Git OBS Bridge
parent d39f59ac5b
commit 46e4e46418
5 changed files with 20 additions and 11 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e42fddc305b530493b56354588cdd5764930c4b645cf107407820a13524d34e3
size 12276

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:392843bea965fc4cec15846973c80fe54e657d18321525a4d2daee2347b1a6bc
size 11736

View File

@@ -1,7 +1,7 @@
Index: python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py diff --git a/isc_dhcp_leases/iscdhcpleases.py b/isc_dhcp_leases/iscdhcpleases.py
=================================================================== index e16677e..8578060 100644
--- python-isc-dhcp-leases-0.9.1.orig/isc_dhcp_leases/iscdhcpleases.py --- a/isc_dhcp_leases/iscdhcpleases.py
+++ python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py +++ b/isc_dhcp_leases/iscdhcpleases.py
@@ -5,8 +5,6 @@ import re @@ -5,8 +5,6 @@ import re
import struct import struct
import gzip import gzip
@@ -9,5 +9,5 @@ Index: python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py
-from six import iteritems -from six import iteritems
- -
def parse_time(s): try:
""" utc = datetime.timezone.utc

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Aug 31 15:41:47 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.10.0
* Fix timezone awareness for Python 2.7.x
* Support working with historical dhcpd.leases files
* Use timezone-aware datetime objects
* Refactor keyword argument passing to BaseLease
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 7 14:14:13 UTC 2022 - pgajdos@suse.com Mon Nov 7 14:14:13 UTC 2022 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-isc_dhcp_leases # spec file for package python-isc_dhcp_leases
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-isc_dhcp_leases Name: python-isc_dhcp_leases
Version: 0.9.1 Version: 0.10.0
Release: 0 Release: 0
Summary: Python module for reading dhcpd.leases from ISC DHCP server Summary: Python module for reading dhcpd.leases from ISC DHCP server
License: MIT License: MIT