Commit 09429ac4 authored by Francesco Colista's avatar Francesco Colista
Browse files

community/py3-yarl-gns3: new dependency of gns3

parent 611c73d2
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-yarl-gns3
_pkgname=yarl
pkgver=1.6.3
pkgrel=0
pkgdesc="Yet another URL library - GNS3 compatible version"
url="http://yarl.readthedocs.io"
arch="all"
license="Apache-2.0"
depends="py3-multidict-gns3 py3-idna !py3-yarl"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-pytest py3-pytest-cov"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$(echo "$PWD"/build/lib.*)" py.test-3
}
package() {
python3 setup.py install --root="$pkgdir"
}
sha512sums="4c76b94198b8e334f4b4e71d92b0fe23f752d35e0c29bc68df99648b3f48fbb6e3dd8d7339138544e5dc8fbf64c15cb61678052670ac47edc5be958df819d42e yarl-1.6.3.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment