mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-09 07:41:58 +02:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
|
|
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
|
|
pkgname=getmail6
|
|
pkgver=6.19.03
|
|
pkgrel=0
|
|
pkgdesc="mail retriever with support for POP3, IMAP4 and SDPS"
|
|
url="https://getmail6.org/"
|
|
arch="noarch"
|
|
license="GPL-2.0-only"
|
|
checkdepends="py3-pytest"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
depends="python3"
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
source="https://github.com/getmail6/getmail6/archive/v$pkgver/getmail-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest -v test/test.py
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
mv "$pkgdir/usr/share/doc/getmail-$pkgver" "$pkgdir/usr/share/doc/$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
1c4f4a7c4661769ee864de5698cfec9beed6058399b1d50803fdfc2c1d517f4bbc1e73802c49a4503f8f16e9d0dc9f6ceb7391ca5891527f926c7762c677840c getmail-6.19.03.tar.gz
|
|
"
|