|
 |
dd66a35 |
%global srcname Pyphen
|
|
 |
dd66a35 |
%global modname pyphen
|
|
 |
dd66a35 |
|
|
 |
3f58ab2 |
Name: python-pyphen
|
|
 |
dd66a35 |
Version: 0.9.5
|
|
 |
dd66a35 |
Release: 1%{?dist}
|
|
 |
3f58ab2 |
Summary: Pure Python module to hyphenate text
|
|
 |
4cba832 |
License: GPLv2+ or LGPLv2+ or MPLv1.1
|
|
 |
dd66a35 |
URL: https://github.com/Kozea/Pyphen
|
|
 |
dd66a35 |
Source0: https://github.com/Kozea/%{srcname}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
|
 |
ddc75c0 |
# tests not packaged in release tarballs
|
|
 |
ddc75c0 |
# https://github.com/Kozea/Pyphen/issues/23
|
|
 |
ddc75c0 |
Source1: https://raw.githubusercontent.com/Kozea/Pyphen/ad959cd78e212b6c0f851f202993d79b86a98a55/test.py
|
|
 |
dd66a35 |
|
|
 |
3f58ab2 |
BuildArch: noarch
|
|
 |
3f58ab2 |
|
|
 |
8e1fd21 |
BuildRequires: python3-devel
|
|
 |
8e1fd21 |
BuildRequires: python3-setuptools
|
|
 |
ddc75c0 |
BuildRequires: python3-nose
|
|
 |
3f58ab2 |
|
|
 |
3f58ab2 |
|
|
 |
dd66a35 |
%description
|
|
 |
dd66a35 |
Pyphen is a pure Python module to hyphenate text using existing
|
|
 |
3f58ab2 |
hyphenation dictionaries, e.g., from Libreoffice language packs.
|
|
 |
3f58ab2 |
|
|
 |
2a5006b |
|
|
 |
3f58ab2 |
%package -n python3-pyphen
|
|
 |
3f58ab2 |
Summary: Pure Python module to hyphenate text
|
|
 |
3f58ab2 |
|
|
 |
3f58ab2 |
%description -n python3-pyphen
|
|
 |
3f58ab2 |
Pyphen is a pure Python module to hyphenate text using existing
|
|
 |
3f58ab2 |
hyphenation dictionaries, e.g., from Libreoffice language packs.
|
|
 |
3f58ab2 |
|
|
 |
3f58ab2 |
%prep
|
|
 |
dd66a35 |
%autosetup -n %{srcname}-%{version} -p1
|
|
 |
ddc75c0 |
cp -a %{SOURCE1} test.py
|
|
 |
3f58ab2 |
|
|
 |
3f58ab2 |
%build
|
|
 |
8e1fd21 |
%py3_build
|
|
 |
3f58ab2 |
|
|
 |
3f58ab2 |
%install
|
|
 |
91ab0fa |
rm -rf dictionaries
|
|
 |
8e1fd21 |
%py3_install
|
|
 |
3f58ab2 |
|
|
 |
ddc75c0 |
%check
|
|
 |
ddc75c0 |
nosetests test.py
|
|
 |
ddc75c0 |
|
|
 |
ddc75c0 |
|
|
 |
3f58ab2 |
%files -n python3-pyphen
|
|
 |
4cba832 |
%license COPYING COPYING.GPL COPYING.LGPL COPYING.MPL
|
|
 |
4cba832 |
%doc README
|
|
 |
dd66a35 |
%{python3_sitelib}/%{modname}/
|
|
 |
dd66a35 |
%{python3_sitelib}/%{srcname}-%{version}*.egg-info/
|
|
 |
dd66a35 |
|
|
 |
3f58ab2 |
|
|
 |
3f58ab2 |
%changelog
|
|
 |
dd66a35 |
* Fri Nov 08 2019 Felix Schwarz <fschwarz@fedoraproject.org> - 0.9.5-1
|
|
 |
dd66a35 |
- update to new upstream version
|
|
 |
ddc75c0 |
- use dictionaries shipped by upstream instead of system-provided dicts
|
|
 |
dd66a35 |
|
|
 |
f637a5e |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-19
|
|
 |
f637a5e |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
f637a5e |
|
|
 |
f106da3 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-18
|
|
 |
f106da3 |
- Rebuilt for Python 3.8
|
|
 |
f106da3 |
|
|
 |
49e224f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-17
|
|
 |
49e224f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
49e224f |
|
|
 |
70fda6e |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-16
|
|
 |
70fda6e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
70fda6e |
|
|
 |
8e1fd21 |
* Thu Dec 27 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-15
|
|
 |
8e1fd21 |
- Subpackage python2-pyphen has been removed
|
|
 |
8e1fd21 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
 |
8e1fd21 |
|
|
 |
5785961 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-14
|
|
 |
5785961 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
5785961 |
|
|
 |
556bb57 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-13
|
|
 |
556bb57 |
- Rebuilt for Python 3.7
|
|
 |
556bb57 |
|
|
 |
457a133 |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.1-12
|
|
 |
457a133 |
- Update Python 2 dependency declarations to new packaging standards
|
|
 |
457a133 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
 |
457a133 |
|
|
 |
0399c79 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-11
|
|
 |
0399c79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
0399c79 |
|
|
 |
2a5006b |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9.1-10
|
|
 |
2a5006b |
- Python 2 binary package renamed to python2-pyphen
|
|
 |
2a5006b |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
 |
2a5006b |
|
|
 |
2cbcce3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-9
|
|
 |
2cbcce3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
2cbcce3 |
|
|
 |
5fdfbf2 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
|
|
 |
5fdfbf2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
5fdfbf2 |
|
|
 |
f0b64e7 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-7
|
|
 |
f0b64e7 |
- Rebuild for Python 3.6
|
|
 |
f0b64e7 |
|
|
 |
2eb4725 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-6
|
|
 |
2eb4725 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
 |
2eb4725 |
|
|
 |
fb0c829 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-5
|
|
 |
fb0c829 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
 |
fb0c829 |
|
|
 |
3be1681 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-4
|
|
 |
3be1681 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
 |
3be1681 |
|
|
 |
b9785fc |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
|
|
 |
b9785fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
 |
b9785fc |
|
|
 |
c141b25 |
* Tue Aug 26 2014 Eric Smith <brouhaha@fedoraproject.org> 0.9.1-2
|
|
 |
c141b25 |
- No Python 3 in EL7.
|
|
 |
c141b25 |
|
|
 |
91ab0fa |
* Thu Aug 07 2014 Alon Levy <alon@pobox.com> - 0.9.1-1
|
|
 |
91ab0fa |
- Update to latest release, fixes bz 1127837 (for weasyprint 1127836)
|
|
 |
91ab0fa |
|
|
 |
c4a9a2b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-5
|
|
 |
c4a9a2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
 |
c4a9a2b |
|
|
 |
29bfce8 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.7-4
|
|
 |
29bfce8 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
 |
29bfce8 |
|
|
 |
3f58ab2 |
* Tue Jul 23 2013 Eric Smith <brouhaha@fedoraproject.org> 0.7-3
|
|
 |
3f58ab2 |
- Added Python 3 support.
|
|
 |
3f58ab2 |
|
|
 |
3f58ab2 |
* Mon Jul 22 2013 Eric Smith <brouhaha@fedoraproject.org> 0.7-2
|
|
 |
3f58ab2 |
- Removed requirement for hyphen-en.
|
|
 |
3f58ab2 |
- Changed files section based on review request.
|
|
 |
3f58ab2 |
|
|
 |
3f58ab2 |
* Sun Jul 21 2013 Eric Smith <brouhaha@fedoraproject.org> 0.7-1
|
|
 |
3f58ab2 |
- initial version
|