~dricottone/huttese-apk

bf39950441489a11066b2f010ec9bc6593d5e1c8 — Drew DeVault 5 years ago 9e05cdb
sr.ht/py3-emailthreads: new APKBUILD
1 files changed, 25 insertions(+), 0 deletions(-)

A sr.ht/py3-emailthreads/APKBUILD
A sr.ht/py3-emailthreads/APKBUILD => sr.ht/py3-emailthreads/APKBUILD +25 -0
@@ 0,0 1,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"