mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
# Contributor: Orion <systmkor@gmail.com>
|
|
# Maintainer: Orion <systmkor@gmail.com>
|
|
pkgname=py3-scrapy
|
|
pkgver=2.9.0
|
|
pkgrel=0
|
|
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-openssl
|
|
py3-parsel
|
|
py3-protego
|
|
py3-pydispatcher
|
|
py3-queuelib
|
|
py3-service_identity
|
|
py3-tldextract
|
|
py3-twisted
|
|
py3-w3lib
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools"
|
|
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() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest tests
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
92f78d785e9770d5c38e72daeeb2a72d4f410692063c35d4997aa00afb8c9174b2ecb904eae551e20a0ea5a2585dece8e467909caf8f82411c58f04bdd9a83f0 Scrapy-2.9.0.tar.gz
|
|
"
|