mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
30 lines
842 B
Text
30 lines
842 B
Text
# 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"
|