14
0

7 Commits

Author SHA256 Message Date
4ace934264 Accepting request 1274663 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1274663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Delorean?expand=0&rev=13
2025-05-06 07:37:24 +00:00
0999a380f7 Accepting request 962494 from home:pgajdos:python
- do not require python-mock for build

OBS-URL: https://build.opensuse.org/request/show/962494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Delorean?expand=0&rev=11
2022-03-18 09:56:03 +00:00
Tomáš Chvátal
ffc5199692 - Format with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Delorean?expand=0&rev=9
2019-11-05 09:52:23 +00:00
993c02d942 Fix %pytest call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Delorean?expand=0&rev=8
2019-10-14 13:43:03 +00:00
Todd R
a5340aadde Accepting request 654126 from home:jengelh:branches:devel:languages:python
- Trim bias and hopes from description. Use noun phrase for summary.

OBS-URL: https://build.opensuse.org/request/show/654126
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Delorean?expand=0&rev=6
2018-12-05 19:23:53 +00:00
fae76876a9 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Delorean?expand=0&rev=5
2018-12-04 13:23:06 +00:00
Todd R
856580a250 Accepting request 609887 from devel:languages:python:misc
Manipulating datetimes with ease and clarityof older code and makes some small modifications to the `Delorean` API to make it more
    Pythonic. 1.0.0 includes support for humanizing a `Delorean` object, as well as outputing a localized string
    representing the `Delorean` object.
  + This change introduces the following breaking changes:
    * `Delorean.epoch` is a property, not a function.
    * `Delorean.midnight` is a property, not a function.
    * `Delorean.naive` is a property, not a function.
    * `Delorean.timezone` is a property, not a function.
  + delorean/dates.py
    * `is_datetime_naive()` no longer returns True when dt is None
    * `localize()` works with pytz tzinfo objects
    * `normalize()` works with pytz tzinfo objects
    * `Delorean.__init__()` accepts tzinfo objects as input to timezone
    * `Delorean.timezone()` is now a property
    * Added suport for humanizing a `Delorean` object
    * Added support for localizing a `Delorean` object for string output
  + delorean/interface.py
    * `parse()` understands `dateutil.tz.tzoffset`, `datetutil.tz.tzlocal` and `dateutil.tz.tzutc` and converts those tzinfo
      objects into pytz based tzinfo objects.  This allows `parse()` to return a `Delorean` object with a `pytz.FixedOffset`
      timezone attached to it instead of returning a `Delorean` object converted to UTC
- Implement single-spec version
- Complete spec file rewrite
- Require python-python-dateutil. package was renamed
- Don't run testsuite, there is none
- Add LICENSE.txt and README.rst
- Add runtime dependencies
- created package (version 0.2.0)

OBS-URL: https://build.opensuse.org/request/show/609887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Delorean?expand=0&rev=1
2018-05-16 17:36:59 +00:00