aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-w3lib/APKBUILD
blob: ab882f5cb92f2e4f296b07514b931765c878d701 (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
30
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-w3lib
_pkgname=w3lib
pkgver=1.15.0
pkgrel=0
pkgdesc="A library of web-related functions"
url="https://github.com/scrapy/w3lib"
arch="noarch"
license="BSD"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="debf3aed14f423eb36d730802cf23a393ec9364bd91d158b9a78a8e6deeb23886dea62a8cd47ab120b080c3b82c19aa6fc2865fdeb33add45a45389dbbfae5fa  w3lib-1.15.0.tar.gz"