!6 update version to 4.4.1
From: @fu-shanqing Reviewed-by: @anchuanxu Signed-off-by: @anchuanxu
This commit is contained in:
commit
8c9d682f3d
BIN
2.13.3.tar.gz
BIN
2.13.3.tar.gz
Binary file not shown.
BIN
4.4.1.tar.gz
Normal file
BIN
4.4.1.tar.gz
Normal file
Binary file not shown.
@ -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 <dev01203@linx-info.com> - 4.4.1-1
|
||||
- update to 4.4.1
|
||||
|
||||
* Sun May 7 2023 will_niutao <niutao2@huawei.com> - 2.13.3-1
|
||||
- Init for openEuler
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user