diff --git a/python-pytz.changes b/python-pytz.changes index b2d7897..1b0c22b 100644 --- a/python-pytz.changes +++ b/python-pytz.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sun Feb 17 01:37:01 UTC 2019 - John Vandenberg + +- Use more useful and clean https://pythonhosted.org/pytz/ as URL +- Use fdupes +- Add missing dependency on Python runtime, and install using setuptools. +- update to 2018.9 + * IANA 2018i + * Replace all references to deprecated easy_install with pip + * Add _all_timezones_lower_to_standard to gen_tzinfo + * timezone constructor arg is case-insensitive + * Use early python2 compatible str formatting + * Raise UnknownTimeZoneError if provided timezone name is None + * Make timezone lookup case insensitive +- from 2018.7 + * IANA 2018g +- from 2018.6 + * IANA 2018f + * Promote BaseTzInfo to public API for type checking + * Update dev notes for Ubuntu 18.04 containers + * Add warnings to examples showing what not to do + ------------------------------------------------------------------- Wed Jan 9 18:18:15 CET 2019 - mcepl@suse.com diff --git a/python-pytz.spec b/python-pytz.spec index 98d026c..413fc2e 100644 --- a/python-pytz.spec +++ b/python-pytz.spec @@ -19,12 +19,12 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytz -Version: 2018.5 +Version: 2018.9 Release: 0 Summary: World timezone definitions, modern and historical License: MIT Group: Development/Languages/Python -URL: http://pytz.sourceforge.net +URL: https://pythonhosted.org/pytz/ Source: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.gz Source2: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.gz.asc Source90: %{name}.keyring @@ -34,7 +34,7 @@ Patch0: fix-tests.patch Patch1: system_zoneinfo.patch # PATCH-FIX-UPSTREAM 0001-Fix-tests-for-older-timezone-versions.patch -- https://code.launchpad.net/~toabctl/pytz/+git/pytz/+merge/326419 Patch2: 0001-Fix-tests-for-older-timezone-versions.patch -BuildRequires: %{python_module base} +BuildRequires: %{python_module setuptools} # pytest is required only because of 2.7 stdlib test runner, python3 # unittest runner is sufficient. BuildRequires: %{python_module pytest} @@ -42,6 +42,7 @@ BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: timezone +Requires: python-base Requires: timezone BuildArch: noarch %ifpython2 @@ -73,6 +74,7 @@ sed -i '/^#!/d' ./pytz/tzfile.py %install %python_install %python_expand rm -fr %{buildroot}%{$python_sitelib}/pytz/zoneinfo +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_expand PYTHONPATH=. py.test-%{$python_bin_suffix} -v pytz/tests diff --git a/pytz-2018.5.tar.gz b/pytz-2018.5.tar.gz deleted file mode 100644 index c0bc769..0000000 --- a/pytz-2018.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277 -size 318799 diff --git a/pytz-2018.5.tar.gz.asc b/pytz-2018.5.tar.gz.asc deleted file mode 100644 index da63706..0000000 --- a/pytz-2018.5.tar.gz.asc +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQTH7MNlq28lXh65uhcB+pmPusY3SgUCWzXXSgAKCRAB+pmPusY3 -Skl7AJ0Td4qRGE3l4WHIxnWNxLQCgSjqiACeOrxzAp7+EkFFI82hcfkW3E1hBo4= -=7jkN ------END PGP SIGNATURE----- diff --git a/pytz-2018.9.tar.gz b/pytz-2018.9.tar.gz new file mode 100644 index 0000000..1c24676 --- /dev/null +++ b/pytz-2018.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5f05e487007e29e03409f9398d074e158d920d36eb82eaf66fb1136b0c5374c +size 310705 diff --git a/pytz-2018.9.tar.gz.asc b/pytz-2018.9.tar.gz.asc new file mode 100644 index 0000000..4eb27bf --- /dev/null +++ b/pytz-2018.9.tar.gz.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQTH7MNlq28lXh65uhcB+pmPusY3SgUCXDMFwQAKCRAB+pmPusY3 +Sm/xAJwKoNIZbIVMaFNGOXeSJu1X8QXgsACfVHNlaOz/34yCJrVniSBsopgA0QQ= +=KrRL +-----END PGP SIGNATURE-----