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>
|
Tue Dec 4 12:55:33 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tzlocal
|
# 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
|
# 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
|
||||||
@ -19,21 +19,20 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define modname tzlocal
|
%define modname tzlocal
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 1.4
|
Version: 1.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Provides tzinfo object for the local timezone
|
Summary: Provides tzinfo object for the local timezone
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: https://github.com/regebro/%{modname}
|
URL: https://github.com/regebro/tzlocal
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
|
Source: https://github.com/regebro/tzlocal/archive/%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module pytz}
|
BuildRequires: %{python_module pytz}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -66,9 +65,8 @@ file. However, if the timezone name is readily available it will be used.
|
|||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.rst MANIFEST.in CHANGES.txt PKG-INFO
|
%doc README.rst CHANGES.txt
|
||||||
%{python_sitelib}/%{modname}
|
%{python_sitelib}/%{modname}
|
||||||
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
|
%{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