Sisyphus repository
Last update: 12 july 2020 | SRPMs: 17700 | Visits: 18875062
en ru br
ALT Linux repos
S:0.0.4-alt1

Group :: Development/Python
RPM: python-module-aiocutter

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

BuildRequires: unzip
%define oname aiocutter

%def_without python2
%def_with python3

Name: python-module-%oname
Version: 0.0.4
Release: alt1
Summary: Scraping tool for asyncio
License: MIT
Group: Development/Python
Url: https://pypi.python.org/pypi/aiocutter/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# https://github.com/icoxfog417/aiocutter.git

Source0: https://pypi.python.org/packages/82/6b/efc4bf491b7c5ef8cd834563c3165aa56b05ed6b4015fcbc17c6a0b0e3e0/%{oname}-%{version}.zip
BuildArch: noarch

%if_with python2
#BuildPreReq: python-devel python-module-setuptools-tests
#BuildPreReq: python-module-aiohttp python-module-BeautifulSoup4
%endif
%if_with python3
BuildRequires(pre): rpm-build-python3
#BuildPreReq: python3-devel python3-module-setuptools-tests
#BuildPreReq: python3-module-aiohttp python3-module-BeautifulSoup4
%endif

%py_provides %oname
%py_requires asyncio aiohttp bs4

# Automatically added by buildreq on Wed Jan 27 2016 (-bi)

# optimized out: python-base python3 python3-base
BuildRequires: python3-module-zope rpm-build-python3

%description
aiocutter is scraping tool for asyncio.

%package -n python3-module-%oname
Summary: Scraping tool for asyncio
Group: Development/Python3
%py3_provides %oname
%py3_requires asyncio aiohttp bs4

%description -n python3-module-%oname
aiocutter is scraping tool for asyncio.

%prep
%setup -q -n %{oname}-%{version}

%if_with python3
cp -fR . ../python3
%endif

%build
%if_with python2
%python_build_debug
%endif

%if_with python3
pushd ../python3
%python3_build_debug
popd
%endif

%install
%if_with python2
%python_install
%endif

%if_with python3
pushd ../python3
%python3_install
popd
%endif

%if_with python2
%files
#doc *.md
%python_sitelibdir/*
%endif

%if_with python3
%files -n python3-module-%oname
#doc *.md
%python3_sitelibdir/*
%endif

%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