* Fri Nov 27 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.19.0-1
- Update py3 - Update to new upstream version 0.19.0
This commit is contained in:
parent
2a2ae21297
commit
268399e6c5
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/aiohttp-0.16.5.tar.gz
|
/aiohttp-0.16.5.tar.gz
|
||||||
/aiohttp-0.16.6.tar.gz
|
/aiohttp-0.16.6.tar.gz
|
||||||
/aiohttp-0.17.4.tar.gz
|
/aiohttp-0.17.4.tar.gz
|
||||||
|
/aiohttp-0.19.0.tar.gz
|
||||||
|
@ -1,64 +1,46 @@
|
|||||||
%global srcname aiohttp
|
%global srcname aiohttp
|
||||||
%global with_python3 1
|
%global sum A Python HTTP client/server for asyncio
|
||||||
|
|
||||||
Name: python-aiohttp
|
Name: python-aiohttp
|
||||||
Version: 0.17.4
|
Version: 0.19.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A Python HTTP client/server for asyncio
|
Summary: %{sum}
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/KeepSafe/aiohttp/
|
URL: https://github.com/KeepSafe/aiohttp/
|
||||||
Source0: https://pypi.python.org/packages/source/a/%{srcname}/%{srcname}-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/a/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python-setuptools
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A Python HTTP client/server for asyncio
|
A Python HTTP client/server for asyncio
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%package -n python3-%{srcname}
|
%package -n python3-%{srcname}
|
||||||
Summary: A Python HTTP client/server for asyncio
|
Summary: %{sum}
|
||||||
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
|
|
||||||
%description -n python3-%{srcname}
|
%description -n python3-%{srcname}
|
||||||
A Python HTTP client/server for asyncio
|
A Python HTTP client/server for asyncio
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{srcname}-%{version}
|
%autosetup -n %{srcname}-%{version}
|
||||||
rm -rf %{srcname}.egg-info
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
rm -rf %{py3dir}
|
|
||||||
cp -a . %{py3dir}
|
|
||||||
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?with_python3}
|
%py3_build
|
||||||
pushd %{py3dir}
|
|
||||||
%{__python3} setup.py build
|
|
||||||
popd
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?with_python3}
|
%py3_install
|
||||||
pushd %{py3dir}
|
|
||||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
|
||||||
popd
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%doc CHANGES.txt CONTRIBUTORS.txt LICENSE.txt README.rst
|
%doc CHANGES.txt CONTRIBUTORS.txt README.rst
|
||||||
|
%license LICENSE.txt
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 27 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.19.0-1
|
||||||
|
- Update py3
|
||||||
|
- Update to new upstream version 0.19.0
|
||||||
|
|
||||||
* Fri Oct 16 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.17.4-1
|
* Fri Oct 16 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.17.4-1
|
||||||
- Update to new upstream version 0.17.4
|
- Update to new upstream version 0.17.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user