blob: 91f63b07d038fc2918ae41fcc6a155f0bfaee6a2 (
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: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=py3-gpep517
_pkgname=gpep517
pkgver=11
pkgrel=1
pkgdesc="Minimal backend script to aid installing Python packages through PEP 517-compliant build systems"
url="https://github.com/mgorny/gpep517/"
arch="noarch"
license="MIT"
depends="py3-installer python3"
source="https://github.com/mgorny/gpep517/archive/v$pkgver/gpep517-v$pkgver.tar.gz
gpep517
"
builddir="$srcdir/$_pkgname-$pkgver"
check() {
python3 -m gpep517 --help
}
package() {
local sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')"
mkdir -p "$pkgdir/$sitedir"
cp -a gpep517 "$pkgdir/$sitedir"
install -Dm755 "$srcdir"/gpep517 -t "$pkgdir"/usr/bin
}
sha512sums="
5ce840841d99c20d62b5b6c8dcb6ec353e40c75537aa99e44fa7dc13bff37444cd66d4cbc97eb1b107b6df85edfda853343d5e8ef1865d0d5ccd293c1496b5c0 gpep517-v11.tar.gz
3e90bf2d94006672c66f5082812115903054b6e05a5d37aa9a0fd33f7b2c8368f13e5fbd3ea815c386d6155dcbf8babd69faa9ca27b95f35b35a4ef47974efd7 gpep517
"
|