initial import

This commit is contained in:
Fabian Affolter 2014-10-06 22:06:41 +02:00
parent 9e027ed61d
commit 51f7bd1129
3 changed files with 38 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/aiohttp-0.9.1.tar.gz

36
python-aiohttp.spec Normal file
View File

@ -0,0 +1,36 @@
%global srcname aiohttp
Name: python-aiohttp
Version: 0.9.1
Release: 1%{?dist}
Summary: A Python HTTP client/server for asyncio
License: BSD
URL: https://github.com/KeepSafe/aiohttp/
Source0: https://pypi.python.org/packages/source/a/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
A Python HTTP client/server for asyncio
%prep
%setup -q -n %{srcname}-%{version}
rm -rf %{srcname}.egg-info
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
%build
%{__python3} setup.py build
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
%files
%doc CHANGES.txt CONTRIBUTORS.txt LICENSE.txt README.rst
%{python3_sitelib}/*
%changelog
* Wed Feb 26 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-1
- Initial package for Fedora

View File

@ -0,0 +1 @@
28c5574b9a004a9ac2cfe1617f009d69 aiohttp-0.9.1.tar.gz