mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
68 lines
1.3 KiB
Text
68 lines
1.3 KiB
Text
# Contributor: Orion <systmkor@gmail.com>
|
|
# Maintainer: Orion <systmkor@gmail.com>
|
|
pkgname=py3-scrapy
|
|
pkgver=2.11.1
|
|
pkgrel=1
|
|
pkgdesc="Fast high-level scraping and web crawling framework"
|
|
url="https://scrapy.org/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
py3-cryptography
|
|
py3-cssselect
|
|
py3-itemadapter
|
|
py3-itemloaders
|
|
py3-lxml
|
|
py3-openssl
|
|
py3-parsel
|
|
py3-protego
|
|
py3-pydispatcher
|
|
py3-queuelib
|
|
py3-service_identity
|
|
py3-tldextract
|
|
py3-twisted
|
|
py3-w3lib
|
|
py3-zope-interface
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
checkdepends="
|
|
py3-pyftpdlib
|
|
py3-pytest
|
|
py3-sybil
|
|
py3-testfixtures
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/S/Scrapy/Scrapy-$pkgver.tar.gz"
|
|
builddir="$srcdir"/Scrapy-$pkgver
|
|
options="!check" # take forever
|
|
|
|
# secfixes:
|
|
# 2.6.1-r0:
|
|
# - CVE-2022-0577
|
|
# - CVE-2022-21716
|
|
|
|
replaces="py-scrapy" # Backwards compatibility
|
|
provides="py-scrapy=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
pytest tests
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
c33bf8fe45c96865483398920e823bd169d7d7e5d67dcfd5e57e4546f1016cfdcb404ebcbf67a6710a4597d5970f55481226fee25c27291dfaedfc00322327d9 Scrapy-2.11.1.tar.gz
|
|
"
|