]> git.pld-linux.org Git - packages/python-babel.git/commitdiff
- updated to 2.3.4 auto/th/python-babel-2.3.4-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 12 May 2016 18:41:18 +0000 (20:41 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 12 May 2016 18:41:18 +0000 (20:41 +0200)
python-babel.spec

index 60f5fa44fbb1ba74450d4f7a6f60e9e765f113a5..e3ea0854273b910f9822453f8df0fc0369d0a592 100644 (file)
@@ -3,8 +3,8 @@
 #      - tests fail on 'local' timezone
 #
 # Conditional build:
-%bcond_without doc     # don't build doc
-%bcond_with    tests   # do not perform "make test"
+%bcond_without doc     # Sphinx documentation
+%bcond_with    tests   # test target
 %bcond_without python2 # CPython 2.x module
 %bcond_without python3 # CPython 3.x module
 
 Summary:       Babel - internationalization library for Python 2
 Summary(pl.UTF-8):     Babel - biblioteka umiÄ™dzynaradawiajÄ…ca dla Pythona 2
 Name:          python-%{module}
-Version:       2.1.1
+Version:       2.3.4
 Release:       1
 License:       BSD-like
 Group:         Development/Languages/Python
-#Source0Download: https://pypi.python.org/pypi/Babel
-Source0:       https://pypi.python.org/packages/source/B/Babel/Babel-%{version}.tar.gz
-# Source0-md5: cab63d158ceed3a809703711cfb8cbd5
+#Source0Download: https://pypi.python.org/simple/Babel
+Source0:       https://pypi.python.org/packages/6e/96/ba2a2462ed25ca0e651fb7b66e7080f5315f91425a07ea5b34d7c870c114/Babel-%{version}.tar.gz
+# Source0-md5: afa20bc55b0e991833030129ad498f35
 Patch0:                tz.patch
 URL:           http://babel.pocoo.org/
 %if %{with python2}
@@ -115,11 +115,11 @@ rm -rf $RPM_BUILD_ROOT
 %py_postclean
 %endif
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir}/babel/localedata -name '*.dat' | \
+find $RPM_BUILD_ROOT%{py_sitescriptdir}/babel/locale-data -name '*.dat' | \
        sed -e "s#^$RPM_BUILD_ROOT##" | \
        sed -ne 's,.*/\([a-z][a-z][a-z]\?\)\(_[0-9][0-9][0-9]\|_[A-Z][a-z][a-z][a-z]\)\?\(_[A-Z][A-Z]\)\?\(_POSIX\)\?\.dat$,%lang(\1\3) &,p' > py2.lang
 
-find $RPM_BUILD_ROOT%{py3_sitescriptdir}/babel/localedata -name '*.dat' | \
+find $RPM_BUILD_ROOT%{py3_sitescriptdir}/babel/locale-data -name '*.dat' | \
        sed -e "s#^$RPM_BUILD_ROOT##" | \
        sed -ne 's,.*/\([a-z][a-z][a-z]\?\)\(_[0-9][0-9][0-9]\|_[A-Z][a-z][a-z][a-z]\)\?\(_[A-Z][A-Z]\)\?\(_POSIX\)\?\.dat,%lang(\1\3) &,p' > py3.lang
 
@@ -129,15 +129,16 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files -f py2.lang
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES LICENSE README
+%doc AUTHORS CHANGES LICENSE
 %attr(755,root,root) %{_bindir}/pybabel
 %dir %{py_sitescriptdir}/babel
 %{py_sitescriptdir}/babel/global.dat
 %{py_sitescriptdir}/babel/*.py[co]
 %dir %{py_sitescriptdir}/babel/localtime
 %{py_sitescriptdir}/babel/localtime/*.py[co]
-%dir %{py_sitescriptdir}/babel/localedata
-%{py_sitescriptdir}/babel/localedata/root.dat
+%dir %{py_sitescriptdir}/babel/locale-data
+%{py_sitescriptdir}/babel/locale-data/root.dat
+%lang(ca_ES@valencia) %{py_sitescriptdir}/babel/locale-data/ca_ES_VALENCIA.dat
 %dir %{py_sitescriptdir}/babel/messages
 %{py_sitescriptdir}/babel/messages/*.py[co]
 %{py_sitescriptdir}/Babel-%{version}-py*.egg-info
@@ -146,15 +147,16 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %files -n python3-%{module} -f py3.lang
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES LICENSE README
+%doc AUTHORS CHANGES LICENSE
 %attr(755,root,root) %{_bindir}/pybabel3
 %dir %{py3_sitescriptdir}/babel
 %{py3_sitescriptdir}/babel/__pycache__
 %{py3_sitescriptdir}/babel/global.dat
 %{py3_sitescriptdir}/babel/*.py
 %{py3_sitescriptdir}/babel/localtime
-%dir %{py3_sitescriptdir}/babel/localedata
-%{py3_sitescriptdir}/babel/localedata/root.dat
+%dir %{py3_sitescriptdir}/babel/locale-data
+%{py3_sitescriptdir}/babel/locale-data/root.dat
+%lang(ca_ES@valencia) %{py3_sitescriptdir}/babel/locale-data/ca_ES_VALENCIA.dat
 %{py3_sitescriptdir}/babel/messages
 %{py3_sitescriptdir}/Babel-%{version}-py*.egg-info
 %endif
This page took 0.124657 seconds and 4 git commands to generate.