commit 5cf5073a41c004cfc47118e62acc10751b01d825705a18747fcda9c87da0c2ac Author: Tomáš Chvátal Date: Mon Oct 21 07:37:38 2019 +0000 Accepting request 741361 from home:jayvdb:py-taskwarrior Dependency of https://build.opensuse.org/package/show/home:jayvdb:i3/bumblebee-status , undeclared in current factory package OBS-URL: https://build.opensuse.org/request/show/741361 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-taskw?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-taskw.changes b/python-taskw.changes new file mode 100644 index 0000000..2f96665 --- /dev/null +++ b/python-taskw.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Sat Oct 19 13:19:31 UTC 2019 - John Vandenberg + +- Activate test suite +- Use single spec to add Python 3 support and tidy spec +- Update to v1.2.0 + +------------------------------------------------------------------- +Tue Jan 5 23:45:19 UTC 2016 - sleep_walker@opensuse.org + +- Initial spec for v1.1.0 diff --git a/python-taskw.spec b/python-taskw.spec new file mode 100644 index 0000000..7348b36 --- /dev/null +++ b/python-taskw.spec @@ -0,0 +1,71 @@ +# +# spec file for package python-taskw +# +# 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-taskw +Version: 1.2.0 +Release: 0 +Summary: Python bindings for taskwarrior +License: GPL-3.0-or-later +Group: Development/Languages/Python +URL: https://github.com/ralphbean/taskw +Source: https://files.pythonhosted.org/packages/source/t/taskw/taskw-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-kitchen +Requires: python-python-dateutil +Requires: python-pytz +Requires: python-six +Requires: taskwarrior +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module kitchen} +BuildRequires: %{python_module nose >= 1.3.4} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module six} +BuildRequires: taskwarrior +# /SECTION +%python_subpackages + +%description +Python bindings for your taskwarrior database. + +%prep +%setup -q -n taskw-%{version} +sed -i '/tox/d' test_requirements.txt +# https://github.com/ralphbean/taskw/pull/128 +sed -i 's/in e:/in str(e):/' taskw/warrior.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/* + +%changelog diff --git a/taskw-1.2.0.tar.gz b/taskw-1.2.0.tar.gz new file mode 100644 index 0000000..a6aae9d --- /dev/null +++ b/taskw-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fadd8afc12df026c3c2d39b633c55d3337f7dca95602fce2239455a048bc85fe +size 41059