|
|
2d56a4 |
Summary: Should assertions in Python in as clear and readable a way as possible
|
|
|
2d56a4 |
Name: python-should_dsl
|
|
|
2d56a4 |
Version: 2.1.2
|
|
|
2d56a4 |
Release: 5%{?dist}
|
|
|
2d56a4 |
License: MIT
|
|
|
2d56a4 |
URL: https://github.com/nsi-iff/should-dsl
|
|
|
2d56a4 |
Source0: https://files.pythonhosted.org/packages/source/s/should_dsl/should_dsl-%{version}.tar.gz
|
|
|
2d56a4 |
BuildArch: noarch
|
|
|
2d56a4 |
BuildRequires: coreutils
|
|
|
2d56a4 |
BuildRequires: python3-devel
|
|
|
2d56a4 |
BuildRequires: python3-setuptools
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%description
|
|
|
2d56a4 |
The goal of Should-DSL is to write should expectations in Python in as clear
|
|
|
2d56a4 |
and readable a way as possible, using "almost" natural language (limited -
|
|
|
2d56a4 |
sometimes - by the Python language constraints).
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%package -n python3-should_dsl
|
|
|
2d56a4 |
Summary: Should assertions in Python in as clear and readable a way as possible
|
|
|
2d56a4 |
%{?python_provide:%python_provide python3-should_dsl}
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%description -n python3-should_dsl
|
|
|
2d56a4 |
The goal of Should-DSL is to write should expectations in Python in as clear
|
|
|
2d56a4 |
and readable a way as possible, using "almost" natural language (limited -
|
|
|
2d56a4 |
sometimes - by the Python language constraints).
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%prep
|
|
|
2d56a4 |
%setup -q -n should_dsl-%{version}
|
|
|
2d56a4 |
|
|
|
2d56a4 |
# Remove bundled egg-info
|
|
|
2d56a4 |
rm -rf should_dsl.egg-info
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%build
|
|
|
2d56a4 |
%py3_build
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%install
|
|
|
2d56a4 |
%py3_install
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%check
|
|
|
2d56a4 |
# run_all_examples.py references non-existent files and hence fails
|
|
|
2d56a4 |
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} run_examples.py README.rst
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%files -n python3-should_dsl
|
|
|
2d56a4 |
%license LICENSE
|
|
|
2d56a4 |
%doc CONTRIBUTORS README.rst
|
|
|
2d56a4 |
%{python3_sitelib}/should_dsl/
|
|
|
2d56a4 |
%{python3_sitelib}/should_dsl-%{version}-py3.*.egg-info/
|
|
|
2d56a4 |
|
|
|
2d56a4 |
%changelog
|
|
|
2d56a4 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-5
|
|
|
2d56a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2d56a4 |
|
|
|
2d56a4 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
|
|
|
2d56a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2d56a4 |
|
|
|
2d56a4 |
* Sun May 24 2020 Miro HronĨok <mhroncok@redhat.com> - 2.1.2-3
|
|
|
2d56a4 |
- Rebuilt for Python 3.9
|
|
|
2d56a4 |
|
|
|
2d56a4 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
|
|
|
2d56a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2d56a4 |
|
|
|
2d56a4 |
* Thu Dec 12 2019 Paul Howarth <paul@city-fan.org> - 2.1.2-1
|
|
|
2d56a4 |
- Initial RPM version
|