Blob Blame Raw
# Created by pyp2rpm-3.3.2
%global pypi_name helpdev

%global _description %{expand:
Helping users and developers to get information about the environment to report
bugs or even test your system without spending a day on it. It can get
information about hardware, OS, paths, Python distribution and packages,
including Qt-things.}

Name:           python-%{pypi_name}
Version:        0.6.10
Release:        3%{?dist}
Summary:        HelpDev - Extracts information about the Python environment easily

License:        MIT
# license file not in pypi tarball
BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)

%description %_description

%package -n     python3-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires:       python3dist(psutil) >= 5.6
Requires:       python3dist(setuptools)

%description -n python3-%{pypi_name}

%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
cp %{SOURCE1} .

# importlib.metadata is in python3.8
sed -i "s|'importlib_metadata', ||"
sed -i "s|import importlib_metadata|import importlib.metadata as importlib_metadata|" helpdev/



%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE.rst

* Thu Jan 30 2020 Fedora Release Engineering <> - 0.6.10-3
- Rebuilt for

* Mon Dec 23 2019 Mukundan Ragavan <> - 0.6.10-2
- Fix spec issues

* Sat Dec 21 2019 Mukundan Ragavan <> - 0.6.10-1
- Initial package.