Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37741482
en ru br
ALT Linux repos
S:0.1.11-alt1

Group :: Development/Python3
RPM: python3-module-grapy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname grapy

Name: python3-module-%oname
Version: 0.1.8
Release: alt2

Summary: Fast high-level web crawling framework for Python 3.3 or later base on asyncio

License: Free
Group: Development/Python3
Url: https://pypi.python.org/pypi/grapy/

# https://github.com/Lupino/grapy.git

# Source-url: https://pypi.io/packages/source/g/%oname/%oname-%version.tar.gz
Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3(asyncio) python3-module-aiohttp
BuildRequires: python3-module-BeautifulSoup4 python3-module-requests

%py3_provides %oname
%py3_requires asyncio aiohttp bs4 requests

%description
Grapy, a fast high-level screen scraping and web crawling framework for
Python 3.3 or later base on asyncio.

%prep
%setup
subst "s|self.async|self.fasync|" grapy/core/request.py

# don't explicitely require asyncio module, it's part of python3 base now

#sed -i \
# -e "s|'asyncio', ||g" \
# setup.py

%build
%python3_build

%install
%python3_install

%check
python3 setup.py test

%files
%doc *.md docs/*.rst
%python3_sitelibdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin