mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
37 lines
943 B
Text
37 lines
943 B
Text
# Contributor: Orion <systmkor@gmail.com>
|
|
# Maintainer: Orion <systmkor@gmail.com>
|
|
pkgname=py3-scrapy
|
|
pkgver=2.1.0
|
|
pkgrel=0
|
|
pkgdesc="Fast high-level scraping and web crawling framework."
|
|
url="https://scrapy.org/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
python3
|
|
py3-cssselect
|
|
py3-lxml
|
|
py3-openssl
|
|
py3-parsel
|
|
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="ec4ddc8b1fe427c93fabdc12c221f3bd26af9388b374d9ca8178ff78a3928dbc439cc983809a71203e4c20cda39ad021ccb104ee9ddf7dc31346309b7d75038a Scrapy-2.1.0.tar.gz"
|