commit c0f55edf01f3b0107575a07e85051e10a93c9851cb51122294f09cebadc8980f Author: Markéta Machová Date: Fri Sep 4 10:02:39 2020 +0000 Accepting request 831972 from home:jayvdb:py-submit dep of django-rest-framework-braces OBS-URL: https://build.opensuse.org/request/show/831972 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateutils?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/dateutils-0.6.10.tar.gz b/dateutils-0.6.10.tar.gz new file mode 100644 index 0000000..7074c03 --- /dev/null +++ b/dateutils-0.6.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:860b3e40261085f56928f1454ee4d221856b56aa421c69a7df12067596ec0b26 +size 4920 diff --git a/python-dateutils.changes b/python-dateutils.changes new file mode 100644 index 0000000..73f7582 --- /dev/null +++ b/python-dateutils.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Mon Aug 31 10:16:01 UTC 2020 - John Vandenberg + +- Update to v0.6.10 + +------------------------------------------------------------------- +Fri Aug 21 11:33:25 UTC 2020 - John Vandenberg + +- Update to v0.6.8 + +------------------------------------------------------------------- +Thu Apr 11 15:07:57 UTC 2019 - John Vandenberg + +- Initial spec for v0.6.6 diff --git a/python-dateutils.spec b/python-dateutils.spec new file mode 100644 index 0000000..4046d46 --- /dev/null +++ b/python-dateutils.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-dateutils +# +# Copyright (c) 2020 SUSE LLC +# +# 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 skip_python2 1 +Name: python-dateutils +Version: 0.6.10 +Release: 0 +License: 0BSD +Summary: Python library for working with date and datetime objects +Url: https://github.com/jmcantrell/python-dateutils +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/d/dateutils/dateutils-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +# SECTION test requirements +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module pytz} +# /SECTION +BuildRequires: fdupes +Requires: python-python-dateutil +Requires: python-pytz +BuildArch: noarch + +%python_subpackages + +%description +Python library for working with date and datetime objects. + +%prep +%setup -q -n dateutils-%{version} +sed -i '/argparse/d' setup.py + +%build +%python_build + +%install +%python_install +# Avoid conflicts with dateutils; these scripts lack many features of the other package +rm %{buildroot}%{_bindir}/dateadd %{buildroot}%{_bindir}/datediff +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.mkd +%license LICENSE +%{python_sitelib}/* + +%changelog