Scrapy-2.6.3.ebuild

This commit is contained in:
Anton Bolshakov 2022-10-12 16:06:32 +08:00
parent 16fc8bb978
commit ebdb625646
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 50 additions and 36 deletions

View file

@ -1,2 +1,2 @@
DIST Scrapy-1.8.0.tar.gz 977658 BLAKE2B 32cf81919d0b3598a2fc8b2cf1880afbf3999b8e97b0f71ecbb95e22f0810d78d21798d7b1e40137c06733963f8fee28abeaa8804376f3701b87534a20d9f797 SHA512 fcc988cee171a8134ff8a6cd2655d715942fb9e720a070654bc634863e444f121e990910a0c1377e3b4679d496610267cc43eb907b8cf27d0623053c66ff26b9
DIST Scrapy-2.6.1.tar.gz 1103155 BLAKE2B 24cbeb505c898ade8bb6775b2aa865e7d8c16e8f7d57b8bbd8f6fbdc5130239f2de9ad5fd4ebbf5cab73dc1b928931a0cf42d0d4b20a439ae53d68c96d8dd60b SHA512 3ba0ac59fceb3c536be5dbc9f8101751b3dba8bc3e64f11657d6d0d2624ac546866dd87b5e8a73d40d044f4927c98abfba5acd30c866fa0640c31f63c6c6ce11
DIST Scrapy-2.6.3.tar.gz 1107141 BLAKE2B 307316fc48cbb3f18dc37dc1f48abf041c47bf055fb3802a1a6c22fa434d41b27646ba0892665a08336a9424ea4969208a1ba9ce070a4f218ddd2a0e91744aac SHA512 f0657a26b500fa4f300bc41bcc715730596ac302a1d2443fde86c0175b6f2bd74e549cc3dcb4e7aa5096b9d66579c93d83b4be3c20cdcbb4d293cc7bf5769d0f

View file

@ -1,35 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..10} )
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
# https://bugs.gentoo.org/684734
RDEPEND="${PYTHON_DEPS}
>=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/cssselect[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/parsel[${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/w3lib[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]
dev-python/Protego[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View file

@ -0,0 +1,49 @@
# 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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT=0
#dev-python/tldextract is not stable on x86
KEYWORDS="amd64 ~arm64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND=">=dev-python/twisted-18.9.0[${PYTHON_USEDEP}]
>=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
>=dev-python/cssselect-0.9.1[${PYTHON_USEDEP}]
>=dev-python/itemloaders-1.0.1[${PYTHON_USEDEP}]
>=dev-python/parsel-1.5.0[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}]
>=dev-python/queuelib-1.4.2[${PYTHON_USEDEP}]
>=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}]
>=dev-python/w3lib-1.17.0[${PYTHON_USEDEP}]
>=dev-python/zope-interface-5.0.0[${PYTHON_USEDEP}]
>=dev-python/Protego-0.1.15[${PYTHON_USEDEP}]
>=dev-python/itemadapter-0.1.0[${PYTHON_USEDEP}]
dev-python/tldextract[${PYTHON_USEDEP}]
=dev-python/pydispatcher-2.0*[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
#FIXME:
#cpython:
# 'lxml>=3.5.0',
# 'PyDispatcher>=2.0.5',
#PyPy
# 'lxml>=4.0.0',
# 'PyPyDispatcher>=2.1.0',
# Also see:
# https://bugs.gentoo.org/684734