!1 Init package to version 2.10.0 for python-isort upgrade and test
From: @desert-sailor Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
4ee235f1a0
52
python-time-machine.spec
Normal file
52
python-time-machine.spec
Normal file
@ -0,0 +1,52 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%global pypi_name time-machine
|
||||
%global source_name time_machine
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 2.10.0
|
||||
Release: 1
|
||||
Summary: Travel through time in your tests.
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/adamchainz/time-machine
|
||||
Source0: https://files.pythonhosted.org/packages/ac/60/0793032eef5b1dcab2aee60deb5cf3e42fc6437cfa7428a87e2745f5d640/time_machine-2.10.0.tar.gz
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-editables
|
||||
BuildRequires: python3-hatch-vcs
|
||||
BuildRequires: python3-hatchling
|
||||
BuildRequires: python3-virtualenv
|
||||
|
||||
%description
|
||||
Travel through time in your tests.
|
||||
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
Travel through time in your tests.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{source_name}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python3_sitearch}/_time_machine*.so
|
||||
%{python3_sitearch}/time_machine-*.dist-info/
|
||||
%{python3_sitearch}/time_machine
|
||||
|
||||
%changelog
|
||||
* Sun Jun 18 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.10.0-1
|
||||
- Initial package 2.10.0 for isort test
|
||||
BIN
time_machine-2.10.0.tar.gz
Normal file
BIN
time_machine-2.10.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user