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"
2023-08-30 17:55:14 +00:00
pkgver=1.2.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="
2023-08-30 17:55:14 +00:00
33f9b9e983b218968173505afe810e837eed3199e1e5abf108de1ddb75b99f4a821ca82f38d79e18d52f17766a553b40cf493b0c89e5fcd5681a5e891f65e889 py3-imap-tools-1.2.0.tar.gz
2021-11-30 21:44:44 +00:00
"