commit 5b388d2255ad5aace28c7cc2a7d389e6e574eadc7ede0129c1c7b8d7ff75dbda Author: Tomáš Chvátal Date: Mon Dec 2 07:52:12 2019 +0000 Accepting request 750897 from home:lachs0r Add python-tasklib (dependency of vit 2.x) OBS-URL: https://build.opensuse.org/request/show/750897 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tasklib?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-tasklib.changes b/python-tasklib.changes new file mode 100644 index 0000000..7cb0ac3 --- /dev/null +++ b/python-tasklib.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Nov 26 04:07:01 UTC 2019 - Martin Herkt <9+suse@cirno.systems> + +- init, 1.3.0 diff --git a/python-tasklib.spec b/python-tasklib.spec new file mode 100644 index 0000000..033b1e2 --- /dev/null +++ b/python-tasklib.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-tasklib +# +# Copyright (c) 2019 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-%{**}} +Name: python-tasklib +Version: 1.3.0 +Release: 0 +Summary: Python Task Warrior library +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/robgolding63/tasklib +Source: https://files.pythonhosted.org/packages/source/t/tasklib/tasklib-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: taskwarrior >= 2.1.0 +BuildArch: noarch +%python_subpackages + +%description +Tasklib is a Python library for interacting with taskwarrior +databases, using a queryset API similar to that of Django's ORM. + +%prep +%setup -q -n tasklib-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license LICENSE +%doc README.rst +%{python_sitelib}/* + +%changelog diff --git a/tasklib-1.3.0.tar.gz b/tasklib-1.3.0.tar.gz new file mode 100644 index 0000000..8cf510b --- /dev/null +++ b/tasklib-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b478c53d5b531e072d1374bb4763249d137a094d93621e6ebe2f3f10c52d9a7 +size 23039