blob: 18c365d52709e41378948ff2307dd75b29d33858 (
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
33
34
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=py3-distlib
pkgver=0.3.6
pkgrel=0
pkgdesc="Distribution utilities"
url="https://github.com/pypa/distlib"
arch="noarch"
license="PSF-2.0"
depends="python3"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
source="https://github.com/pypa/distlib/releases/download/$pkgver/distlib-$pkgver.tar.gz"
builddir="$srcdir/distlib-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 1
}
check() {
PYTHONHASHSEED=0 python3 -m unittest discover tests
}
package() {
python3 -m installer -d "$pkgdir" \
dist/distlib*.whl
rm "$pkgdir"/usr/lib/python3*/site-packages/distlib/*.exe
}
sha512sums="
27f3a59f9175a92befb9a65a66cd0b8eb65185dab6fa13ef94e85ca69c2bc1b7281ce1522601034007cb98677ba9237a46224df4adc70ed966db7e131e073636 distlib-0.3.6.tar.gz
"
|