commit 4d8ce4684ad7267a06dcba2b2ab0a58d414a11663c9b68ed6ccbe9fc1974cd91 Author: Dirk Mueller Date: Sun Aug 7 12:16:58 2016 +0000 Accepting request 416584 from home:XRevan86 OBS-URL: https://build.opensuse.org/request/show/416584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tempora?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-tempora.changes b/python-tempora.changes new file mode 100644 index 0000000..7621fd4 --- /dev/null +++ b/python-tempora.changes @@ -0,0 +1,55 @@ +------------------------------------------------------------------- +Tue Aug 2 13:24:18 UTC 2016 - sor.alexei@meowr.ru + +- Switch to Python2. + +------------------------------------------------------------------- +Thu Jun 9 17:28:20 UTC 2016 - toddrme2178@gmail.com + +- Remove unneeded python3-Sphinx dependency. + +------------------------------------------------------------------- +Sun May 8 07:09:08 UTC 2016 - arun@gmx.de + +- specfile: + * updated source url to files.pythonhosted.org + +------------------------------------------------------------------- +Tue Dec 29 19:40:21 UTC 2015 - arun@gmx.de + +- specfile: + * updated url (moved to github) + * *.txt -> *.rst in %doc + * changed from zip to tar-ball + +- update to version 1.4: + * moved to Github. + * Improved test support on Python 2. + +------------------------------------------------------------------- +Sat Apr 25 17:58:49 UTC 2015 - arun@gmx.de + +- specfile: + * added python3-setuptools_scm + * removed python3-hgtools + +- update to version 1.3: + * Added divide_timedelta from "svg.charts". + * Added date_range from "svg.charts". + +------------------------------------------------------------------- +Sun Feb 22 20:47:30 UTC 2015 - arun@gmx.de + +- update to version 1.2: + * Only require sphinx and pytest-runner when necessary. + +------------------------------------------------------------------- +Mon Feb 16 02:13:54 UTC 2015 - arun@gmx.de + +- update to version 1.1: + * Add license info (retroactively applied to all commits). + +------------------------------------------------------------------- +Sat Feb 14 21:31:45 UTC 2015 - arun@gmx.de + +- initial version diff --git a/python-tempora.spec b/python-tempora.spec new file mode 100644 index 0000000..5e91121 --- /dev/null +++ b/python-tempora.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-tempora +# +# Copyright (c) 2016 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/ +# + + +Name: python-tempora +Version: 1.4 +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: fdupes +BuildRequires: python-devel +BuildRequires: python-pytest-runner +BuildRequires: python-setuptools +BuildRequires: python-setuptools_scm +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +Objects and routines pertaining to date and time (tempora) + +%prep +%setup -q -n tempora-%{version} + +%build +python2 setup.py build +dos2unix README.rst + +%install +python2 setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot} +%fdupes %{buildroot} + +%files +%defattr(-,root,root,-) +%doc CHANGES.rst README.rst docs/*rst +%{_bindir}/calc-prorate +%{python_sitelib}/* + +%changelog diff --git a/tempora-1.4.tar.gz b/tempora-1.4.tar.gz new file mode 100644 index 0000000..e574870 --- /dev/null +++ b/tempora-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea5b4f8774408f2c7fe018fd04dae61d4910f032c8124b0b851f962884b65b7b +size 7173