diff --git a/python-should_dsl.spec b/python-should_dsl.spec new file mode 100644 index 0000000..79a9ea5 --- /dev/null +++ b/python-should_dsl.spec @@ -0,0 +1,66 @@ +Summary: Should assertions in Python in as clear and readable a way as possible +Name: python-should_dsl +Version: 2.1.2 +Release: 6 +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 +* Sat Jan 30 2021 zhaorenhai - 2.1.2-6 +- Init spec from fedora project. + +* 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 diff --git a/python-should_dsl.yaml b/python-should_dsl.yaml new file mode 100644 index 0000000..c0aa4bd --- /dev/null +++ b/python-should_dsl.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: nsi-iff/should-dsl +tag_prefix: ^v +seperator: . diff --git a/should_dsl-2.1.2.tar.gz b/should_dsl-2.1.2.tar.gz new file mode 100644 index 0000000..7d51f58 Binary files /dev/null and b/should_dsl-2.1.2.tar.gz differ