14
0
forked from pool/python-taskw

Accepting request 853784 from home:jayvdb:i3

- Update to v1.3.0

OBS-URL: https://build.opensuse.org/request/show/853784
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-taskw?expand=0&rev=3
This commit is contained in:
2020-12-08 19:54:11 +00:00
committed by Git OBS Bridge
parent 7c72250762
commit 6be092cc8f
4 changed files with 23 additions and 10 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Dec 8 11:22:08 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v1.3.0
* Pass taskrc via environment variable to subprocess.
* Adds testing for Python 3.7 and 3.8
* Fix error raised when taskwarrior is not installed.
* Fix bug on deletion of completed task; disable confirmation for
recurring tasks; fix bug in numeric deserialization.
* Fixes bug in which UUIDs were improperly parsed
when creating recurring tasks.
* Fix a bug in which configuration values having an equal
sign in their value would be improperly parsed.
* Switched from nose to pytest.
* Dropped automated testing for Python 3.4.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 19 13:19:31 UTC 2019 - John Vandenberg <jayvdb@gmail.com> Sat Oct 19 13:19:31 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-taskw # spec file for package python-taskw
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-taskw Name: python-taskw
Version: 1.2.0 Version: 1.3.0
Release: 0 Release: 0
Summary: Python bindings for taskwarrior Summary: Python bindings for taskwarrior
License: GPL-3.0-or-later License: GPL-3.0-or-later
@@ -36,7 +36,7 @@ Requires: taskwarrior
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module kitchen} BuildRequires: %{python_module kitchen}
BuildRequires: %{python_module nose >= 1.3.4} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz} BuildRequires: %{python_module pytz}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
@@ -49,9 +49,6 @@ Python bindings for your taskwarrior database.
%prep %prep
%setup -q -n taskw-%{version} %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 %build
%python_build %python_build
@@ -61,7 +58,7 @@ sed -i 's/in e:/in str(e):/' taskw/warrior.py
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py test %pytest
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fadd8afc12df026c3c2d39b633c55d3337f7dca95602fce2239455a048bc85fe
size 41059

3
taskw-1.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7673d80b3d5bace5b35eb71f5035e313a92daab6e437694128d8ce7dcdaf66fb
size 43078