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