blob: e4fc60f836f9c7f85a8d06be51ab0e42559b7cef (
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
31
32
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-yarl
_pkgname=yarl
pkgver=1.2.6
pkgrel=0
pkgdesc="Yet another URL library"
url="http://yarl.readthedocs.io"
arch="all"
license="Apache-2.0"
depends="py3-multidict"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py test
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir"
}
sha512sums="44384a11944808583139bf87846cd0080545efddb04be750d923e1b7dc8a4f88c3801b9e6fe742136298c79e60ac94e2584e3b39e42f002af4d6bd970896d3f2 yarl-1.2.6.tar.gz"
|