Hello community,
here is the log from the commit of package python-strict-rfc3339 for
openSUSE:Factory checked in at 2019-12-11 12:11:27
Comparing /work/SRC/openSUSE:Factory/python-strict-rfc3339 (Old)
and /work/SRC/openSUSE:Factory/.python-strict-rfc3339.new.4691 (New)
Package is "python-strict-rfc3339"
Wed Dec 11 12:11:27 2019 rev:3 rq:755178 version:0.7
Changes:
---
/work/SRC/openSUSE:Factory/python-strict-rfc3339/python-strict-rfc3339.changes
2019-04-04 12:00:46.417283583 +0200
+++
/work/SRC/openSUSE:Factory/.python-strict-rfc3339.new.4691/python-strict-rfc3339.changes
2019-12-11 12:12:50.376550102 +0100
@@ -1,0 +2,12 @@
+Mon Dec 9 09:28:43 UTC 2019 - Tomáš Chvátal
+
+- Fix source url
+
+---
+Sun Dec 8 05:08:18 UTC 2019 - John Vandenberg
+
+- Add missing runtime dependency on timezone
+- Replace dead link with GitHub URL
+- Activate test suite
+
+---
Other differences:
--
++ python-strict-rfc3339.spec ++
--- /var/tmp/diff_new_pack.30GCXV/_old 2019-12-11 12:12:54.320548993 +0100
+++ /var/tmp/diff_new_pack.30GCXV/_new 2019-12-11 12:12:54.324548992 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-strict-rfc3339
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,11 +23,14 @@
Summary:RFC 3339 functions
License:GPL-3.0-only
Group: Development/Languages/Python
-Url:http://www.danielrichman.co.uk/libraries/strict-rfc3339.html
-Source:
https://files.pythonhosted.org/packages/source/s/strict-rfc3339/strict-rfc3339-%{version}.tar.gz
+URL:https://github.com/danielrichman/strict-rfc3339/
+Source:
https://github.com/danielrichman/strict-rfc3339/archive/version-%{version}.tar.gz#/strict-rfc3339-%{version}.tar.gz
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+BuildRequires: timezone
+Requires: timezone
BuildArch: noarch
%python_subpackages
@@ -41,7 +44,7 @@
- Be very strict and follow RFC3339.
%prep
-%setup -q -n strict-rfc3339-%{version}
+%setup -q -n strict-rfc3339-version-%{version}
%build
%python_build
@@ -50,7 +53,10 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-# there are no tests anywhere
+%check
+export LANG=en_US.UTF-8
+# two 32bit failures https://github.com/danielrichman/strict-rfc3339/issues/10
+%pytest -k 'not test_leap_year and not test_y2038'
%files %{python_files}
%doc README.md
++ strict-rfc3339-0.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/strict-rfc3339-0.7/.gitignore
new/strict-rfc3339-version-0.7/.gitignore
--- old/strict-rfc3339-0.7/.gitignore 1970-01-01 01:00:00.0 +0100
+++ new/strict-rfc3339-version-0.7/.gitignore 2016-04-24 06:18:57.0
+0200
@@ -0,0 +1,6 @@
+*.pyc
+*.swp
+dist/
+build/
+MANIFEST
+strict_rfc3339.egg-info/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/strict-rfc3339-0.7/MANIFEST.in
new/strict-rfc3339-version-0.7/MANIFEST.in
--- old/strict-rfc3339-0.7/MANIFEST.in 1970-01-01 01:00:00.0 +0100
+++ new/strict-rfc3339-version-0.7/MANIFEST.in 2016-04-24 06:18:57.0
+0200
@@ -0,0 +1,4 @@
+include AUTHORS
+include LICENSE
+include README.md
+include README.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/strict-rfc3339-0.7/PKG-INFO
new/strict-rfc3339-version-0.7/PKG-INFO
--- old/strict-rfc3339-0.7/PKG-INFO 2016-04-24 06:24:02.0 +0200
+++ new/strict-rfc3339-version-0.7/PKG-INFO 1970-01-01 01:00:00.0
+0100
@@ -1,152 +0,0 @@
-Metadata-Version: 1.1
-Name: strict-rfc3339
-Version: 0.7
-Summary: Strict, simple, lightweight RFC3339 functions
-Home-page: http://www.danielrichman.co.uk/libraries/strict-rfc3339.html
-Author: Daniel Richman, Adam Greig
-Author-email: m...@danielrichman.co.uk
-License: GNU General Public License Version 3
-Description: Strict, simple, lightweight RFC3339 functions
-=
-
-Goals
--
-
- - Convert unix timestamps to and from RFC3339.
- - Either produce RFC3339 strings with a UTC offset (Z) or with the
offset
- that the C time module reports is the local timezone offset.
- - Simple