dev-python/scrapy - 2.15.0 (inode64-overlay)

Search

Install

Install this version:

emerge -a =dev-python/scrapy-2.15.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/scrapy-2.15.0

Or alternatively:

emerge --autounmask-write -a =dev-python/scrapy-2.15.0

Package Information

Description:
A high-level Web Crawling and Web Scraping framework
Homepage:
https://scrapy.org/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.15.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 pypi

DESCRIPTION="A high-level Web Crawling and Web Scraping framework"
HOMEPAGE="https://scrapy.org/"

LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"

# The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy
# https://bugs.gentoo.org/684734
RDEPEND="dev-python/cssselect[${PYTHON_USEDEP}]
	dev-python/cryptography[${PYTHON_USEDEP}]
	dev-python/h2[${PYTHON_USEDEP}]
	dev-python/itemadapter[${PYTHON_USEDEP}]
	dev-python/itemloaders[${PYTHON_USEDEP}]
	dev-python/lxml[${PYTHON_USEDEP}]
	dev-python/parsel[${PYTHON_USEDEP}]
	dev-python/protego[${PYTHON_USEDEP}]
	>=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}]
	dev-python/pyopenssl[${PYTHON_USEDEP}]
	dev-python/queuelib[${PYTHON_USEDEP}]
	dev-python/service-identity[${PYTHON_USEDEP}]
	dev-python/six[${PYTHON_USEDEP}]
	dev-python/tldextract[${PYTHON_USEDEP}]
	>=dev-python/twisted-18.9.0[${PYTHON_USEDEP}]
	dev-python/w3lib[${PYTHON_USEDEP}]
	dev-python/zope-interface[${PYTHON_USEDEP}]
	dev-python/defusedxml[${PYTHON_USEDEP}]
"
BDEPEND="
	test? (
		${RDEPEND}
		dev-python/botocore[${PYTHON_USEDEP}]
		dev-python/defusedxml[${PYTHON_USEDEP}]
		dev-python/pexpect[${PYTHON_USEDEP}]
		dev-python/testfixtures[${PYTHON_USEDEP}]
		dev-python/uvloop[${PYTHON_USEDEP}]
	)
"

distutils_enable_tests pytest

EPYTEST_DESELECT=(
	# these require (local) network access
	tests/test_command_check.py
	tests/test_feedexport.py
	tests/test_pipeline_files.py::TestFTPFileStore::test_persist
	# Flaky test: https://github.com/scrapy/scrapy/issues/6193
	tests/test_crawl.py::CrawlTestCase::test_start_requests_laziness
	# Missing dependencies
	tests/test_spidermiddleware_output_chain.py
	)
EPYTEST_IGNORE=( docs )

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/scrapy | euse -E <flag> -p dev-python/scrapy | euse -D <flag> -p dev-python/scrapy

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

dev-python/cssselect[]
	dev-python/cryptography[]
	dev-python/h2[]
	dev-python/itemadapter[]
	dev-python/itemloaders[]
	dev-python/lxml[]
	dev-python/parsel[]
	dev-python/protego[]
	>=dev-python/pydispatcher-2.0.5[]
	dev-python/pyopenssl[]
	dev-python/queuelib[]
	dev-python/service-identity[]
	dev-python/six[]
	dev-python/tldextract[]
	>=dev-python/twisted-18.9.0[]
	dev-python/w3lib[]
	dev-python/zope-interface[]
	dev-python/defusedxml[]

BDEPEND

	test? (
		dev-python/cssselect[]
	dev-python/cryptography[]
	dev-python/h2[]
	dev-python/itemadapter[]
	dev-python/itemloaders[]
	dev-python/lxml[]
	dev-python/parsel[]
	dev-python/protego[]
	>=dev-python/pydispatcher-2.0.5[]
	dev-python/pyopenssl[]
	dev-python/queuelib[]
	dev-python/service-identity[]
	dev-python/six[]
	dev-python/tldextract[]
	>=dev-python/twisted-18.9.0[]
	dev-python/w3lib[]
	dev-python/zope-interface[]
	dev-python/defusedxml[]

		dev-python/botocore[]
		dev-python/defusedxml[]
		dev-python/pexpect[]
		dev-python/testfixtures[]
		dev-python/uvloop[]
	)