~dricottone/huttese-apk

ref: 0d014d2df9b4b4a8680f57cc6f11b7139b6400d0 huttese-apk/sr.ht/py3-emailthreads/APKBUILD -rw-r--r-- 788 bytes
0d014d2d — Drew DeVault Add py3-emailthreads to lists.sr.ht dependencies 5 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-emailthreads
pkgver=0.1.0
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="py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/emersion/python-emailthreads/archive/v$pkgver.tar.gz"
builddir="$srcdir/python-emailthreads-${pkgver}"
options="!check" # no upstream test suite

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="42e7fb8dfbfcbe514c44324816eca4fbb859410e3548458f32a18560dd52514a9236d860a8397d76eb992c30a0807c93aff896e95296f1f932d3693e975124e7  py3-emailthreads-0.1.0.tar.gz"