10 Star 0 Fork 11

src-openEuler/python-sybil

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-sybil.spec 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
tzing_t 提交于 1年前 . fix build error
%global pypi_name sybil
Name: python-%{pypi_name}
Version: 3.0.1
Release: 3%{?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
%files -n python3-%{pypi_name}
%doc README.rst
%license docs/license.rst
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/%{pypi_name}/
%changelog
* Sat May 11 2024 tzing_t <zhengting13@huawei.com> -3.0.1-3
- fix build error
* Mon Jul 25 2022 Dongjiao <dongjiao@kylinos.cn> - 3.0.1-2
- Initial package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-sybil.git
git@gitee.com:src-openeuler/python-sybil.git
src-openeuler
python-sybil
python-sybil
openEuler-24.03-LTS-SP1

搜索帮助