commit 3faa55f1c7e73c741274f0b6a8bf944c4ae3b5b08a72f442fb09768250eb67b9 Author: Tomáš Chvátal Date: Fri Nov 29 10:18:39 2019 +0000 Accepting request 750342 from Application:ERP:Tryton:5.0 new submission OBS-URL: https://build.opensuse.org/request/show/750342 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?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/pendulum-2.0.5.tar.gz b/pendulum-2.0.5.tar.gz new file mode 100644 index 0000000..285c078 --- /dev/null +++ b/pendulum-2.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3078e007315a959989c41cee5cfd63cfeeca21dd3d8295f4bc24199489e9b6c +size 77775 diff --git a/python-pendulum.changes b/python-pendulum.changes new file mode 100644 index 0000000..facbc2a --- /dev/null +++ b/python-pendulum.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Mon Aug 26 18:55:13 UTC 2019 - Axel Braun + +- version 2.0.5 + clean-up of spec file + license from PGK-INFO added + +------------------------------------------------------------------- +Wed Apr 3 10:38:09 AM UTC 2019 - John Vandenberg + +- Initial spec for v2.0.4 diff --git a/python-pendulum.spec b/python-pendulum.spec new file mode 100644 index 0000000..1a3fa28 --- /dev/null +++ b/python-pendulum.spec @@ -0,0 +1,57 @@ +# +# spec file for package python-pendulum +# +# Copyright (c) 2019 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} + +%define modname pendulum +Name: python-%{modname} +Version: 2.0.5 +Release: 0 +Summary: Python datetimes made easy +License: MIT +Group: Development/Languages/Python +URL: https://pendulum.eustace.io +Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-pytz >= 2018.3 +Requires: python-python-dateutil >= 2.6 +Requires: python-typing +%python_subpackages + +%description +Python datetimes made easy + +%prep +%setup -q -n %{modname}-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitearch}/* + +%changelog