mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 16:46:46 +02:00
34 lines
1,022 B
Text
34 lines
1,022 B
Text
# Contributor: Sam Whited <sam@samwhited.com>
|
|
# Maintainer: Sam Whited <sam@samwhited.com>
|
|
pkgname=py3-aiosasl
|
|
_pkgname=aiosasl
|
|
pkgver=0.5.0
|
|
pkgrel=4
|
|
pkgdesc="A generic asyncio-based SASL authentication library."
|
|
url="https://pypi.org/project/aiosasl/"
|
|
arch="all"
|
|
license="LGPL-3.0-only"
|
|
depends="python3"
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
options="!check" # tests not included in source package.
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
|
|
install -Dm644 COPYING.LESSER COPYING.gpl3 LICENSES README.rst \
|
|
-t "$pkgdir"/usr/share/licenses/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
bde4bf6ac82a385be60593305ac83927aa44312393850c8f6489e885392d033e90ab6cdbd3ccadec1ca45aa3bd9907f7f586293d54e8180c71706e3b53c36ed8 aiosasl-0.5.0.tar.gz
|
|
"
|