Blame python-tasklib.spec

c2e481a
%global srcname tasklib
c2e481a
%global sum Python Task Warrior library
c2e481a
c2e481a
Name:           python-%{srcname}
def2cbe
Version:        1.2.1
443ac1a
Release:        4%{?dist}
c2e481a
Summary:        %{sum}
c2e481a
c2e481a
License:        MIT
c2e481a
URL:            https://pypi.python.org/pypi/%{srcname}
c2e481a
Source0:        https://files.pythonhosted.org/packages/source/t/%{srcname}/%{srcname}-%{version}.tar.gz
c2e481a
c2e481a
BuildArch:      noarch
1a9b1e3
BuildRequires:  python3-devel
c2e481a
# Tests
1a9b1e3
BuildRequires:  python3-tzlocal
1a9b1e3
BuildRequires:  python3-six
1a9b1e3
BuildRequires:  python3-pytz
c2e481a
BuildRequires:  task
c2e481a
c2e481a
c2e481a
%description
c2e481a
tasklib is a Python library for interacting with taskwarrior databases, using a
c2e481a
queryset API similar to that of Django’s ORM.
c2e481a
c2e481a
Supports Python 2.6, 2.7, 3.2, 3.3 and 3.4 with taskwarrior 2.1.x and above.
c2e481a
Older versions of taskwarrior are untested and may not work.
c2e481a
c2e481a
%package -n python3-%{srcname}
c2e481a
Summary:        %{sum}
c2e481a
Requires:       task
c2e481a
Requires:       python3-tzlocal  python3-six python3-pytz
c2e481a
%{?python_provide:%python_provide python3-%{srcname}}
c2e481a
c2e481a
%description -n python3-%{srcname}
c2e481a
tasklib is a Python library for interacting with taskwarrior databases, using a
c2e481a
queryset API similar to that of Django’s ORM.
c2e481a
c2e481a
Supports Python 2.6, 2.7, 3.2, 3.3 and 3.4 with taskwarrior 2.1.x and above.
c2e481a
Older versions of taskwarrior are untested and may not work.
c2e481a
c2e481a
c2e481a
%prep
c2e481a
%autosetup -n %{srcname}-%{version}
c2e481a
rm *egg-info -rf
c2e481a
c2e481a
%build
c2e481a
%py3_build
c2e481a
c2e481a
%install
c2e481a
%py3_install
c2e481a
c2e481a
# %{__python3} setup.py test
c2e481a
c2e481a
%files -n python3-%{srcname}
c2e481a
%license LICENSE
c2e481a
%doc README.rst
c2e481a
%{python3_sitelib}/*
c2e481a
c2e481a
%changelog
443ac1a
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
443ac1a
- Rebuilt for Python 3.8.0rc1 (#1748018)
443ac1a
8ab0e52
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-3
8ab0e52
- Rebuilt for Python 3.8
8ab0e52
88c4a51
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
88c4a51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
88c4a51
def2cbe
* Mon May 27 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.2.1-1
def2cbe
- Update to 1.2.1
def2cbe
bfa2810
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
bfa2810
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
bfa2810
1a9b1e3
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.0-6
1a9b1e3
- Python2 binary package has been removed
1a9b1e3
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
1a9b1e3
0c824d7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
0c824d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0c824d7
dac1ac3
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-4
dac1ac3
- Rebuilt for Python 3.7
dac1ac3
3e47e7a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
3e47e7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3e47e7a
c2e481a
* Sun Dec 24 2017 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.1.0-2
c2e481a
- Update requires
c2e481a
c2e481a
* Sun Dec 24 2017 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.1.0-1
c2e481a
- Initial build
c2e481a