HakS b4a75f3
%global tarName speaklater
HakS b4a75f3
HakS b4a75f3
Name:           python-%{tarName}
Luke Macken db19182
Version:        1.3
9dc0fbc
Release:        19%{?dist}
fd85997
Summary:        Implements a lazy string for python useful for use with gettext
HakS b4a75f3
License:        BSD
HakS b4a75f3
URL:            http://github.com/mitsuhiko/speaklater
HakS b4a75f3
Source0:        http://pypi.python.org/packages/source/s/%{tarName}/%{tarName}-%{version}.tar.gz
fd85997
# Submitted upstream at: https://github.com/mitsuhiko/speaklater/pull/8
fd85997
# Alternative approach at https://github.com/mitsuhiko/speaklater/pull/3
fd85997
Patch0:         0001-Enable-building-on-python3-along-with-changes-to-doc.patch
HakS b4a75f3
BuildArch:      noarch
fd85997
BuildRequires:  python3-devel
fd85997
BuildRequires:  python3-setuptools
HakS b4a75f3
9fa05fd
%global _description\
9fa05fd
A module that provides lazy strings for translations. Basically you get an\
9fa05fd
object that appears to be a string but changes the value every time the value\
HakS b4a75f3
is evaluated based on a callable you provide.
HakS b4a75f3
9fa05fd
%description %_description
9fa05fd
fd85997
%package -n python3-speaklater
fd85997
Summary: Implements a lazy string for python3 useful for gettext
6ce1afa
%{?python_provide:%python_provide python3-speaklater}
fd85997
fd85997
%description -n python3-speaklater
fd85997
A module that provides lazy strings for translations. Basically you get an
fd85997
object that appears to be a string but changes the value every time the value
fd85997
is evaluated based on a callable you provide.
fd85997
fd85997
This package provides the python3 version of the module.
fd85997
HakS b4a75f3
%prep
HakS b4a75f3
%setup -qn %{tarName}-%{version}
fd85997
%patch0 -p1
fd85997
HakS b4a75f3
%build
6ce1afa
%py3_build
HakS b4a75f3
HakS b4a75f3
%install
6ce1afa
%py3_install
fd85997
fd85997
%check
fd85997
pushd build/lib
fd85997
%{__python3} -m doctest speaklater.py
fd85997
popd
HakS b4a75f3
fd85997
%files -n python3-speaklater
d4d4b7a
%{python3_sitelib}/speaklater*
d4d4b7a
%{python3_sitelib}/__pycache__/*
fd85997
%license LICENSE
fd85997
%doc PKG-INFO README
HakS b4a75f3
HakS b4a75f3
%changelog
9dc0fbc
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-19
9dc0fbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9dc0fbc
6ce1afa
* Tue Sep 24 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3-18
6ce1afa
- Subpackage python2-speaklater has been removed
6ce1afa
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
6ce1afa
b17709c
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3-17
b17709c
- Rebuilt for Python 3.8
b17709c
3f83bed
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-16
3f83bed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3f83bed
75d0e2e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-15
75d0e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
75d0e2e
1302bfb
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-14
1302bfb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1302bfb
dc5b70e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3-13
dc5b70e
- Rebuilt for Python 3.7
dc5b70e
93c1d76
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3-12
93c1d76
- Update Python 2 dependency declarations to new packaging standards
93c1d76
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
93c1d76
7d56009
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-11
7d56009
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7d56009
9fa05fd
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3-10
9fa05fd
- Python 2 binary package renamed to python2-speaklater
9fa05fd
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
9fa05fd
d32c20c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-9
d32c20c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d32c20c
427312e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-8
427312e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
427312e
940445b
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.3-7
940445b
- Rebuild for Python 3.6
940445b
f08a3b3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-6
f08a3b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f08a3b3
fd85997
* Wed Jan  6 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3-5
fd85997
- Add python3 subpackage
fd85997
- Enable tests
fd85997
878faaf
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
878faaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
878faaf
13e6b8c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
13e6b8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
13e6b8c
92f7d80
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
92f7d80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
92f7d80
Luke Macken db19182
* Thu Apr 11 2013 Luke Macken <lmacken@redhat.com> - 1.3-1
Luke Macken db19182
- Update to 1.3
Luke Macken cbdadce
- Add the README and LICENSE
Luke Macken db19182
8b4872a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
8b4872a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8b4872a
06d5e3e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
06d5e3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
06d5e3e
8b94905
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
8b94905
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8b94905
HakS b4a75f3
* Sat Jan 01 2011 Juan Eduardo Barba Olivet <xhaksx@fedoraproject.org> - 1.2-4
HakS b4a75f3
- install commands modified
HakS b4a75f3
- files commands modified
HakS b4a75f3
HakS b4a75f3
* Wed Dec 29 2010 Juan Eduardo Barba Olivet <xhaksx@fedoraproject.org> - 1.2-3
HakS b4a75f3
- Modifed documentation (get text changed to get-text)
HakS b4a75f3
HakS b4a75f3
* Mon Nov 15 2010 Juan Eduardo Barba Olivet <xhaksx@fedoraproject.org> - 1.2-2
HakS b4a75f3
- Modifed documentation (gettext changed)
HakS b4a75f3
HakS b4a75f3
* Mon Nov 15 2010 Juan Eduardo Barba Olivet <xhaksx@fedoraproject.org> - 1.2-1
HakS b4a75f3
- This is the first release of speaklater
HakS b4a75f3
- Added documentation