Blob Blame History Raw
Name:           python-daemon
Version:        2.3.2
Release:        %autorelease
Summary:        Library to implement a well-behaved Unix daemon process

# Some build scripts and test framework are licensed GPL-3.0-or-later but those aren't shipped
License:        Apache-2.0
Source:         %{pypi_source python-daemon}

BuildArch:      noarch
BuildRequires:  python3-devel

%global _description %{expand:
This library implements the well-behaved daemon specification of PEP 3143,
"Standard daemon process library".}

%description %_description

%package -n python3-daemon
Summary:        %{summary}

%description -n python3-daemon %_description

%autosetup -p1
sed -e '/"coverage"/d' -i

%pyproject_buildrequires -x test


%pyproject_save_files daemon

PYTHONPATH=%{buildroot}%{python3_sitelib} %python3 -m setup test

%files -n python3-daemon -f %{pyproject_files}