pentoo-overlay/dev-python/Scrapy/Scrapy-1.7.3.ebuild

32 lines
993 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6} )
inherit distutils-r1
DESCRIPTION="A high-level Web Crawling and Web Scraping framework"
HOMEPAGE="https://scrapy.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64 ~x86"
IUSE=""
# The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy
# >=dev-python/pydispatcher-2.1.2 — is corrupted by maintainer/upstream (??)
RDEPEND="${PYTHON_DEPS}
<=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}]
>=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/cssselect[${PYTHON_USEDEP}]
dev-python/queuelib[${PYTHON_USEDEP}]
dev-python/w3lib[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/parsel[${PYTHON_USEDEP}]
dev-python/service_identity[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"