blob: a53e958c47646bb0edd06de1daf316981c8a4b32 (
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.8.0
pkgrel=0
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="fcc988cee171a8134ff8a6cd2655d715942fb9e720a070654bc634863e444f121e990910a0c1377e3b4679d496610267cc43eb907b8cf27d0623053c66ff26b9 Scrapy-1.8.0.tar.gz"
|