Open
Upgrade to 2.3.1 #11
Upgrade to 2.3.1 #11
Open
roygiteeeAdd on Jan 9
Total: 3 files changed+15-6
Binary files do not support preview
Binary files do not support preview
@@ -1,11 +1,11 @@
1%global _empty_manifest_terminate_build 01%global _empty_manifest_terminate_build 0
2Name: python-absl-py2Name: python-absl-py
3-Version: 2.1.03+Version: 2.3.1
4Release: 14Release: 1
5Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.5Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
6License: Apache 2.06License: Apache 2.0
7URL: https://github.com/abseil/abseil-py7URL: https://github.com/abseil/abseil-py
8-Source0: https://files.pythonhosted.org/packages/7a/8f/fc001b92ecc467cc32ab38398bd0bfb45df46e7523bf33c2ad22a505f06e/absl-py-2.1.0.tar.gz8+Source0: https://files.pythonhosted.org/packages/source/a/absl_py/absl_py-%{version}.tar.gz
9BuildArch: noarch9BuildArch: noarch
10 10 
11Requires: python3-six11Requires: python3-six
@@ -78,6 +78,9 @@ Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py
78Provides: python-absl-py = %{version}-%{release}78Provides: python-absl-py = %{version}-%{release}
79BuildRequires: python3-devel79BuildRequires: python3-devel
80BuildRequires: python3-setuptools80BuildRequires: python3-setuptools
81+BuildRequires: python3-pip
82+BuildRequires: python3-hatchling
83+ 
81%description -n python3-absl-py84%description -n python3-absl-py
82# Abseil Python Common Libraries85# Abseil Python Common Libraries
83 86 
@@ -206,13 +209,14 @@ The Abseil Python library is licensed under the terms of the Apache
206license. See [LICENSE](LICENSE) for more information.209license. See [LICENSE](LICENSE) for more information.
207 210 
208%prep211%prep
209-%autosetup -n absl-py-%{version}212+%autosetup -n absl_py-%{version}
210 213 
211%build214%build
212-%py3_build215+%pyproject_build
213 216 
214%install217%install
215-%py3_install218+%pyproject_install
219+ 
216install -d -m755 %{buildroot}/%{_pkgdocdir}220install -d -m755 %{buildroot}/%{_pkgdocdir}
217if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi221if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
218if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi222if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@@ -241,11 +245,16 @@ mv %{buildroot}/doclist.lst .
241 245 
242%files -n python3-absl-py -f filelist.lst246%files -n python3-absl-py -f filelist.lst
243%dir %{python3_sitelib}/*247%dir %{python3_sitelib}/*
244- 248+%{python3_sitelib}/absl/*
245%files help -f doclist.lst249%files help -f doclist.lst
246%{_docdir}/*250%{_docdir}/*
247 251 
248%changelog252%changelog
253+* Fri Jan 09 2026 Yu Peng <yupeng@kylinos.cn> - 2.3.1-1
254+- Upgrade to 2.3.1
255+ * (cleanup) Removed leftover code supporting Python < 3.8, as well as other references to older Python versions.
256+ * (typechecking) Fixed typechecking errors that appeared under mypy release 1.16
257+ 
249* Fri Jan 26 2024 wangjiang <wangjiang37@h-partners.com> - 2.1.0-1258* Fri Jan 26 2024 wangjiang <wangjiang37@h-partners.com> - 2.1.0-1
250- Update package to version 2.1.0259- Update package to version 2.1.0
251 260