diff --git a/python-time-machine.spec b/python-time-machine.spec new file mode 100644 index 0000000000000000000000000000000000000000..a11f2f0f9d9a824c196e73784d7f5a07b72102b5 --- /dev/null +++ b/python-time-machine.spec @@ -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 - 2.10.0-1 +- Initial package 2.10.0 for isort test diff --git a/time_machine-2.10.0.tar.gz b/time_machine-2.10.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bcea11da31d06aabe5fee0ebbc8e7b1b2b081939 Binary files /dev/null and b/time_machine-2.10.0.tar.gz differ