!1 Init package for python-hypothesmith import
From: @desert-sailor Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
094e69a9fe
51
python-typing-inspect.spec
Normal file
51
python-typing-inspect.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name typing-inspect
|
||||||
|
%global source_name typing_inspect
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 0.9.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Runtime inspection utilities for typing module.
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/ilevkivskyi/typing_inspect
|
||||||
|
Source0: %{url}/archive/%{version}/%{source_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-virtualenv
|
||||||
|
|
||||||
|
%description
|
||||||
|
Runtime inspection utilities for typing module.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: %{summary}
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
Runtime inspection utilities for typing module.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{source_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/typing_inspect.py
|
||||||
|
%{python3_sitelib}/__pycache__/typing_inspect*
|
||||||
|
%{python3_sitelib}/typing_inspect*.dist-info/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jun 26 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.9.0-1
|
||||||
|
- Initial package
|
||||||
BIN
typing_inspect-0.9.0.tar.gz
Normal file
BIN
typing_inspect-0.9.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user