[packages/python3-time-machine] - new
qboosh
qboosh at pld-linux.org
Sat Jan 17 12:06:21 CET 2026
commit 472802c419c03376aa3b40840fb18d5602fe50b5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jan 17 12:06:16 2026 +0100
- new
python3-time-machine.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/python3-time-machine.spec b/python3-time-machine.spec
new file mode 100644
index 0000000..9110d7e
--- /dev/null
+++ b/python3-time-machine.spec
@@ -0,0 +1,44 @@
+Summary: Travel through time in your tests
+Summary(pl.UTF-8): Podróżowanie w czasie w testach
+Name: python3-time-machine
+Version: 3.2.0
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/time-machine/
+Source0: https://files.pythonhosted.org/packages/source/t/time-machine/time_machine-%{version}.tar.gz
+# Source0-md5: b21c544d73c9d6a5fc3c844971bf93ed
+URL: https://pypi.org/project/time-machine/
+BuildRequires: python3-modules >= 1:3.10
+BuildRequires: python3-setuptools >= 1:77
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.10
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Travel through time in your tests.
+
+%description -l pl.UTF-8
+Podróżowanie w czasie w testach.
+
+%prep
+%setup -q -n time_machine-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.rst LICENSE README.rst
+%{py3_sitedir}/time_machine
+%{py3_sitedir}/_time_machine.cpython-*.so
+%{py3_sitedir}/time_machine-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-time-machine.git/commitdiff/472802c419c03376aa3b40840fb18d5602fe50b5
More information about the pld-cvs-commit
mailing list