~dricottone/huttese-apk

ref: 6dd0dc941a2b0efa237096667ed671c4fb472331 huttese-apk/sr.ht/py3-emailthreads/APKBUILD -rw-r--r-- 764 bytes
6dd0dc94 — Drew DeVault hg.sr.ht: correct -api binary name 3 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-emailthreads
pkgver=0.1.3
pkgrel=3
pkgdesc="Python library to parse and format email threads"
url="https://github.com/emersion/python-emailthreads"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/emersion/python-emailthreads/archive/v$pkgver.tar.gz"
builddir="$srcdir/python-emailthreads-${pkgver}"

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="a8b8c374704ddf934897a50034da1ebf2dabf221a7e64735be9524088931a02697facc40ef08250f2148c4ea22b8a2f76139eea82d0d7474f822aaac3dee2666  py3-emailthreads-0.1.3.tar.gz"