~dricottone/huttese-apk

ref: fd7cbf061b4886e75469fe242590df11e90e2299 huttese-apk/sr.ht/py3-srht/APKBUILD -rw-r--r-- 1.0 KiB
fd7cbf06 — Drew DeVault Update bootstrap version used for core.sr.ht 6 years ago
                                                                                
b19fb036 Drew DeVault
bdb848ee Drew DeVault
04866bce Drew DeVault
b19fb036 Drew DeVault
40eb9bc5 Drew DeVault
bdb848ee Drew DeVault
b19fb036 Drew DeVault
fd7cbf06 Drew DeVault
b19fb036 Drew DeVault
fd7cbf06 Drew DeVault
b19fb036 Drew DeVault
bdb848ee Drew DeVault
b19fb036 Drew DeVault
fd7cbf06 Drew DeVault
bdb848ee Drew DeVault
b19fb036 Drew DeVault
bdb848ee 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgbase=srht
pkgname=py3-srht
pkgver=0.11.3
pkgrel=0
pkgdesc="sr.ht shared code"
url="https://git.sr.ht/~sircmpwn/core.sr.ht"
arch="noarch"
license="BSD"
depends="
	py3-flask
	py3-flask-login
	py3-humanize
	py3-sqlalchemy
	py3-sqlalchemy-utils
	py3-bleach
	py3-markdown
	py3-requests
	py3-pgpy
	py3-pygfm
	nodejs
"
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"

prepare() {
	default_prepare
	cd "$builddir"
	git clone --depth=1 -b v4.1.1 \
		git://github.com/twbs/bootstrap srht/scss/bootstrap
}

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="85372540e058544612b52775c41647ebf7158bb2eca2e14012038746719bc9313110d3f9599a5dccf5235d95bdfdc86a68877305f4dc6b120ec3a20b1148972d  srht-0.11.3.tar.xz"