ayaports/user/py3-imap-tools/APKBUILD

28 lines
850 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"
2021-11-30 21:44:44 +00:00
pkgver=0.41.0
pkgrel=0
2023-01-10 19:12:28 +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"
depends="python3"
makedepends="py3-setuptools"
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
build() {
2023-01-10 19:12:28 +00:00
python3 setup.py build
2021-11-30 21:44:44 +00:00
}
package() {
2023-01-10 19:12:28 +00:00
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build --prefix=/usr
2021-11-30 21:44:44 +00:00
}
sha512sums="
6174c5a689d7f0a0f1741f83f7451d4f969dd7388ff2b41f43f480b2474129fca614800b3db2106a9ae94a73230f072d0c13d4ee3c66d5130be595adbc4636e2 py3-imap-tools-0.41.0.tar.gz
"