~dricottone/huttese-apk

ref: 8be92099f112f16887b692fee05db4cbc78eb967 huttese-apk/sr.ht/py3-scmsrht/APKBUILD -rw-r--r-- 702 bytes
8be92099 — Drew DeVault Add py3-scmsrht package, update py3-srht 5 years ago
                                                                                
8be92099 Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgbase=scm.sr.ht
pkgname=py3-scmsrht
pkgver=0.1.1
pkgrel=0
pkgdesc="sr.ht shared code"
url="https://git.sr.ht/~sircmpwn/scm.sr.ht"
arch="noarch"
license="BSD"
depends="
	py3-srht
"
makedepends="
	py-setuptools
	nodejs-npm
	git
"
source="http://git.sr.ht/~sircmpwn/$pkgbase/snapshot/$pkgbase-$pkgver.tar.xz"
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="2262d62ed1c6c0d7ef697e346a59b2f1416561d216afc897d33680a405ebbe9a  scm.sr.ht-0.1.1.tar.xz"