Accepting request 361661 from home:tbechtold:branches:devel:languages:python
Rename python-dateutil to python-python-dateutil OBS-URL: https://build.opensuse.org/request/show/361661 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dateutil?expand=0&rev=1
This commit is contained in:
commit
8d1c64a23e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
python-dateutil-2.4.2.tar.gz
Normal file
3
python-dateutil-2.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3e95445c1db500a344079a47b171c45ef18f57d188dffdb0e4165c71bea8eb3d
|
||||||
|
size 209120
|
132
python-python-dateutil.changes
Normal file
132
python-python-dateutil.changes
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 26 12:45:15 UTC 2016 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- Rename package to python-python-dateutil . It's openSUSE policy
|
||||||
|
to use the $pypi name with the python prefix.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 13 03:13:09 UTC 2015 - Greg.Freemyer@gmail.com
|
||||||
|
|
||||||
|
- update url in specfile
|
||||||
|
- use sed to eliminate MS-DOS style end of lines
|
||||||
|
|
||||||
|
- update to version 2.4.2:
|
||||||
|
* Updated zoneinfo to 2015b.
|
||||||
|
* Fixed issue with parsing of tzstr on Python 2.7.x; tzstr will now
|
||||||
|
be decoded if not a unicode type. gh #51 (lp:1331576), gh pr #55.
|
||||||
|
* Fix a parser issue where AM and PM tokens were showing up in fuzzy
|
||||||
|
date stamps, triggering inappropriate errors. gh #56 (lp:
|
||||||
|
1428895), gh pr #63.
|
||||||
|
* Missing function "setcachsize" removed from zoneinfo __all__ list
|
||||||
|
by @ryanss, fixing an issue with wildcard imports of
|
||||||
|
dateutil.zoneinfo. (gh pr #66).
|
||||||
|
* (PyPi only) Fix an issue with source distributions not including
|
||||||
|
the test suite.
|
||||||
|
|
||||||
|
- changes from version 2.4.1:
|
||||||
|
* Added explicit check for valid hours if AM/PM is specified in
|
||||||
|
parser. (gh pr #22, issue #21)
|
||||||
|
* Fix bug in rrule introduced in 2.4.0 where byweekday parameter was
|
||||||
|
not handled properly. (gh pr #35, issue #34)
|
||||||
|
* Fix error where parser allowed some invalid dates, overwriting
|
||||||
|
existing hours with the last 2-digit number in the string. (gh pr
|
||||||
|
#32, issue #31)
|
||||||
|
* Fix and add test for Python 2.x compatibility with boolean
|
||||||
|
checking of relativedelta objects. Implemented by @nimasmi (gh pr
|
||||||
|
#43) and Céic Krier (lp: 1035038)
|
||||||
|
* Replaced parse() calls with explicit datetime objects in unit
|
||||||
|
tests unrelated to parser. (gh pr #36)
|
||||||
|
* Changed private _byxxx from sets to sorted tuples and fixed one
|
||||||
|
currently unreachable bug in _construct_byset. (gh pr #54)
|
||||||
|
* Additional documentation for parser (gh pr #29, #33, #41) and
|
||||||
|
rrule.
|
||||||
|
* Formatting fixes to documentation of rrule and README.rst.
|
||||||
|
* Updated zoneinfo to 2015a.
|
||||||
|
|
||||||
|
- changes from version 2.4.0:
|
||||||
|
* Fix an issue with relativedelta and freezegun (lp:1374022)
|
||||||
|
* Fix tzinfo in windows for timezones without dst (lp:1010050, gh
|
||||||
|
#2)
|
||||||
|
* Ignore missing timezones in windows like in POSIX
|
||||||
|
* Fix minimal version requirement for six (gh #6)
|
||||||
|
* Many rrule changes and fixes by @pganssle (gh pull requests #13
|
||||||
|
#14 #17), including defusing some infinite loops (gh #4)
|
||||||
|
|
||||||
|
- changes from version 2.3:
|
||||||
|
* Cleanup directory structure, moved test.py to
|
||||||
|
dateutil/tests/test.py
|
||||||
|
* Changed many aspects of dealing with the zone info file. Instead
|
||||||
|
of a cache, all the zones are loaded to memory, but symbolic links
|
||||||
|
are loaded only once, so not much memory is used.
|
||||||
|
* The package is now zip-safe, and universal-wheelable, thanks to
|
||||||
|
changes in the handling of the zoneinfo file.
|
||||||
|
* Fixed tzwin silently not imported on windows python2
|
||||||
|
* New maintainer, together with new hosting: GitHub, Travis,
|
||||||
|
Read-The-Docs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 27 19:01:48 UTC 2015 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 2.2:
|
||||||
|
* Updated zoneinfo to 2013h
|
||||||
|
* fuzzy_with_tokens parse addon from Christopher Corley
|
||||||
|
* Bug with LANG=C fixed by Mike Gilbert
|
||||||
|
- Aligned requirement version with PyPI
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 11:01:02 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Require python-setuptools instead of distribute (upstreams merged)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 6 10:11:52 UTC 2012 - cfarrell@suse.com
|
||||||
|
|
||||||
|
- license update: BSD-3-Clause
|
||||||
|
Look at the LICENSE file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 6 08:49:28 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Added python-six requires and buildrequires. dateutil will build
|
||||||
|
without out, but packaged down the dependency chain will fail
|
||||||
|
if it isn't installed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 3 05:11:38 UTC 2012 - os-dev@jacraig.com
|
||||||
|
|
||||||
|
- Update to version 2.1
|
||||||
|
* See NEWS for changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 27 14:07:19 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Fix building python 3 package on openSUSE 11.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 26 12:11:38 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Add python 3 package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 20 12:31:46 UTC 2010 - cstender@novell.com
|
||||||
|
|
||||||
|
- updated to version 1.5
|
||||||
|
* See NEWS for all changes and fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 13 10:55:11 UTC 2009 - cstender@novell.com
|
||||||
|
|
||||||
|
- build as noarch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 9 12:18:33 CEST 2008 - cstender@suse.de
|
||||||
|
|
||||||
|
- add python-setuptools to BuildRequire
|
||||||
|
- updated package to version 1.4.1
|
||||||
|
o See NEWS for all changes and fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 20 20:27:51 CEST 2006 - dgollub@suse.de
|
||||||
|
|
||||||
|
- initial version of python-dateutil (1.1)
|
||||||
|
|
92
python-python-dateutil.spec
Normal file
92
python-python-dateutil.spec
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-python-dateutil
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define modname dateutil
|
||||||
|
Name: python-python-%{modname}
|
||||||
|
Summary: A Python Datetime Library
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Version: 2.4.2
|
||||||
|
Release: 0
|
||||||
|
Source0: http://pypi.python.org/packages/source/p/python-%{modname}/python-%{modname}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Url: https://dateutil.readthedocs.org/en/latest/
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-setuptools >= 18.0.1
|
||||||
|
BuildRequires: python-six >= 1.9.0
|
||||||
|
Requires: python-six >= 1.9.0
|
||||||
|
%if 0%{?suse_version} <= 1110
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||||
|
%else
|
||||||
|
BuildArch: noarch
|
||||||
|
%py_requires
|
||||||
|
%endif
|
||||||
|
Provides: python-dateutil = %{version}
|
||||||
|
Obsoletes: python-dateutil < %{version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
The python dateutil module provides powerful extensions to the standard
|
||||||
|
datetime module.
|
||||||
|
|
||||||
|
* Computing of relative deltas (next month, next year, next monday,
|
||||||
|
last week of month, etc.)
|
||||||
|
|
||||||
|
* Computing of relative deltas between two given dates and/or
|
||||||
|
datetime objects
|
||||||
|
|
||||||
|
* Computing of dates based on very flexible recurrence rules, using
|
||||||
|
a superset of the iCalendar specification. Parsing of RFC strings
|
||||||
|
is supported as well.
|
||||||
|
|
||||||
|
* Generic parsing of dates in almost any string format.
|
||||||
|
|
||||||
|
* Timezone (tzinfo) implementations for tzfile(5) format files
|
||||||
|
(/etc/localtime, /usr/share/zoneinfo, etc.), TZ environment
|
||||||
|
string (in all known formats), iCalendar format files, given
|
||||||
|
ranges (with help from relative deltas), local machine timezone,
|
||||||
|
fixed offset timezone, UTC timezone, and Windows registry-based
|
||||||
|
time zones.
|
||||||
|
|
||||||
|
* Internal up-to-date world timezone information based on Olson's
|
||||||
|
database.
|
||||||
|
|
||||||
|
* Computing of Easter Sunday dates for any given year, using Western,
|
||||||
|
Orthodox or Julian algorithms.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n python-%{modname}-%{version}
|
||||||
|
#cleanup and MSdos style end of line separators
|
||||||
|
sed -i 's/\r$//' LICENSE NEWS PKG-INFO README.rst
|
||||||
|
|
||||||
|
%build
|
||||||
|
rm setup.cfg
|
||||||
|
CFLAGS="%{optflags}" python setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc LICENSE NEWS PKG-INFO README.rst
|
||||||
|
%{python_sitelib}/%{modname}/
|
||||||
|
%{python_sitelib}/python_%{modname}-%{version}-py%{py_ver}.egg-info/
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user