3 Star 0 Fork 5

src-openEuler/python-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-utils.spec 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
HKGY 提交于 2022-11-03 16:23 . v3.4.5
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-utils.git
git@gitee.com:src-openeuler/python-utils.git
src-openeuler
python-utils
python-utils
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385