ayaports/user/py3-imap-tools/APKBUILD

28 lines
848 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-04-01 13:17:11 +00:00
pkgver=1.0.0
2021-11-30 21:44:44 +00:00
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="
2023-04-01 13:17:11 +00:00
6bf5ca4c1ad47cbc5b3780c7a511ce5e7f2c1b87df302704609b399bd1fb7ea2ce130b0d16fb202dd44a9f1a56400beff1e850bf8136a8679a9dc925e018efc4 py3-imap-tools-1.0.0.tar.gz
2021-11-30 21:44:44 +00:00
"