commit 39e0295c274b6ba39ca058ae3e4315d2528e0e8d4ecdc44b63a68ae691e7ccc4 Author: Tomáš Chvátal Date: Fri Sep 13 12:15:35 2019 +0000 osc copypac from project:home:jayvdb:py-new package:python-dateparser revision:2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?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/dateparser-0.7.1.tar.gz b/dateparser-0.7.1.tar.gz new file mode 100644 index 0000000..e7f059c --- /dev/null +++ b/dateparser-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42d51be54e74a8e80a4d76d1fa6e4edd997098fce24ad2d94a2eab5ef247193e +size 309095 diff --git a/python-dateparser.changes b/python-dateparser.changes new file mode 100644 index 0000000..0153f4f --- /dev/null +++ b/python-dateparser.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Apr 3 10:33:33 AM UTC 2019 - John Vandenberg + +- Initial spec for v0.7.1 diff --git a/python-dateparser.spec b/python-dateparser.spec new file mode 100644 index 0000000..5a4fb6e --- /dev/null +++ b/python-dateparser.spec @@ -0,0 +1,74 @@ +# +# spec file for package python-dateparser +# +# 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-%{**}} +Name: python-dateparser +Version: 0.7.1 +Release: 0 +Summary: Date parsing library designed to parse dates from HTML pages +License: BSD (FIXME:No SPDX) +Group: Development/Languages/Python +URL: https://github.com/scrapinghub/dateparser +Source: https://files.pythonhosted.org/packages/source/d/dateparser/dateparser-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-python-dateutil +Requires: python-pytz +Requires: python-regex +Requires: python-tzlocal +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module coverage} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module parameterized} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module regex} +BuildRequires: %{python_module six} +BuildRequires: %{python_module tzlocal} +BuildRequires: %{python_module ruamel.yaml} +BuildRequires: %{python_module jdatetime} +BuildRequires: %{python_module umalqurra} +BuildRequires: %{python_module convertdate} +# /SECTION +%python_subpackages + +%description +Date parsing library designed to parse dates from HTML pages + +%prep +%setup -q -n dateparser-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc AUTHORS.rst README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog