~dricottone/huttese-apk

ref: d98b3b34688f9a6457427c93aac496f60c0a05e1 huttese-apk/sr.ht/py3-srht/APKBUILD -rw-r--r-- 931 bytes
d98b3b34 — Drew DeVault Move into subdir for abuild reasons 7 years ago
                                                                                
b19fb036 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgbase=srht
pkgname=py3-srht
pkgver=0.10.2
pkgrel=1
pkgdesc="sr.ht shared code"
url="https://git.sr.ht/~sircmpwn/srht"
arch="all"
license="BSD"
depends="
	py3-flask
	py3-humanize
	py3-sqlalchemy
	py3-sqlalchemy-utils
	py3-bleach
	py3-markdown
	py3-requests
	nodejs
"
makedepends="
	py-setuptools
	nodejs-npm
	git
"
source="http://git.sr.ht/~sircmpwn/$pkgbase/snapshot/$pkgbase-$pkgver.tar.xz"
builddir="$srcdir/$pkgbase-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	git clone -b v4.0.0-alpha.6 git://github.com/twbs/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="9128a378264980aca13b11c20a6a884658f574dd26beebbe5b6a3cf135e10f407f27374c633d0a6f5cec067061351a6e808590e68255bae69f365edb91c71bab  srht-0.10.2.tar.xz"