Blame python-hypothesmith.spec

0dc243f
# Created by pyp2rpm-3.3.5
0dc243f
%global pypi_name hypothesmith
0dc243f
0dc243f
%global common_description %{expand:
0dc243f
Hypothesis strategies for generating Python programs, something like CSmith.}
0dc243f
0dc243f
Name:           python-%{pypi_name}
6b308f6
Version:        0.2.0
a81569b
Release:        %autorelease
0dc243f
Summary:        Hypothesis strategies for generating Python programs
0dc243f
0dc243f
License:        MPLv2.0
0dc243f
URL:            https://github.com/Zac-HD/hypothesmith
0dc243f
Source0:        %{pypi_source}
0dc243f
BuildArch:      noarch
0dc243f
0dc243f
BuildRequires:  python3-devel
0dc243f
0dc243f
%description
0dc243f
%{common_description}
0dc243f
6b308f6
0dc243f
%package -n     python3-%{pypi_name}
0dc243f
Summary:        %{summary}
0dc243f
0dc243f
%description -n python3-%{pypi_name}
0dc243f
%{common_description}
0dc243f
6b308f6
0dc243f
%prep
0dc243f
%autosetup -n %{pypi_name}-%{version}
0dc243f
# Remove bundled egg-info
6b308f6
# rm -rf %{pypi_name}.egg-info
0dc243f
# Tox configuration is passing unsupported arguments to pytest
6b308f6
# rm tox.ini
6b308f6
6b308f6
%generate_buildrequires
6b308f6
%pyproject_buildrequires -r deps/test.in
6b308f6
0dc243f
0dc243f
%build
6b308f6
%pyproject_wheel
6b308f6
0dc243f
0dc243f
%install
6b308f6
%pyproject_install
6b308f6
6b308f6
%pyproject_save_files %{pypi_name}
6b308f6
0dc243f
0dc243f
%check
0dc243f
%pytest
0dc243f
6b308f6
6b308f6
%files -n python3-%{pypi_name} -f %{pyproject_files}
0dc243f
%license LICENSE
0dc243f
%doc README.md CHANGELOG.md
6b308f6
0dc243f
0dc243f
%changelog
a81569b
%autochangelog