update to 4.1.1

This commit is contained in:
caodongxia 2023-04-26 18:06:54 +08:00
parent b6efd84dcf
commit 63222e9e83
3 changed files with 14 additions and 7 deletions

Binary file not shown.

BIN
flufl.i18n-4.1.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-flufl.i18n Name: python-flufl.i18n
Version: 3.1.3 Version: 4.1.1
Release: 2 Release: 1
Summary: High level API for internationalizing Python libraries and applications. Summary: High level API for internationalizing Python libraries and applications.
License: Apache 2.0 License: Apache 2.0
URL: https://pypi.org/project/flufl.i18n URL: https://pypi.org/project/flufl.i18n
Source0: https://files.pythonhosted.org/packages/2f/ed/291230106c59e1270042b0161c2f84f6c3ddb3b9b02686a52d4ebf38e098/flufl.i18n-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/82/0f/757b6bdedaa7f29a52b37a4e59451eced726a1338ccf5b63b44fb0808193/flufl.i18n-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
@ -18,6 +18,9 @@ Summary: High level API for internationalizing Python libraries and applications
Provides: python-flufl.i18n Provides: python-flufl.i18n
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pdm-pep517
%description -n python3-flufl.i18n %description -n python3-flufl.i18n
The flufl.i18n library provides a convenient API for managing translation contexts in Python applications. The flufl.i18n library provides a convenient API for managing translation contexts in Python applications.
@ -35,10 +38,10 @@ Development documents and examples for flufl.i18n.
%autosetup -n flufl.i18n-%{version} %autosetup -n flufl.i18n-%{version}
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install flufl.i18n==%{version}
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -67,13 +70,17 @@ mv %{buildroot}/doclist.lst .
%files -n python3-flufl.i18n -f filelist.lst %files -n python3-flufl.i18n -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%{python3_sitelib}/flufl/i18n
%files help -f doclist.lst %files help -f doclist.lst
%{_pkgdocdir} %{_pkgdocdir}
%changelog %changelog
* Thu Dec 31 2020 leiju <leiju4@huawei.com> * Tue Apr 25 2023 caodongxia <caodongxia@h-partners.com> - 4.1.1-1
- Upgrade to 4.1.1
* Thu Dec 31 2020 leiju <leiju4@huawei.com> - 3.1.3-2
- Modify Spec and yaml filename - Modify Spec and yaml filename
* Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org> * Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org> - 3.1.3-1
- Package Spec generated - Package Spec generated