aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-scrapy/APKBUILD
blob: 45a100c8b16718c4fd422933136632d170d6a91e (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.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"