diff --git a/.python-should_dsl.metadata b/.python-should_dsl.metadata new file mode 100644 index 0000000..c7bf0ae --- /dev/null +++ b/.python-should_dsl.metadata @@ -0,0 +1 @@ +f1584d0a192a58b905b577b995dd534f36c4c7e4 SOURCES/should_dsl-2.1.2.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..998cf9e --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-should_dsl + +The python-should_dsl package \ No newline at end of file diff --git a/SPECS/python-should_dsl.spec b/SPECS/python-should_dsl.spec new file mode 100644 index 0000000..71af8bc --- /dev/null +++ b/SPECS/python-should_dsl.spec @@ -0,0 +1,63 @@ +Summary: Should assertions in Python in as clear and readable a way as possible +Name: python-should_dsl +Version: 2.1.2 +Release: 5%{?dist} +License: MIT +URL: https://github.com/nsi-iff/should-dsl +Source0: https://files.pythonhosted.org/packages/source/s/should_dsl/should_dsl-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +The goal of Should-DSL is to write should expectations in Python in as clear +and readable a way as possible, using "almost" natural language (limited - +sometimes - by the Python language constraints). + +%package -n python3-should_dsl +Summary: Should assertions in Python in as clear and readable a way as possible +%{?python_provide:%python_provide python3-should_dsl} + +%description -n python3-should_dsl +The goal of Should-DSL is to write should expectations in Python in as clear +and readable a way as possible, using "almost" natural language (limited - +sometimes - by the Python language constraints). + +%prep +%setup -q -n should_dsl-%{version} + +# Remove bundled egg-info +rm -rf should_dsl.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +# run_all_examples.py references non-existent files and hence fails +PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} run_examples.py README.rst + +%files -n python3-should_dsl +%license LICENSE +%doc CONTRIBUTORS README.rst +%{python3_sitelib}/should_dsl/ +%{python3_sitelib}/should_dsl-%{version}-py3.*.egg-info/ + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro HronĨok - 2.1.2-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Dec 12 2019 Paul Howarth - 2.1.2-1 +- Initial RPM version