13 Star 0 Fork 2

ocs-upgrade/babel

forked from OpenCloudOS Stream/babel 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
babel.spec 2.55 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-09-23 06:34 . Upgrade to version 2.16.0
%bcond_with bootstrap
Summary: Tools for internationalizing Python applications
Name: babel
Version: 2.16.0
Release: 1%{?dist}
License: BSD
URL: https://babel.pocoo.org/
Source0: %{pypi_source Babel}
Patch0001: 0001-Freeze-format_time-tests-to-a-specific-date-to-fix-t.patch
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools
%if !%{with bootstrap}
BuildRequires: python3-pytz python3-pytest
BuildRequires: python3-freezegun
%endif
BuildRequires: make
Requires: python3-babel python3-setuptools
%description
Babel is composed of two major parts:
* tools to build and work with gettext message catalogs
* a Python interface to the CLDR (Common Locale Data Repository),
providing access to various locale display names, localized number
and date formatting, etc.
%package -n python3-babel
Summary: Library for internationalizing Python applications
Requires: python3-setuptools python3-pytz
Provides: python3-babel
%description -n python3-babel
Babel is composed of two major parts:
* tools to build and work with gettext message catalogs
* a Python interface to the CLDR (Common Locale Data Repository),
providing access to various locale display names, localized number
and date formatting, etc.
%prep
%autosetup -p1 -n Babel-%{version}
%build
%py3_build
%install
%py3_install
%check
export TZ=UTC
%if !%{with bootstrap}
%{__python3} -m pytest
%endif
%files
%license LICENSE
%doc CHANGES.rst AUTHORS
%{_bindir}/pybabel
%files -n python3-babel
%{python3_sitelib}/Babel-%{version}-py*.egg-info/
%{python3_sitelib}/babel/
%changelog
* Mon Sep 23 2024 Upgrade Robot <upbot@opencloudos.tech> - 2.16.0-1
- Upgrade to version 2.16.0
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.12.1-4
- Rebuilt for loongarch release
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.12.1-3
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.12.1-2
- Rebuilt for OpenCloudOS Stream 23.09
* Thu Jul 20 2023 kianli <kianli@tencent.com> - 2.12.1-1
- Upgrade to 2.12.1
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.9.1-4
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.9.1-3
- Rebuilt for OpenCloudOS Stream 23
* Thu Feb 02 2023 Feng Weiyao <wynnfeng@tencent.com> - 2.9.1-2
- rebuilt
* Mon Jan 30 2023 Feng Weiyao <wynnfeng@tencent.com> - 2.9.1-1
- initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-upgrade/babel.git
git@gitee.com:ocs-upgrade/babel.git
ocs-upgrade
babel
babel
master

搜索帮助