# Contributor: Orion # Maintainer: Orion # Used https://aur.archlinux.org/packages/sc/scrapy/PKGBUILD as template pkgname=py3-scrapy _pkgname=Scrapy pkgver=1.7.3 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="45638732829976443714988ddcd016f7c222b2796c7bd353d6a93186e0182782211af60d1417cdf0980fa5ed6113c2e94b89e2d13ac42999ec1e45457913382d Scrapy-1.7.3.tar.gz"