tuibuilder_pel7x64builder0
3 years ago
8 changed files with 441 additions and 0 deletions
@ -0,0 +1,50 @@ |
|||||||
|
%global srcname async-timeout |
||||||
|
%global common_desc asyncio-compatible timeout context manager\ |
||||||
|
The context manager is useful in cases when you want to apply timeout\ |
||||||
|
logic around block of code or in cases when asyncio.wait_for() is not \ |
||||||
|
suitable. Also it's much faster than asyncio.wait_for() because timeout\ |
||||||
|
doesn't create a new task. |
||||||
|
|
||||||
|
Name: python-%{srcname} |
||||||
|
Version: 3.0.1 |
||||||
|
Release: 1%{?dist} |
||||||
|
Summary: An asyncio-compatible timeout context manager |
||||||
|
License: ASL 2.0 |
||||||
|
URL: https://github.com/aio-libs/async-timeout |
||||||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz |
||||||
|
BuildArch: noarch |
||||||
|
|
||||||
|
|
||||||
|
%description |
||||||
|
%{common_desc} |
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{srcname} |
||||||
|
Summary: %{summary} |
||||||
|
%{?python_provide:%python_provide python3-%{srcname}} |
||||||
|
BuildRequires: python3-devel |
||||||
|
BuildRequires: python3-setuptools |
||||||
|
%description -n python3-%{srcname} |
||||||
|
%{common_desc} |
||||||
|
|
||||||
|
|
||||||
|
%prep |
||||||
|
%autosetup -n %{srcname}-%{version} |
||||||
|
|
||||||
|
|
||||||
|
%build |
||||||
|
%{__python3} setup.py build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-%{srcname} |
||||||
|
%license LICENSE |
||||||
|
%doc README.rst CHANGES.rst |
||||||
|
%{python3_sitelib}/async_timeout/ |
||||||
|
%{python3_sitelib}/async_timeout-*.egg-info/ |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
@ -0,0 +1,51 @@ |
|||||||
|
Name: python-atomicwrites |
||||||
|
Version: 1.4.0 |
||||||
|
Release: 1%{?git_tag}%{?dist} |
||||||
|
Summary: Python Atomic file writes on POSIX |
||||||
|
License: MIT |
||||||
|
URL: https://github.com/untitaker/%{name} |
||||||
|
Source0: https://github.com/untitaker/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz |
||||||
|
BuildArch: noarch |
||||||
|
%global short_name atomicwrites |
||||||
|
BuildRequires: make |
||||||
|
BuildRequires: python3-devel |
||||||
|
BuildRequires: python3-setuptools |
||||||
|
%global _description\ |
||||||
|
This Python module provides atomic file writes on POSIX operating systems.\ |
||||||
|
It sports:\ |
||||||
|
* Race-free assertion that the target file doesn't yet exist\ |
||||||
|
* Windows support\ |
||||||
|
* Simple high-level API that wraps a very flexible class-based API |
||||||
|
|
||||||
|
|
||||||
|
%description %_description |
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{short_name} |
||||||
|
Summary: Python Atomic file writes on POSIX |
||||||
|
%description -n python3-%{short_name} |
||||||
|
This Python module provides atomic file writes on POSIX operating systems. |
||||||
|
It sports: |
||||||
|
* Race-free assertion that the target file doesn't yet exist |
||||||
|
* Windows support |
||||||
|
* Simple high-level API that wraps a very flexible class-based API |
||||||
|
|
||||||
|
|
||||||
|
%prep |
||||||
|
%setup -q |
||||||
|
|
||||||
|
|
||||||
|
%build |
||||||
|
%{__python3} setup.py build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-%{short_name} |
||||||
|
%doc README.rst LICENSE |
||||||
|
%{python3_sitelib}/%{short_name}*/ |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
@ -0,0 +1,48 @@ |
|||||||
|
%global modname attrs |
||||||
|
Name: python-attrs |
||||||
|
Version: 20.3.0 |
||||||
|
Release: 1%{?dist} |
||||||
|
Summary: Python attributes without boilerplate |
||||||
|
License: MIT |
||||||
|
URL: http://www.attrs.org/ |
||||||
|
BuildArch: noarch |
||||||
|
Source0: https://github.com/hynek/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz |
||||||
|
BuildRequires: python3-devel |
||||||
|
BuildRequires: python3-setuptools |
||||||
|
|
||||||
|
|
||||||
|
%description |
||||||
|
attrs is an MIT-licensed Python package with class decorators that |
||||||
|
ease the chores of implementing the most common attribute-related |
||||||
|
object protocols. |
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{modname} |
||||||
|
Summary: %{summary} |
||||||
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} |
||||||
|
%description -n python3-%{modname} |
||||||
|
attrs is an MIT-licensed Python package with class decorators that |
||||||
|
ease the chores of implementing the most common attribute-related |
||||||
|
object protocols. |
||||||
|
|
||||||
|
|
||||||
|
%prep |
||||||
|
%setup -q -n %{modname}-%{version} |
||||||
|
|
||||||
|
|
||||||
|
%build |
||||||
|
%{__python3} setup.py build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python%{python3_pkgversion}-%{modname} |
||||||
|
%license LICENSE |
||||||
|
%doc AUTHORS.rst README.rst |
||||||
|
%{python3_sitelib}/* |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
@ -0,0 +1,43 @@ |
|||||||
|
%global modname idna-ssl |
||||||
|
Name: python-%{modname} |
||||||
|
Version: 1.1.0 |
||||||
|
Release: 11%{?dist} |
||||||
|
Summary: Patch ssl.match_hostname for Unicode(idna) domains support |
||||||
|
License: MIT |
||||||
|
URL: https://github.com/aio-libs/idna_ssl |
||||||
|
Source0: %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz |
||||||
|
BuildArch: noarch |
||||||
|
|
||||||
|
%description |
||||||
|
%{summary}. |
||||||
|
|
||||||
|
%package -n python3-%{modname} |
||||||
|
Summary: %{summary} |
||||||
|
BuildRequires: python3-devel |
||||||
|
BuildRequires: python3-setuptools |
||||||
|
%{?python_provide:%python_provide python3-%{modname}} |
||||||
|
%description -n python3-%{modname} |
||||||
|
%{summary}. |
||||||
|
|
||||||
|
|
||||||
|
%prep |
||||||
|
%autosetup -n %{modname}-%{version} |
||||||
|
|
||||||
|
|
||||||
|
%build |
||||||
|
%{__python3} setup.py build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-%{modname} |
||||||
|
%license LICENSE |
||||||
|
%doc README.rst example.py |
||||||
|
%{python3_sitelib}/idna_ssl-*.egg-info/ |
||||||
|
%{python3_sitelib}/idna_ssl.py |
||||||
|
%{python3_sitelib}/__pycache__/idna_ssl.* |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
@ -0,0 +1,60 @@ |
|||||||
|
%global srcname idna |
||||||
|
Name: python-%{srcname} |
||||||
|
Version: 2.10 |
||||||
|
Release: 1%{?dist} |
||||||
|
Summary: Internationalized Domain Names in Applications (IDNA) |
||||||
|
License: BSD and Python and Unicode |
||||||
|
URL: https://github.com/kjd/idna |
||||||
|
Source0: https://pypi.io/packages/source/i/%{srcname}/%{srcname}-%{version}.tar.gz |
||||||
|
BuildArch: noarch |
||||||
|
BuildRequires: python3-devel |
||||||
|
BuildRequires: 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-%{srcname} |
||||||
|
Summary: Internationalized Domain Names in Applications (IDNA) |
||||||
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} |
||||||
|
%description -n python3-%{srcname} |
||||||
|
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. |
||||||
|
|
||||||
|
|
||||||
|
%prep |
||||||
|
%autosetup -p1 -n %{srcname}-%{version} |
||||||
|
rm -rf %{srcname}.egg-info |
||||||
|
|
||||||
|
|
||||||
|
%build |
||||||
|
%{__python3} setup.py build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
|
||||||
|
%check |
||||||
|
%{__python3} setup.py test |
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-%{srcname} |
||||||
|
%license LICENSE.rst |
||||||
|
%doc README.rst HISTORY.rst |
||||||
|
%{python3_sitelib}/%{srcname} |
||||||
|
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
@ -0,0 +1,66 @@ |
|||||||
|
%global _description ISO 3166-1 defines two-letter, three-letter, and three-digit country\ |
||||||
|
codes. python-iso3166 is a self-contained module that converts between these\ |
||||||
|
codes and the corresponding country name. |
||||||
|
%global srcname iso3166 |
||||||
|
|
||||||
|
Name: python-%{srcname} |
||||||
|
Version: 1.0.1 |
||||||
|
Release: 1%{?dist} |
||||||
|
Summary: Self-contained ISO 3166-1 country definitions |
||||||
|
License: MIT |
||||||
|
URL: https://github.com/deactivated/%{name}/ |
||||||
|
Source0: %{srcname}-%{version}.tar.gz |
||||||
|
BuildRequires: python-devel |
||||||
|
BuildRequires: python-setuptools |
||||||
|
BuildRequires: python3-devel |
||||||
|
BuildRequires: python3-setuptools |
||||||
|
BuildArch: noarch |
||||||
|
|
||||||
|
|
||||||
|
%description |
||||||
|
%{_description} |
||||||
|
|
||||||
|
|
||||||
|
%package -n python2-%{srcname} |
||||||
|
Summary: %{summary} |
||||||
|
%{?python_provide:%python_provide python2-%{srcname}} |
||||||
|
%description -n python2-%{srcname} |
||||||
|
%{_description} |
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{srcname} |
||||||
|
Summary: %{summary} |
||||||
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} |
||||||
|
%description -n python3-%{srcname} |
||||||
|
%{_description} |
||||||
|
|
||||||
|
|
||||||
|
%prep |
||||||
|
%autosetup -n %{srcname}-%{version} |
||||||
|
|
||||||
|
|
||||||
|
%build |
||||||
|
%{__python} setup.py build |
||||||
|
%{__python3} setup.py build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%{__python} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
|
||||||
|
|
||||||
|
%files -n python2-%{srcname} |
||||||
|
%doc CHANGES README.rst |
||||||
|
%license LICENSE.txt |
||||||
|
%{python2_sitelib}/%{srcname}/ |
||||||
|
%{python2_sitelib}/%{srcname}-*.egg-info/ |
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-%{srcname} |
||||||
|
%doc CHANGES README.rst |
||||||
|
%license LICENSE.txt |
||||||
|
%{python3_sitelib}/%{srcname}/ |
||||||
|
%{python3_sitelib}/%{srcname}-*.egg-info/ |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
@ -0,0 +1,68 @@ |
|||||||
|
%global srcname typing_extensions |
||||||
|
|
||||||
|
Name: python-typing-extensions |
||||||
|
Version: 3.7.4.3 |
||||||
|
Release: 1%{?dist} |
||||||
|
Summary: Python Typing Extensions |
||||||
|
License: Python |
||||||
|
URL: https://pypi.org/project/typing-extensions/ |
||||||
|
Source0: %{srcname}-%{version}.tar.gz |
||||||
|
BuildArch: noarch |
||||||
|
|
||||||
|
|
||||||
|
%description |
||||||
|
Typing Extensions - Backported and Experimental Type Hints for Python |
||||||
|
The typing module was added to the standard library in Python 3.5 on a |
||||||
|
provisional basis and will no longer be provisional in Python 3.7. |
||||||
|
However, this means users of Python 3.5 - 3.6 who are unable to upgrade will not |
||||||
|
be able to take advantage of new types added to the typing module, such as |
||||||
|
typing.Text or typing.Coroutine. |
||||||
|
The typing_extensions module contains both backports of these changes as well as |
||||||
|
experimental types that will eventually be added to the typing module, such as |
||||||
|
Protocol. |
||||||
|
Users of other Python versions should continue to install and use the typing |
||||||
|
module from PyPi instead of using this one unless specifically writing code that |
||||||
|
must be compatible with multiple Python versions or requires experimental types. |
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-typing-extensions |
||||||
|
Summary: %{summary} |
||||||
|
BuildRequires: python3-devel |
||||||
|
BuildRequires: python3-setuptools |
||||||
|
%{?python_provide:%python_provide python3-%{srcname}} |
||||||
|
%description -n python3-typing-extensions |
||||||
|
Typing Extensions - Backported and Experimental Type Hints for Python |
||||||
|
The typing module was added to the standard library in Python 3.5 on a |
||||||
|
provisional basis and will no longer be provisional in Python 3.7. |
||||||
|
However, this means users of Python 3.5 - 3.6 who are unable to upgrade will not |
||||||
|
be able to take advantage of new types added to the typing module, such as |
||||||
|
typing.Text or typing.Coroutine. |
||||||
|
The typing_extensions module contains both backports of these changes as well as |
||||||
|
experimental types that will eventually be added to the typing module, such as |
||||||
|
Protocol. |
||||||
|
Users of other Python versions should continue to install and use the typing |
||||||
|
module from PyPi instead of using this one unless specifically writing code that |
||||||
|
must be compatible with multiple Python versions or requires experimental types. |
||||||
|
|
||||||
|
|
||||||
|
%prep |
||||||
|
%autosetup -n %{srcname}-%{version} -p2 |
||||||
|
|
||||||
|
|
||||||
|
%build |
||||||
|
%{__python3} setup.py build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-typing-extensions |
||||||
|
%license LICENSE |
||||||
|
%doc README.rst |
||||||
|
%{python3_sitelib}/%{srcname}-*.egg-info/ |
||||||
|
%{python3_sitelib}/%{srcname}.py |
||||||
|
%{python3_sitelib}/__pycache__/* |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
@ -0,0 +1,55 @@ |
|||||||
|
%global srcname webcolors |
||||||
|
%global srcdesc \ |
||||||
|
A library for working with color names and color value formats defined by the\ |
||||||
|
HTML and CSS specifications for use in documents on the Web.\ |
||||||
|
\ |
||||||
|
Support is included for the following formats (RGB colorspace only; conversion\ |
||||||
|
to/from HSL can be handled by the colorsys module in the Python standard\ |
||||||
|
library):\ |
||||||
|
* Specification-defined color names\ |
||||||
|
* Six-digit hexadecimal\ |
||||||
|
* Three-digit hexadecimal\ |
||||||
|
* Integer rgb() triplet\ |
||||||
|
* Percentage rgb() triplet |
||||||
|
|
||||||
|
Name: python-%{srcname} |
||||||
|
Version: 1.11.1 |
||||||
|
Release: 1%{?dist} |
||||||
|
Summary: A library for working with HTML and CSS color names and value formats |
||||||
|
License: BSD |
||||||
|
URL: https://github.com/ubernostrum/webcolors |
||||||
|
Source: %{srcname}-%{version}.tar.gz |
||||||
|
BuildArch: noarch |
||||||
|
BuildRequires: python3-devel |
||||||
|
BuildRequires: python3-setuptools |
||||||
|
|
||||||
|
|
||||||
|
%description %{srcdesc} |
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{srcname} |
||||||
|
Summary: %{summary} |
||||||
|
%{?python_provide:%python_provide python3-%{srcname}} |
||||||
|
%description -n python3-%{srcname} %{srcdesc} |
||||||
|
|
||||||
|
|
||||||
|
%prep |
||||||
|
%autosetup -n %{srcname}-%{version} |
||||||
|
|
||||||
|
|
||||||
|
%build |
||||||
|
%{__python3} setup.py build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-%{srcname} |
||||||
|
%license LICENSE |
||||||
|
%doc PKG-INFO README.rst |
||||||
|
%{python3_sitelib}/__pycache__/* |
||||||
|
%{python3_sitelib}/%{srcname}* |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
Loading…
Reference in new issue