mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
40 lines
973 B
Text
40 lines
973 B
Text
# Contributor: Orion <systmkor@gmail.com>
|
|
# Maintainer: Orion <systmkor@gmail.com>
|
|
pkgname=py3-scrapy
|
|
pkgver=2.3.0
|
|
pkgrel=2
|
|
pkgdesc="Fast high-level scraping and web crawling framework"
|
|
url="https://scrapy.org/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
python3
|
|
py3-cssselect
|
|
py3-itemadapter
|
|
py3-lxml
|
|
py3-openssl
|
|
py3-parsel
|
|
py3-protego
|
|
py3-pydispatcher
|
|
py3-queuelib
|
|
py3-service_identity
|
|
py3-six
|
|
py3-twisted
|
|
py3-w3lib
|
|
"
|
|
makedepends="py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/S/Scrapy/Scrapy-$pkgver.tar.gz"
|
|
builddir="$srcdir"/Scrapy-$pkgver
|
|
|
|
replaces="py-scrapy" # Backwards compatibility
|
|
provides="py-scrapy=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="85a4083f26b7131b39be24aaffd1353616b2d04fdff437f2037b64357b5d1cc43f3b964614add06beea24c77f430923daaa2531f8d90d9cd77710cb48f352103 Scrapy-2.3.0.tar.gz"
|