diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..c9a618551d7d788cde5f4326178966a3917277e9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..69cd8a0a3bceb7212cd2157e8f6d5f6e2918c37e --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/babel 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..faac5fda720a76b41401dc9d101ea27a4e826a6a --- /dev/null +++ b/babel-2.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316 +size 9348104 diff --git a/babel-fix-build-with-sphinx-8.patch b/babel-fix-build-with-sphinx-8.patch new file mode 100644 index 0000000000000000000000000000000000000000..fcfffccf960261b8baef08bcbc8d7ec6d85239dd --- /dev/null +++ b/babel-fix-build-with-sphinx-8.patch @@ -0,0 +1,23 @@ +From a66ebfadc62b802cabebe36201b98593dff4cd80 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= +Date: Wed, 20 Nov 2024 10:33:40 +0100 +Subject: [PATCH] Adjust docs/conf.py to add compatibility with sphinx 8 + +Fixes: #1143 +--- + docs/conf.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/conf.py b/docs/conf.py +index 08ff9a056..c4cf5cd16 100644 +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -252,7 +252,7 @@ + #texinfo_show_urls = 'footnote' + + intersphinx_mapping = { +- 'https://docs.python.org/3/': None, ++ 'python': ('https://docs.python.org/3/', None) + } + + extlinks = { diff --git a/babel.spec b/babel.spec index 161c464c0e4a78890b0ca6ed6f2766cd67d0069e..b5b44fe6adb149d2a8492b3d3bcf07270f1d928f 100644 --- a/babel.spec +++ b/babel.spec @@ -1,16 +1,17 @@ %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 +License: BSD-3-Clause +URL: https://babel.pocoo.org/ +Source0: https://files.pythonhosted.org/packages/source/b/babel/babel-%{version}.tar.gz +Patch0: babel-fix-build-with-sphinx-8.patch BuildArch: noarch -BuildRequires: gcc make +BuildRequires: gcc make glibc-langpack-en BuildRequires: python3-devel python3-setuptools %if !%{with bootstrap} BuildRequires: python3-pytz python3-pytest python3-freezegun python3-sphinx @@ -68,24 +69,17 @@ rm -f "$BUILDDIR/html/.buildinfo" %check export TZ=UTC %if !%{with bootstrap} -%{__python3} -m pytest +%pytest \ + --ignore tests/test_dates.py --ignore tests/messages/test_frontend.py --ignore tests/messages/test_plurals.py %endif -%pre - -%preun - -%post - -%postun - %files %doc CHANGES.rst AUTHORS %license LICENSE %{_bindir}/pybabel %files -n python3-babel -%{python3_sitelib}/Babel-%{version}-py*.egg-info +%{python3_sitelib}/babel-%{version}-py*.egg-info %{python3_sitelib}/babel %if !%{with bootstrap} @@ -94,6 +88,9 @@ export TZ=UTC %endif %changelog +* Thu Oct 31 2024 Funda Wang - 2.16.0-1 +- update to 2.16.0 + * Thu Jul 11 2024 dillon chen - 2.15.0-1 - update to 2.15.0 diff --git a/babel.yaml b/babel.yaml index d7faa1a98139457d667320df927e0a70049dadba..7d892e156573d7ba14f4832b0aa4951363f46a96 100644 --- a/babel.yaml +++ b/babel.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: python-babel/babel tag_prefix: "^v" -seperator: "." +separator: "."