同步操作将从 src-openEuler/python-kitchen 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global with_python3 1%global python3_pkgversion 3Name: python-kitchenVersion: 1.2.6Release: 7Summary: Small, useful pieces of code to make python coding easierLicense: LGPLv2+URL: https://pypi.python.org/pypi/kitchen/Source0: https://files.pythonhosted.org/packages/d9/ca/3365cb1160533be8c8b57dbfd6502f367d35e30935ee89a003c664740714/kitchen-1.2.6.tar.gzBuildArch: noarchBuildRequires: python-sphinxBuildRequires: python%{python3_pkgversion}-develBuildRequires: python%{python3_pkgversion}-testBuildRequires: python%{python3_pkgversion}-chardetPatch0: 0001-replace-obsolete-pngmath-with-imgmath.patch%descriptionkitchen includes functions to make gettext easier to use, handling unicodetext easier (conversion with bytes, outputting xml, and calculating how manycolumns a string takes), and compatibility modules for writing code that usespython-2.7 modules but needs to run on python-2.3.%if 0%{?with_python3}%package -n python%{python3_pkgversion}-kitchenSummary: Small, useful pieces of code to make python 3 coding easier%{?python_provide:%python_provide python%{python3_pkgversion}-kitchen}Requires: python%{python3_pkgversion}Requires: python%{python3_pkgversion}-chardet%description -n python%{python3_pkgversion}-kitchenkitchen includes functions to make gettext easier to use, handling unicodetext easier (conversion with bytes, outputting xml, and calculating how manycolumns a string takes).This is the python3 version of the kitchen module.%package helpSummary: API documentation for the Kitchen python3 module#Requires: python2-kitchen = %{version}-%{release}%description helpkitchen includes functions to make gettext easier to use, handling unicodetext easier (conversion with bytes, outputting xml, and calculating how manycolumns a string takes).This package contains the API documenation for programming with thepython-3 version of the kitchen library.%endif%prep%autosetup -p1 -n kitchen-%{version}# Remove bundled egg info, if any.rm -rf *.egg*%if 0%{?with_python3}rm -rf %{py3dir}cp -a . %{py3dir}%endif%build%if 0%{?with_python3}pushd %{py3dir}%{py3_build}popd%endif# Build docspushd %{py3dir}sphinx-build-3 kitchen3/docs/ build/sphinx/htmlcp -pr build/sphinx/html .find . -name htmlls ./htmlrm -rf html/.buildinfopopd%install%if 0%{?with_python3}pushd %{py3dir}%{py3_install}popd%endif# %check# # In current mock, the PATH isn't being reset. This causes failures in some# # subprocess tests as a check tests /root/bin/PROGRAM and fails with Permission# # Denied instead of File Not Found. reseting the PATH works around this.# PATH=/bin:/usr/bin# PYTHONPATH=.:kitchen3/ nosetests-%{python3_version} kitchen3/tests/%if 0%{?with_python3}%files -n python%{python3_pkgversion}-kitchen%doc README.rst NEWS.rst%license COPYING COPYING.LESSER%{python3_sitelib}/kitchen*%files help%doc kitchen3/docs/*%license COPYING COPYING.LESSER%endif%changelog* Tue Mar 15 2022 shixuantong <shixuantong@h-partners.com> - 1.2.6-7- rename python3-kitchen-help to python-kitchen-help* Mon Feb 21 2022 shixuantong <shixuantong@h-partners.com> - 1.2.6-6- rename python-kitchen-doc to python-kitchen-help* Sat Jan 08 2022 shixuantong <shixuantong@huawei.com> - 1.2.6-5- remove python3-nose buildrequire* Wed Dec 09 2020 tianwei <tianwei12@huawei.com> - 1.2.6-4- delete sensitive word* Thu Aug 06 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.2.6-3- replace obsolete pngmath with imgmath* Wed Aug 05 2020 Guoshuai Sun <sunguoshuai@huawei.com> - 1.2.6-2- Del the python2 and fix build error* Sat Feb 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.6-1- Update to 1.2.6 and enable python3 test* Sat Dec 21 2019 duyeyu <duyeyu@huawei.com> - 1.2.5-6- initial package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。