forked from pool/python-tempora
Accepting request 486194 from devel:languages:python:singlespec
- update for singlespec - update to 1.6.1 * adopt irc.schedule as tempora.schedule * adopt jaraco.timing as tempora.timing OBS-URL: https://build.opensuse.org/request/show/486194 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tempora?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
4d8ce4684a
commit
9695c5a932
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 31 13:43:53 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- update for singlespec
|
||||
- update to 1.6.1
|
||||
* adopt irc.schedule as tempora.schedule
|
||||
* adopt jaraco.timing as tempora.timing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 13:24:18 UTC 2016 - sor.alexei@meowr.ru
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tempora
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -16,41 +16,55 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-tempora
|
||||
Version: 1.4
|
||||
Version: 1.6.1
|
||||
Release: 0
|
||||
Summary: Objects and routines pertaining to date and time (tempora)
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/jaraco/tempora
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pytest-runner
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-setuptools_scm
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-backports.unittest_mock
|
||||
Requires: python-pytz
|
||||
Requires: python-six
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Objects and routines pertaining to date and time (tempora)
|
||||
|
||||
Modules include:
|
||||
* tempora (top level package module) contains miscellaneous utilities and constants.
|
||||
* timing contains routines for measuring and profiling.
|
||||
* schedule contains an event scheduler.
|
||||
|
||||
%prep
|
||||
%setup -q -n tempora-%{version}
|
||||
|
||||
%build
|
||||
python2 setup.py build
|
||||
dos2unix README.rst
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python2 setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot}
|
||||
%python_install
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%files
|
||||
%check
|
||||
%python_exec -m pytest tests
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.rst README.rst docs/*rst
|
||||
%{_bindir}/calc-prorate
|
||||
%python3_only %{_bindir}/calc-prorate
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea5b4f8774408f2c7fe018fd04dae61d4910f032c8124b0b851f962884b65b7b
|
||||
size 7173
|
3
tempora-1.6.1.tar.gz
Normal file
3
tempora-1.6.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c15b3ec37933192470e7e7f0dcd5fbb372a85f13c86ddb4c306f280a7fc1453
|
||||
size 11423
|
Reference in New Issue
Block a user