~dricottone/huttese-apk

ref: fcdbf827885021e41c64080d693d8387f9c70498 huttese-apk/pkgsrc/py3-scmsrht/APKBUILD -rw-r--r-- 793 bytes
fcdbf827Dominic Ricottone Reshaping repo 2 years ago
                                                                                
8be92099 Drew DeVault
a5e1fbff Drew DeVault
181b1eda Drew DeVault
8be92099 Drew DeVault
af85ab72 Drew DeVault
8be92099 Drew DeVault
36d180a7 Drew DeVault
8be92099 Drew DeVault
181b1eda Drew DeVault
a5e1fbff Drew DeVault
181b1eda 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgbase=scm.sr.ht
pkgname=py3-scmsrht
pkgver=0.22.21
pkgrel=0
pkgdesc="sr.ht shared code"
url="https://git.sr.ht/~sircmpwn/scm.sr.ht"
arch="noarch"
license="BSD"
depends="
	builds.sr.ht
	py3-srht
"
makedepends="
	py-setuptools
	git
"
source="
	$pkgbase-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgbase/archive/$pkgver.tar.gz
"
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="
903432f6ba104949bbc83b77538b45e36fe8a3354afbac0e053fe4bb33380a44ec7208a0bb3a333c5933df3bed5c23cd4883ba39ca4161ccc70df3b0ff863087  scm.sr.ht-0.22.21.tar.gz
"