blob: 000ef03fb5367dbfd72af62962e9ce0abf1da4c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Orion <systmkor@gmail.com>
# Maintainer: Orion <systmkor@gmail.com>
# Used https://aur.archlinux.org/packages/sc/scrapy/PKGBUILD as template
pkgname=py3-scrapy
_pkgname=Scrapy
pkgver=1.7.4
pkgrel=1
pkgdesc="A fast high-level scraping and web crawling framework."
url="https://scrapy.org/"
arch="noarch"
license="BSD"
depends="python3 py3-w3lib py3-queuelib py3-openssl py3-cssselect
py3-six py3-parsel py3-pydispatcher py3-service_identity py3-lxml
py3-twisted"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$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="2e3d18abd8398c9beaed3598e9ac9f332fcf2f5351f2291993c27576b983dc4397ad3b9852f831e8718d6dbb8a17e9a35f49c6fa849e832a3e1985ad1965c4f0 Scrapy-1.7.4.tar.gz"
|