Open
Upgrade to 2.3.1 #11
roygiteeeAdd on Jan 9
Upgrade to 2.3.1 #11
Open
Total: 3 files changed+15-6
Binary files do not support preview
| @@ -1,11 +1,11 @@ | |||
| 1 | %global _empty_manifest_terminate_build 0 | 1 | %global _empty_manifest_terminate_build 0 |
| 2 | Name: python-absl-py | 2 | Name: python-absl-py |
| 3 | -Version: 2.1.0 | 3 | +Version: 2.3.1 |
| 4 | Release: 1 | 4 | Release: 1 |
| 5 | Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. | 5 | Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. |
| 6 | License: Apache 2.0 | 6 | License: Apache 2.0 |
| 7 | URL: https://github.com/abseil/abseil-py | 7 | URL: https://github.com/abseil/abseil-py |
| 8 | -Source0: https://files.pythonhosted.org/packages/7a/8f/fc001b92ecc467cc32ab38398bd0bfb45df46e7523bf33c2ad22a505f06e/absl-py-2.1.0.tar.gz | 8 | +Source0: https://files.pythonhosted.org/packages/source/a/absl_py/absl_py-%{version}.tar.gz |
| 9 | BuildArch: noarch | 9 | BuildArch: noarch |
| 10 | 10 | ||
| 11 | Requires: python3-six | 11 | Requires: python3-six |
| @@ -78,6 +78,9 @@ Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py | |||
| 78 | Provides: python-absl-py = %{version}-%{release} | 78 | Provides: python-absl-py = %{version}-%{release} |
| 79 | BuildRequires: python3-devel | 79 | BuildRequires: python3-devel |
| 80 | BuildRequires: python3-setuptools | 80 | BuildRequires: python3-setuptools |
| 81 | +BuildRequires: python3-pip | ||
| 82 | +BuildRequires: python3-hatchling | ||
| 83 | + | ||
| 81 | %description -n python3-absl-py | 84 | %description -n python3-absl-py |
| 82 | # Abseil Python Common Libraries | 85 | # Abseil Python Common Libraries |
| 83 | 86 | ||
| @@ -206,13 +209,14 @@ The Abseil Python library is licensed under the terms of the Apache | |||
| 206 | license. See [LICENSE](LICENSE) for more information. | 209 | license. See [LICENSE](LICENSE) for more information. |
| 207 | 210 | ||
| 208 | %prep | 211 | %prep |
| 209 | -%autosetup -n absl-py-%{version} | 212 | +%autosetup -n absl_py-%{version} |
| 210 | 213 | ||
| 211 | %build | 214 | %build |
| 212 | -%py3_build | 215 | +%pyproject_build |
| 213 | 216 | ||
| 214 | %install | 217 | %install |
| 215 | -%py3_install | 218 | +%pyproject_install |
| 219 | + | ||
| 216 | install -d -m755 %{buildroot}/%{_pkgdocdir} | 220 | install -d -m755 %{buildroot}/%{_pkgdocdir} |
| 217 | if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi | 221 | if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi |
| 218 | if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi | 222 | if [ -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.lst | 246 | %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.lst | 249 | %files help -f doclist.lst |
| 246 | %{_docdir}/* | 250 | %{_docdir}/* |
| 247 | 251 | ||
| 248 | %changelog | 252 | %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-1 | 258 | * Fri Jan 26 2024 wangjiang <wangjiang37@h-partners.com> - 2.1.0-1 |
| 250 | - Update package to version 2.1.0 | 259 | - Update package to version 2.1.0 |
| 251 | 260 | ||