ayaports/testing/py3-imap-tools/APKBUILD

37 lines
912 B
Text
Raw Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-10 19:12:28 +00:00
pkgname=py3-imap-tools
_pyname="imap-tools"
pkgver=1.5.0
2021-11-30 21:44:44 +00:00
pkgrel=0
2023-08-11 19:49:05 +00:00
arch="noarch"
2021-11-30 21:44:44 +00:00
pkgdesc="Work with email and mailbox by IMAP"
2023-01-10 19:12:28 +00:00
url="https://pypi.python.org/project/$_pyname"
license="Apache-2.0"
2023-08-30 17:55:14 +00:00
makedepends="
py3-setuptools
py3-gpep517
py3-wheel
py3-installer
"
2023-01-10 19:12:28 +00:00
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
2023-08-30 17:55:14 +00:00
subpackages="$pkgname-pyc"
2021-11-30 21:44:44 +00:00
build() {
2023-08-30 17:55:14 +00:00
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
2021-11-30 21:44:44 +00:00
}
package() {
2023-08-30 17:55:14 +00:00
python3 -m installer -d "$pkgdir" \
dist/*.whl
2021-11-30 21:44:44 +00:00
}
2023-08-30 17:55:14 +00:00
2021-11-30 21:44:44 +00:00
sha512sums="
105a3e15d502dcb6056a66f58ab1b9025637e5631436a4d8e3d1a4bcf59e1e718b9bb7e097c7f1348732b8dd9d5447ab9da4295c8ea4f9b82befefafb0a45fa6 py3-imap-tools-1.5.0.tar.gz
2021-11-30 21:44:44 +00:00
"