[packages/python-babel] - updated to 2.6.0
qboosh
qboosh at pld-linux.org
Wed Jul 18 16:56:13 CEST 2018
commit 1b33e715306e81c336848675a70aa0e49252ebf5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 18 16:58:06 2018 +0200
- updated to 2.6.0
python-babel.spec | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/python-babel.spec b/python-babel.spec
index a7d9465..bd59d03 100644
--- a/python-babel.spec
+++ b/python-babel.spec
@@ -10,40 +10,42 @@
Summary: Babel - internationalization library for Python 2
Summary(pl.UTF-8): Babel - biblioteka umiędzynaradawiająca dla Pythona 2
Name: python-%{module}
-Version: 2.5.3
-Release: 2
+Version: 2.6.0
+Release: 1
License: BSD-like
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/Babel/
Source0: https://files.pythonhosted.org/packages/source/B/Babel/%{pypi_name}-%{version}.tar.gz
-# Source0-md5: 152a6b17fe4110b95675aceb9af9fab2
+# Source0-md5: c384ac03026e8fe6f9b90f55201f1bff
URL: http://babel.pocoo.org/
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with python2}
-BuildRequires: python-devel >= 1:2.6
-BuildRequires: python-devel-tools >= 1:2.6
-BuildRequires: python-modules >= 1:2.6
+BuildRequires: python-devel >= 1:2.7
+BuildRequires: python-devel-tools >= 1:2.7
+BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
BuildRequires: python-pytz >= 0a
%if %{with tests}
BuildRequires: python-freezegun
BuildRequires: python-pytest
+BuildRequires: python-pytest-cov
%endif
%endif
%if %{with python3}
-BuildRequires: python3-devel >= 1:3.3
-BuildRequires: python3-devel-tools >= 1:3.3
-BuildRequires: python3-modules >= 1:3.3
+BuildRequires: python3-devel >= 1:3.4
+BuildRequires: python3-devel-tools >= 1:3.4
+BuildRequires: python3-modules >= 1:3.4
BuildRequires: python3-setuptools
BuildRequires: python3-pytz >= 0a
%if %{with tests}
BuildRequires: python3-freezegun
BuildRequires: python3-pytest
+BuildRequires: python3-pytest-cov
%endif
%endif
%{?with_doc:BuildRequires: sphinx-pdg}
-Requires: python-modules >= 1:2.6
+Requires: python-modules >= 1:2.7
Requires: python-pytz >= 0a
Obsoletes: python-Babel
BuildArch: noarch
@@ -63,7 +65,7 @@ Pythonie (w szczególności aplikacji WWW).
Summary: Babel - internationalization library for Python 3
Summary(pl.UTF-8): Babel - biblioteka umiędzynaradawiająca dla Pythona 3
Group: Libraries/Python
-Requires: python3-modules >= 1:3.3
+Requires: python3-modules >= 1:3.4
Requires: python3-pytz >= 0a
%description -n python3-%{module}
@@ -109,7 +111,6 @@ py.test-3 tests
%if %{with doc}
%{__make} -C docs -j1 html
-%{__rm} -r docs/_build/html/_sources
%endif
%install
@@ -176,5 +177,5 @@ rm -rf $RPM_BUILD_ROOT
%if %{with doc}
%files apidocs
%defattr(644,root,root,755)
-%doc docs/_build/html/*
+%doc docs/_build/html/{_static,api,*.html,*.js}
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-babel.git/commitdiff/1b33e715306e81c336848675a70aa0e49252ebf5
More information about the pld-cvs-commit
mailing list