diff --git a/2.13.3.tar.gz b/2.13.3.tar.gz deleted file mode 100644 index 1b571a1..0000000 Binary files a/2.13.3.tar.gz and /dev/null differ diff --git a/4.4.1.tar.gz b/4.4.1.tar.gz new file mode 100644 index 0000000..c1c0772 Binary files /dev/null and b/4.4.1.tar.gz differ diff --git a/python-typeguard.spec b/python-typeguard.spec index 2e2b532..e859e19 100644 --- a/python-typeguard.spec +++ b/python-typeguard.spec @@ -1,5 +1,5 @@ Name: python-typeguard -Version: 2.13.3 +Version: 4.4.1 Release: 1 Summary: Run-time type checker for Python @@ -20,7 +20,7 @@ argument (and return) type annotations.} %package -n python3-typeguard Summary: %{summary} -BuildRequires: python3-devel +BuildRequires: python3-devel python3-pip python3-wheel BuildRequires: python3-setuptools BuildRequires: python3-pytest @@ -31,18 +31,12 @@ BuildRequires: python3-typing-extensions %prep %autosetup -n typeguard-%{version} -rm -rf typeguard.egg-info -# older setuptools generates PKG-INFO with version=='0.0.0' unless specified -sed -i '/name = typeguard/a version = %{version}' setup.cfg - %build -%py3_build - +%pyproject_build %install -%py3_install - +%pyproject_install %check # The test_cached_module test fails to find a byte-compiled .pyc module where @@ -68,10 +62,13 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %doc README.rst %{python3_sitelib}/typeguard/ -%{python3_sitelib}/typeguard-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/typeguard-0.0.0.dist-info/ %changelog +* Wed Nov 20 2024 sqfu - 4.4.1-1 +- update to 4.4.1 + * Sun May 7 2023 will_niutao - 2.13.3-1 - Init for openEuler