initial import
This commit is contained in:
parent
9e027ed61d
commit
51f7bd1129
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/aiohttp-0.9.1.tar.gz
|
36
python-aiohttp.spec
Normal file
36
python-aiohttp.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user