ayaports/user/py3-imap-tools/APKBUILD

27 lines
855 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-imap-tools
_pyname="imap-tools"
pkgver=1.0.0
pkgrel=0
arch="!armv7 noarch"
pkgdesc="Work with email and mailbox by IMAP"
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"
builddir="$srcdir"/$_pyname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build --prefix=/usr
}
sha512sums="
6bf5ca4c1ad47cbc5b3780c7a511ce5e7f2c1b87df302704609b399bd1fb7ea2ce130b0d16fb202dd44a9f1a56400beff1e850bf8136a8679a9dc925e018efc4 py3-imap-tools-1.0.0.tar.gz
"