blob: 40d94c8c0d86f6a614faab64197646a60b35d776 (
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
|
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-uritools
_pyname=uritools
pkgver=4.0.0
pkgrel=1
pkgdesc="Python functions for URI parsing, classification, and composition"
url="https://github.com/tkem/uritools"
license="MIT"
arch="noarch"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://github.com/tkem/uritools/archive/v$pkgver/uritools-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD"/build/lib pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
1925e0014072276451a3b409fac66a2c2c0562269f94e1e14c59557de2100d4b3633e5e8236045eab335f772a46bb00ad4890e4f0ab28968c1077307d10c65bd uritools-4.0.0.tar.gz
"
|