backports/py3-w3lib: drop for in community
This commit is contained in:
parent
cd8c8dc55d
commit
6681d816a8
1 changed files with 0 additions and 35 deletions
|
@ -1,35 +0,0 @@
|
|||
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
||||
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
||||
pkgname=py3-w3lib
|
||||
_pkgname=w3lib
|
||||
pkgver=2.1.2
|
||||
pkgrel=0
|
||||
pkgdesc="A library of web-related functions"
|
||||
url="https://github.com/scrapy/w3lib"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools"
|
||||
checkdepends="py3-pytest"
|
||||
subpackages="$pkgname-pyc"
|
||||
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() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
pytest -v
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
cfff2520cab24b84c93223125de3fb813e4d40d23a022f7fc34196c3033adb5dfc01358d62566dcc4b763d40b271e1428eba0250ba997228d07f35cd3721e37e w3lib-2.1.2.tar.gz
|
||||
"
|
Loading…
Reference in a new issue