mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			62 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			62 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Orion <systmkor@gmail.com>
 | |
| # Maintainer: Orion <systmkor@gmail.com>
 | |
| pkgname=py3-scrapy
 | |
| pkgver=2.8.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
 | |
| 	"
 | |
| 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="
 | |
| 6e631f84e27aeab5aeae672047869deb783b3c2f6de66c9bd6df768598a638d7e76a3f38945bfdf82f5ca0eb69491c262960f1645fe2f4947f72c0829a0eefaf  Scrapy-2.8.0.tar.gz
 | |
| "
 |