diff --git a/python-sybil.spec b/python-sybil.spec new file mode 100644 index 0000000000000000000000000000000000000000..f271cbf13b360703d289b3cf3f4efa3612281b3c --- /dev/null +++ b/python-sybil.spec @@ -0,0 +1,55 @@ +%global pypi_name sybil + +Name: python-%{pypi_name} +Version: 3.0.1 +Release: 2%{?dist} +Summary: Automated testing for the examples in your documentation + +License: MIT +URL: https://sybil.readthedocs.io/ +Source0: https://github.com/cjw296/sybil/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +This library provides a way to test examples in your documentation by parsing +them from the documentation source and evaluating the parsed examples as part +of your normal test run. Integration is provided for the three main Python +test runners. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: make +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: python3-pytest-cov +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +This library provides a way to test examples in your documentation by parsing +them from the documentation source and evaluating the parsed examples as part +of your normal test run. Integration is provided for the three main Python +test runners. + +%prep +%autosetup -n %{pypi_name}-%{version} -p1 + +%build +%py3_build + +%install +%py3_install + +%check +%{pytest} tests + +%files -n python3-%{pypi_name} +%doc README.rst +%license docs/license.rst +%{python3_sitelib}/*.egg-info +%{python3_sitelib}/%{pypi_name}/ + +%changelog +* Mon Jul 25 2022 Dongjiao - 3.0.1-2 +- Initial package diff --git a/sybil-3.0.1.tar.gz b/sybil-3.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..632d920d55c5be03e7ad9bc6905868e877ceaa87 Binary files /dev/null and b/sybil-3.0.1.tar.gz differ