~dricottone/huttese-apk

ref: 31f4ccfbc18c96bdae8e21cc289c0d43127853ae huttese-apk/sr.ht/py3-srht/APKBUILD -rw-r--r-- 1.1 KiB
31f4ccfb — Drew DeVault sr.ht/py3-arrow: update to 0.15.4 4 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgbase=core.sr.ht
pkgname=py3-srht
pkgver=0.49.9
pkgrel=1
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-humanize
	py3-misaka
	py3-pgpy
	py3-pygments
	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="a49172cea162dfa9ab22d7d3450893db23c7e57bf825f08b35fdb0f9f250bd15ece7d463b1ab6fd42b53513c7c932a4d0a8db939cddda6043e1eb8b4b9874520  core.sr.ht-0.49.9.tar.gz"