代码拉取完成,页面将自动刷新
Name: python-utils
Version: 3.4.5
Release: 1
Summary: Python Utils is a module with some convenient utilities
License: BSD
URL: https://github.com/WoLpH/python-utils
Source0: https://github.com/wolph/python-utils/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make python3-devel python3-pytest-runner python3-pytest python3-setuptools
BuildRequires: python3-six python3-sphinx
%?python_enable_dependency_generator
%description
Python Utils is a collection of small Python functions and classes which
make common patterns shorter and easier. This module makes it easy to
execute common tasks in Python scripts such as converting text to numbers
and making sure a string is in unicode or bytes format.
%package -n python3-utils
Summary: %{summary}
%{?python_provide:%python_provide python3-utils}
%description -n python3-utils
Python Utils is a collection of small Python functions and classes which
make common patterns shorter and easier. This module makes it easy to
execute common tasks in Python scripts such as converting text to numbers
and making sure a string is in unicode or bytes format.
%prep
%autosetup -p1 -n %{name}-%{version}
rm -rf %{name}.egg-info
sed -Ei '/--(cov|pep8|flake8)/d' pytest.ini
sed -Ezi 's/flake8.+=.+\n(\s*\S+\s*\n)*\n/\n/' pytest.ini
%build
%py3_build
sphinx-build-3 docs html
rm -rf html/{.doctrees,.buildinfo,*.inv}
%install
%py3_install
%files -n python3-utils
%doc README.rst html
%license LICENSE
%{python3_sitelib}/python_utils
%{python3_sitelib}/python_utils-%{version}-py%{python3_version}.egg-info
%changelog
* Fri Nov 4 2022 hkgy <kaguyahatu@outlook.com> - 3.4.5-1
- Upgrade to v3.4.5
* Mon Dec 27 2021 liyanan <liyanan32@huawei.com> - 2.5.6-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。