mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
29 lines
1 KiB
Text
29 lines
1 KiB
Text
# 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=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="2e3d18abd8398c9beaed3598e9ac9f332fcf2f5351f2291993c27576b983dc4397ad3b9852f831e8718d6dbb8a17e9a35f49c6fa849e832a3e1985ad1965c4f0 Scrapy-1.7.4.tar.gz"
|