python-idna/python-idna.spec

73 lines
2.0 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:14:58 -04:00
Name: python-idna
Version: 3.2
Release: 1
2019-09-30 11:14:58 -04:00
Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD and Python and Unicode
URL: https://github.com/kjd/idna
Source0: https://files.pythonhosted.org/packages/source/i/idna/idna-%{version}.tar.gz
BuildArch: noarch
2020-10-29 16:35:49 +08:00
2019-09-30 11:14:58 -04:00
BuildRequires: python3-devel python3-setuptools
%description
A library to support the Internationalised Domain Names in
Applications (IDNA) protocol as specified in RFC 5891
http://tools.ietf.org/html/rfc5891. This version of the protocol
is often referred to as “IDNA2008” and can produce different
results from the earlier standard from 2003.
The library is also intended to act as a suitable drop-in replacement
for the “encodings.idna” module that comes with the Python standard
library but currently only supports the older 2003 specification.
%package -n python3-idna
Summary: Python3 package for python-idna
%{?python_provide: %python_provide python3-idna}
%description -n python3-idna
Python3 package for python-idna
%prep
%autosetup -n idna-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-idna
%defattr(-,root,root)
%doc README.rst HISTORY.rst
%license LICENSE.md
2019-09-30 11:14:58 -04:00
%{python3_sitelib}/*
%changelog
* Fri Dec 03 2021 wangkerong <wangkerong@huawei.com> - 3.2-1
- update to 3.2
2020-10-29 16:35:49 +08:00
* Thu Oct 29 2020 wangye <wangye70@huawei.com> - 2.10-2
- remove python2-idna subpackage
2020-07-23 18:54:31 +08:00
* Thu Jul 23 2020 zhouhaibo <zhouhaibo@huawei.com> - 2.10-1
- Package update
2020-01-15 04:25:41 +08:00
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.8-3
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:delete the python-idna
2020-01-15 02:56:48 +08:00
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.8-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:delete the python provides in python2
2019-09-30 11:14:58 -04:00
* Wed Sep 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.8-1
- Package init