~dricottone/huttese-apk

ref: 9c1c6927ed80fd40dcc08fb241d0cc5c8fdcae48 huttese-apk/sr.ht/py3-scmsrht/APKBUILD -rw-r--r-- 789 bytes
9c1c6927 — Drew DeVault py3-asyncpg: upgrade to 0.24.0 3 years ago
                                                                                
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
35
36
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgbase=scm.sr.ht
pkgname=py3-scmsrht
pkgver=0.22.9
pkgrel=0
pkgdesc="sr.ht shared code"
url="https://git.sr.ht/~sircmpwn/scm.sr.ht"
arch="noarch"
license="BSD"
depends="
	builds.sr.ht
	py3-srht
"
makedepends="
	py-setuptools
	git
"
source="
	$pkgbase-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgbase/archive/$pkgver.tar.gz
"
builddir="$srcdir/$pkgbase-$pkgver"
options="$options !check"

build() {
	cd "$builddir"
	export PKGVER=$pkgver
	python3 setup.py build
}

package() {
	cd "$builddir"
	export PKGVER=$pkgver
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="344fe24ab2b39ad6b8bdfdcbc280dbfde323e6ed7cc89e21ebd144250dd30bb49de77b52256f24cf4f60805ea46ac5bc5b3adf5bd375b51c39531ec8d68c7ce5  scm.sr.ht-0.22.9.tar.gz"