From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6D14158095 for ; Tue, 4 Oct 2022 02:54:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EF7AE08F1; Tue, 4 Oct 2022 02:54:57 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA7B5E08FC for ; Tue, 4 Oct 2022 02:54:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE337340A7F for ; Tue, 4 Oct 2022 02:54:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82A06602 for ; Tue, 4 Oct 2022 02:54:54 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1664588412.9994a133b0651ed8955e74f591d1d016fd56a5ea.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/scrapy/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/scrapy/Manifest dev-python/scrapy/scrapy-2.6.3.ebuild X-VCS-Directories: dev-python/scrapy/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 9994a133b0651ed8955e74f591d1d016fd56a5ea X-VCS-Branch: master Date: Tue, 4 Oct 2022 02:54:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0bf2afc3-2d92-4535-8137-d74cfcc3e947 X-Archives-Hash: d5aca36fc3c58616571ab150e9c3141d commit: 9994a133b0651ed8955e74f591d1d016fd56a5ea Author: Aisha Tammy aisha cc> AuthorDate: Sat Oct 1 01:40:12 2022 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Sat Oct 1 01:40:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9994a133 dev-python/scrapy: add 2.6.3 Signed-off-by: Aisha Tammy aisha.cc> dev-python/scrapy/Manifest | 1 + dev-python/scrapy/scrapy-2.6.3.ebuild | 59 +++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest index d4914d972..0c482c82c 100644 --- a/dev-python/scrapy/Manifest +++ b/dev-python/scrapy/Manifest @@ -1,2 +1,3 @@ DIST scrapy-2.5.1.tar.gz 1276985 BLAKE2B 7e4a43391a8dd4f641d188c7a89d26d52bc51aae3eb8340e02c9de2477bc6458f80b3a8ba16f6a17a9ec1debb85fe558fb7c1c48358fd923e02864758ea75fa5 SHA512 4285272412b4c474707e864ece701990435d206b0a1ef28cb9f99cff87a02e6b0323e744e96f15878a3b433a7efe4be413d24068bb252f00f9ab1b0a980d844a DIST scrapy-2.6.2.tar.gz 1312436 BLAKE2B 4cfa85a624d22145a306abb1ea17b12ba662f7f5bef51572f6a26670dfae059dc8b80a92eec6efb42d31175732e410f126ad4bd1c0904928bfcc284288ce9b5b SHA512 4442c26a42df1c2e91ab6f8391568ba4e774b938a915f05492572d7ef196760101fc4c1ae4e17fc79cba574dd5696fee842672ec613d6fdb1167f9965972afd5 +DIST scrapy-2.6.3.tar.gz 1312210 BLAKE2B 48dd845eda2bf96a2c69f5fb95fd2cdd9203e16d50251a46cedf38e5241de21aa01099b735bb79bdee4cc8687c32bf7724779a01de8eca2f8ff1c1d95d04a749 SHA512 4248fdde8e71e8045811ef1ce78bf30939a705d1d0a075025e79f15ceca357391345e24a7990bf63e9c98b5ee099b95535fc134f49175c0275bef5393da2a5c8 diff --git a/dev-python/scrapy/scrapy-2.6.3.ebuild b/dev-python/scrapy/scrapy-2.6.3.ebuild new file mode 100644 index 000000000..698f73302 --- /dev/null +++ b/dev-python/scrapy/scrapy-2.6.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) +inherit distutils-r1 + +DESCRIPTION="A high-level Web Crawling and Web Scraping framework" +HOMEPAGE="https://scrapy.org/" +SRC_URI="https://github.com/scrapy/scrapy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT=0 +KEYWORDS="~amd64" + +# The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy +# https://bugs.gentoo.org/684734 +RDEPEND="${PYTHON_DEPS} + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/cryptography[${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-17.9.0[${PYTHON_USEDEP}] + dev-python/w3lib[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + dev-python/testfixtures[${PYTHON_USEDEP}] + dev-python/uvloop[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( "${FILESDIR}/${PN}-2.5.1-no-doctest.patch" ) + +python_test() { + py.test -vv --ignore=docs \ + --ignore="tests/test_proxy_connect.py" \ + --ignore="tests/test_utils_display.py" \ + --ignore="tests/test_command_check.py" \ + --ignore="tests/test_feedexport.py" \ + --ignore="tests/test_pipeline_files.py" \ + --ignore="tests/test_pipeline_images.py" \ + --ignore="tests/test_squeues.py" || die +}