同步操作将从 src-openEuler/python-humanize 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-humanizeVersion: 0.5.1Release: 16Summary: python humanize moduleLicense: MITURL: https://github.com/jmoiron/humanizeSource0: https://pypi.python.org/packages/source/h/humanize/humanize-%{version}.tar.gzBuildArch: noarchBuildRequires: python2-setuptools python2-devel python3-devel python3-setuptools python3-tools%descriptionPython module that includes various common humanization utilities.%package -n python2-humanizeSummary: python2 humanize moduleProvides: python-humanize = 0.5.1-15Obsoletes: python-humanize < 0.5.1-15%description -n python2-humanizePython2 module that includes various common humanization utilities.%package -n python3-humanizeSummary: python3 humanize module%description -n python3-humanizePython3 module that includes various common humanization utilities.%prep%autosetup -p1 -n humanize-%{version}for lib in humanize/time.py humanize/filesize.py humanize/number.py; dosed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new &&touch -r $lib $lib.new && mv $lib.new $libdonerm -rf %{py3dir}cp -a . %{py3dir}%buildpushd %{py3dir}LANG=en_US.UTF-8 /usr/bin/python3 setup.py buildpopd/usr/bin/python2 setup.py build%installpushd %{py3dir}LANG=en_US.UTF-8 /usr/bin/python3 setup.py install --skip-build --root %{buildroot}%find_lang humanizepopd/usr/bin/python2 setup.py install --skip-build --root %{buildroot}%find_lang humanizesed -i 's|^.*%{python3_sitelib}.*||' humanize.lang%check%if %{?_with_check:1}%{!?_with_check:0}/usr/bin/python2 setup.py testpushd %{py3dir}LANG=en_US.UTF-8 /usr/bin/python3 setup.py testpopd%endif%files -n python2-humanize -f humanize.lang%doc README.rst LICENCE%dir %{python2_sitelib}/humanize%{python2_sitelib}/humanize/*.py*%{python2_sitelib}/humanize-%{version}-py%{python2_version}.egg-info%exclude %{_usr}/lib/python*/site-packages/humanize/locale/*/LC_MESSAGES/*.po%files -n python3-humanize -f %{py3dir}/humanize.lang%doc README.rst LICENCE%dir %{python3_sitelib}/humanize%{python3_sitelib}/humanize/*.py%{python3_sitelib}/humanize/__pycache__%{python3_sitelib}/humanize-%{version}-py%{python3_version}.egg-info%exclude %{_usr}/lib/python*/site-packages/humanize/locale/*/LC_MESSAGES/*.po%changelog* Sun Mar 22 2020 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.5.1-16- disable make check* Thu Dec 19 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.5.1-15- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。