代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-mimeparse 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-mimeparse
Version: 1.6.0
Release: 8
Summary: Python module for handling mime-types.
License: MIT
URL: https://github.com/dbtsai/python-mimeparse
Source0: https://files.pythonhosted.org/packages/source/p/python-mimeparse/%{name}-%{version}.tar.gz
BuildArch: noarch
%description
This module provides basic functions for handling mime-types.
It can handle matching mime-types against a list of media-ranges.
%package -n python2-mimeparse
Summary: Python2 module for handing mime-type
BuildRequires: python2-devel python2-setuptools
%{?python_provide:%python_provide python2-mimeparse}
%description -n python2-mimeparse
This module provides basic functions for handling mime-types.
It can handle matching mime-types against a list of media-ranges.
%package -n python3-mimeparse
Summary: Python3 module for handling mime-types.
BuildRequires: python3-devel python3-setuptools
%{?python_provide:%python_provide python3-mimeparse}
%description -n python3-mimeparse
This module provides basic functions for handling mime-types.
It can handle matching mime-types against a list of media-ranges.
%prep
%autosetup -n %{name}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} -m unittest -v mimeparse_test
%{__python3} -m unittest -v mimeparse_test
%files -n python2-mimeparse
%license LICENSE
%doc README.rst
%{python2_sitelib}/*
%files -n python3-mimeparse
%license LICENSE
%doc README.rst
%{python3_sitelib}/*
%changelog
* Fri Nov 29 2019 zhujunhao <zhujunhao5@huawei.com> - 1.6.0-8
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。