diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-16 23:59:16 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-17 02:07:21 +0300 |
commit | 33ee483f9818d87678ae7b7370b86d683fb90308 (patch) | |
tree | b1d94eaa6bac46a33cd82806c1189891547e460a /testing/py3-w3lib/APKBUILD | |
parent | 6e2d0889332dc8eec0d3f20ac872029f5ace66bd (diff) | |
download | aports-33ee483f9818d87678ae7b7370b86d683fb90308.tar.bz2 aports-33ee483f9818d87678ae7b7370b86d683fb90308.tar.xz |
testing/py-w3lib: upgrade to python3
Diffstat (limited to 'testing/py3-w3lib/APKBUILD')
-rw-r--r-- | testing/py3-w3lib/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/py3-w3lib/APKBUILD b/testing/py3-w3lib/APKBUILD new file mode 100644 index 0000000000..7195698e1f --- /dev/null +++ b/testing/py3-w3lib/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-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="python3" +depends_dev="" +makedepends="py3-setuptools" +install="" +subpackages="" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgname-$pkgver" + +replaces="py-w3lib" # Backwards compatibility +provides="py-w3lib=$pkgver-r$pkgrel" # Backwards compatibility + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="debf3aed14f423eb36d730802cf23a393ec9364bd91d158b9a78a8e6deeb23886dea62a8cd47ab120b080c3b82c19aa6fc2865fdeb33add45a45389dbbfae5fa w3lib-1.15.0.tar.gz" |