Ai
5 Star 0 Fork 13

src-openEuler/python-time-machine
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-time-machine.spec 2.72 KB
一键复制 编辑 原始数据 按行查看 历史
lixiaoyong1 提交于 2025-11-24 17:32 +08:00 . Update package to version 3.1.0
%global _empty_manifest_terminate_build 0
%global pypi_name time-machine
%global source_name time-machine
Name: python-%{pypi_name}
Version: 3.1.0
Release: 1
Summary: Travel through time in your tests.
License: MIT
URL: https://github.com/adamchainz/time-machine
Source0: https://github.com/adamchainz/time-machine/archive/refs/tags/%{version}.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
* Mon Nov 24 2025 lixiaoyong <lixiaoyong@kylinos.cn> - 3.1.0-1
- Update package to version 3.1.0
Optimize patching of uuid module
* Thu Nov 20 2025 dongqi <dongqi1@kylinos.cn> - 3.0.0-1
- Update package to version 3.0.0
Drop Python 3.9 support
Bump the github-actions group with 2 updates
Use match statement in CLI
* Fri Sep 05 2025 dongjiao <dongjiao@kylinos> - 2.19.0-1
- Update package to version 2.19.0
Support free-threaded Python.
* Fri Oct 18 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.16.0-1
- Update package to version 2.16.0
Drop Python 3.8 support.
* Mon Aug 26 2024 xuhe <xuhe@kylinos.cn> - 2.15.0-1
- Update version to 2.15.0
- Upgrade GitHub Actions upload-artifact in build workflow.
- Upgrade cibuildwheel.
- Upgrade requirements.
- Fix workflow badge visibility in README.
- Ignore Flake8 max line length errors.
- Tidy pyproject.toml readme and license fields.
- Improve MyPy configuration.
- Fix System Error on Python 3.13 and Windows.
- Build wheels for Python 3.13.
- Downgrade wheel build environment Ubuntu version.
* Mon Jun 3 2024 dongjiao <dongjiao@kylinos.cn> - 2.14.1-1
- Update package to version 2.14.1
Support Python 3.13 alpha 4.
Some bug fix
* Fri Mar 1 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.13.0-1
- Update package to version 2.13.0
Add support for datetime.timedelta to time_machine.travel().
Add shift() method to the time_machine pytest fixture.
Fix documentation about using local time for naive date(time) strings.
* Sun Jun 18 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.10.0-1
- Initial package 2.10.0 for isort test
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-time-machine.git
git@gitee.com:src-openeuler/python-time-machine.git
src-openeuler
python-time-machine
python-time-machine
master

搜索帮助