Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > f2e1fb6fe38a7eca45ff71c75255cd74 > files > 2

python-isoduration-20.11.0-1.mga9.src.rpm

# Created by pyp2rpm-3.3.5
%global pypi_name isoduration

Name:           python-%{pypi_name}
Version:        20.11.0
Release:        %mkrel 1
Summary:        Operations with ISO 8601 durations
Group:          Development/Python
License:        None
URL:            https://github.com/bolsote/isoduration
Source0:        https://files.pythonhosted.org/packages/source/i/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  pyproject-rpm-macros
BuildRequires:  python3dist(setuptools)

%description
Operations with ISO 8601 durations.ISO 8601 is most commonly known as a way to 
exchange datetimes in textual format. 
A lesser known aspect of the standard is the representation of
durations.

%package -n     python3-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

Requires:       python3dist(arrow) >= 0.15
%description -n python3-%{pypi_name}
Operations with ISO 8601 durations.ISO 8601 is most commonly known as a way to 
exchange datetimes in textual format. 
A lesser known aspect of the standard is the representation of
durations.


%prep
%autosetup -n %{pypi_name}-%{version}

%build
%pyproject_wheel

%install
%pyproject_install
%pyproject_save_files %{pypi_name}


%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.md


%changelog
* Tue Nov 29 2022 papoteur <papoteur> 20.11.0-1.mga9
+ Revision: 1912566
- imported package python-isoduration