~dricottone/huttese-apk

ref: 96cb27d7a6f10cfc6bfbccb4d5e993b75d9c3f77 huttese-apk/sr.ht/py3-emailthreads/APKBUILD -rw-r--r-- 764 bytes
96cb27d7 — Drew DeVault py3-minio: upgrade to 5.0.10 4 years ago
                                                                                
bf399504 Drew DeVault
26df7e93 Drew DeVault
c41638ad Drew DeVault
bf399504 Drew DeVault
1061d91b Drew DeVault
bf399504 Drew DeVault
1061d91b Drew DeVault
bf399504 Drew DeVault
26df7e93 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-emailthreads
pkgver=0.1.2
pkgrel=2
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="8874e797c867fa97d58ec123cd6a139f1ebb3591f361d3cdec4699f6ebdbdb35eca15e5d317e3e12083e79a67d9bff25f7b1f15ddfe9b378f00ebf87279bd2bc  py3-emailthreads-0.1.2.tar.gz"