15
0

Accepting request 1285961 from devel:languages:python

- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/request/show/1285961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-crontab?expand=0&rev=6
This commit is contained in:
2025-06-16 09:13:07 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 16 06:12:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
-------------------------------------------------------------------
Tue Apr 29 13:21:53 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>

View File

@@ -22,13 +22,14 @@ Version: 1.0.4
Release: 0
Summary: Python module for parsing and using crontab schedules
License: LGPL-2.1-only
Group: Development/Languages/Python
URL: https://github.com/josiahcarlson/parse-crontab
Source: https://github.com/josiahcarlson/parse-crontab/archive/%{version}.tar.gz#/crontab-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-python-dateutil
@@ -46,10 +47,10 @@ to when the item should next be executed.
%setup -q -n parse-crontab-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,6 +60,6 @@ to when the item should next be executed.
%doc README.rst
%license LICENSE LICENSE3
%{python_sitelib}/crontab
%{python_sitelib}/crontab-%{version}-*
%{python_sitelib}/crontab-%{version}.dist-info
%changelog