~dricottone/huttese-apk

ref: 1358d39251e37b13888cf3d0486d077a7b0f1c13 huttese-apk/sr.ht/py3-srht/APKBUILD -rw-r--r-- 1.2 KiB
1358d392 — Drew DeVault builds.sr.ht: add -api 3 years ago
                                                                                
b19fb036 Drew DeVault
4741a76c Drew DeVault
b19fb036 Drew DeVault
02982534 Drew DeVault
ddf882be Drew DeVault
b19fb036 Drew DeVault
40eb9bc5 Drew DeVault
bdb848ee Drew DeVault
b19fb036 Drew DeVault
24d4f987 Drew DeVault
9eaff734 Drew DeVault
75f9a767 Drew DeVault
55f4df38 Drew DeVault
b19fb036 Drew DeVault
023bc5a6 Drew DeVault
b19fb036 Drew DeVault
5f894c0d Drew DeVault
9eaff734 Drew DeVault
fbe4e17e Drew DeVault
53e1be37 Drew DeVault
9eaff734 Drew DeVault
f9164eaf Drew DeVault
9eaff734 Drew DeVault
d05abae7 Drew DeVault
b19fb036 Drew DeVault
95099db2 David Florness
b19fb036 Drew DeVault
4422ad65 Drew DeVault
499e9ad0 Drew DeVault
4422ad65 Drew DeVault
b19fb036 Drew DeVault
bdb848ee Drew DeVault
b19fb036 Drew DeVault
fd7cbf06 Drew DeVault
bdb848ee Drew DeVault
b19fb036 Drew DeVault
02982534 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
52
53
54
55
56
57
58
59
60
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgbase=core.sr.ht
pkgname=py3-srht
pkgver=0.67.0
pkgrel=0
pkgdesc="sr.ht shared code"
url="https://git.sr.ht/~sircmpwn/core.sr.ht"
arch="noarch"
license="BSD"
depends="
	py3-alembic
	py3-bleach
	py3-celery
	py3-cryptography
	py3-flask
	py3-html5lib
	py3-humanize
	py3-mistletoe
	py3-pgpy
	py3-prometheus-client
	py3-psycopg2
	py3-pygments
	py3-redis
	py3-requests
	py3-soupsieve
	py3-sqlalchemy
	py3-sqlalchemy-utils
	py3-beautifulsoup4
"
makedepends="
	py-setuptools
	nodejs-npm
	git
"
source="
	$pkgbase-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgbase/archive/$pkgver.tar.gz
"
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="0c7c95fb03c78b4e99b6b27a4925b546aa7a67b3febbed9808f170e558c98f397036aaae6185d63d1fa1d64ed870bfd3bf3b41493bcb1590d2525959d64384bb  core.sr.ht-0.67.0.tar.gz"