~dricottone/huttese-apk

ref: 2a97635cb38a67d5d15b9311689f412ebf4c211e huttese-apk/sr.ht/py3-emailthreads/APKBUILD -rw-r--r-- 764 bytes
2a97635c — Drew DeVault git.sr.ht: update to Go version of update-hook 4 years ago
                                                                                
bf399504 Drew DeVault
1061d91b Drew DeVault
bf399504 Drew DeVault
1061d91b Drew DeVault
bf399504 Drew DeVault
1061d91b Drew DeVault
bf399504 Drew DeVault
1061d91b 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.1
pkgrel=0
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="d0dafc0211a1aba88d891ac4dc533785716782ddfedb05436b68cefb84ae39efaa3a7a34ae3726e5215164eb59bf4f9dade2c19ddc83a6e946216952bb440c57  py3-emailthreads-0.1.1.tar.gz"