diff --git a/Resolve-Sphinx-configuration-issues-and-fix-test-cases.patch b/Resolve-Sphinx-configuration-issues-and-fix-test-cases.patch new file mode 100644 index 0000000000000000000000000000000000000000..ed96d7f7ef752ee69ef51cbe51b2701926f0bdc4 --- /dev/null +++ b/Resolve-Sphinx-configuration-issues-and-fix-test-cases.patch @@ -0,0 +1,24 @@ +diff -apurN babel-2.16.0/docs/conf.py babel-2.16.0-new/docs/conf.py +--- babel-2.16.0/docs/conf.py 2024-08-08 20:45:14.000000000 +0800 ++++ babel-2.16.0-new/docs/conf.py 2024-11-27 10:54:13.015022072 +0800 +@@ -252,7 +252,7 @@ texinfo_documents = [ + #texinfo_show_urls = 'footnote' + + intersphinx_mapping = { +- 'https://docs.python.org/3/': None, ++ 'python': ('https://docs.python.org/3/', None), + } + + extlinks = { +diff -apurN babel-2.16.0/tests/messages/test_plurals.py babel-2.16.0-new/tests/messages/test_plurals.py +--- babel-2.16.0/tests/messages/test_plurals.py 2024-08-08 20:45:14.000000000 +0800 ++++ babel-2.16.0-new/tests/messages/test_plurals.py 2024-11-27 10:54:13.006022072 +0800 +@@ -16,7 +16,7 @@ from babel.messages import plurals + + + @pytest.mark.parametrize(('locale', 'num_plurals', 'plural_expr'), [ +- (Locale('en'), 2, '(n != 1)'), ++ (Locale('en', 'GB'), 2, '(n != 1)'), + (Locale('en', 'US'), 2, '(n != 1)'), + (Locale('zh'), 1, '0'), + (Locale('zh', script='Hans'), 1, '0'), diff --git a/babel-2.15.0.tar.gz b/babel-2.15.0.tar.gz deleted file mode 100644 index c9801909a43fe2aca341e3abe6a8132dfdda7431..0000000000000000000000000000000000000000 Binary files a/babel-2.15.0.tar.gz and /dev/null differ diff --git a/babel-2.16.0.tar.gz b/babel-2.16.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b8a3a36b91f1aef1b8372183d63b0926503cfce8 Binary files /dev/null and b/babel-2.16.0.tar.gz differ diff --git a/babel.spec b/babel.spec index 161c464c0e4a78890b0ca6ed6f2766cd67d0069e..24087d64ca18277f05db7b2a532d7f3cb86ad52e 100644 --- a/babel.spec +++ b/babel.spec @@ -1,13 +1,15 @@ %bcond_with bootstrap Name: babel -Version: 2.15.0 +Version: 2.16.0 Release: 1 Summary: Tools for internationalizing and localizing Python applications License: BSD URL: http://babel.pocoo.org/ Source0: https://github.com/python-babel/babel/releases/download/v%{version}/babel-%{version}.tar.gz +Patch0: Resolve-Sphinx-configuration-issues-and-fix-test-cases.patch + BuildArch: noarch BuildRequires: gcc make @@ -94,6 +96,14 @@ export TZ=UTC %endif %changelog +* Tue Nov 26 2024 wuzhaomin - 2.16.0-1 +- update to 2.16.0 +- Fix ignore-dirs issue (#1094) (#1095) +- Upgrade pre-commit tools, fix ruff issues +- Make pgettext search plurals when translation is not found (#1085) +- Improve Codecov configuration (#1103) +- Improve docs for format_skeleton (#1106) + * Thu Jul 11 2024 dillon chen - 2.15.0-1 - update to 2.15.0