forked from pool/python-tzlocal
Accepting request 681301 from devel:languages:python
- Switch to github archive as per upstream recommendation: * the pypi archive fails tests due to wrong file->symlink conversions - Update to 1.5.1: * increased test coverage. * No longer treats macOS as special, but as a unix. * get_windows_info.py is renamed to update_windows_mappings.py * Windows mappings now also contain mappings from deprecated zoneinfo names. (Preston-Landers, regebro) OBS-URL: https://build.opensuse.org/request/show/681301 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tzlocal?expand=0&rev=7
This commit is contained in:
commit
8cc7adf277
3
1.5.1.tar.gz
Normal file
3
1.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4fc325121f6881b5872de15ad05e8f534e35171658519872f7c61c0e5bb7f371
|
||||
size 16728
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 11:10:03 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch to github archive as per upstream recommendation:
|
||||
* the pypi archive fails tests due to wrong file->symlink conversions
|
||||
- Update to 1.5.1:
|
||||
* increased test coverage.
|
||||
* No longer treats macOS as special, but as a unix.
|
||||
* get_windows_info.py is renamed to update_windows_mappings.py
|
||||
* Windows mappings now also contain mappings from deprecated zoneinfo names.
|
||||
(Preston-Landers, regebro)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:55:33 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tzlocal
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,21 +19,20 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define modname tzlocal
|
||||
Name: python-%{modname}
|
||||
Version: 1.4
|
||||
Version: 1.5.1
|
||||
Release: 0
|
||||
Summary: Provides tzinfo object for the local timezone
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/regebro/%{modname}
|
||||
Source: https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
|
||||
URL: https://github.com/regebro/tzlocal
|
||||
Source: https://github.com/regebro/tzlocal/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -66,9 +65,8 @@ file. However, if the timezone name is readily available it will be used.
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE.txt
|
||||
%doc README.rst MANIFEST.in CHANGES.txt PKG-INFO
|
||||
%doc README.rst CHANGES.txt
|
||||
%{python_sitelib}/%{modname}
|
||||
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05a2908f7fb1ba8843f03b2360d6ad314dbf2bce4644feb702ccd38527e13059
|
||||
size 15279
|
Loading…
Reference in New Issue
Block a user