From d63f2176d7eca7bd4447d44cc30516cd83af11ba Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Nov 14 2024 09:08:28 +0000 Subject: Update to 0.9 Related-to: https://review.rdoproject.org/r/q/I765a65423e29d4ac144d77acd7cb7517a59c948f --- diff --git a/.python-durationpy.metadata b/.python-durationpy.metadata new file mode 100644 index 0000000..ae33937 --- /dev/null +++ b/.python-durationpy.metadata @@ -0,0 +1 @@ +eb8b2472b18519a1c17c0ca7c38d4dab2796ff30 SOURCES/0.9.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-durationpy.spec b/SPECS/python-durationpy.spec new file mode 100644 index 0000000..69c39ee --- /dev/null +++ b/SPECS/python-durationpy.spec @@ -0,0 +1,51 @@ +Name: python-durationpy +Version: 0.9 +Release: 2%{?dist} +Summary: Module for converting between datetime.timedelta and Go's Duration strings + +License: MIT +URL: https://github.com/icholy/durationpy +Source: %{url}/archive/refs/tags/%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-pytest + +%global _description %{expand: +Module for converting between datetime.timedelta and Go's Duration strings} + +%description %_description + +%package -n python3-durationpy +Summary: %{summary} + +%description -n python3-durationpy %_description + +%prep +%autosetup -p1 -n durationpy-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install + +%pyproject_save_files -l durationpy + +%check +%pytest test.py + +%files -n python3-durationpy -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Wed Nov 06 2024 Miro HronĨok - 0.9-2 +- Stop running tox for no reason + +* Tue Nov 05 2024 Jason Montleon - 0.9-1 +- Initial Version