mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 00:34:41 +02:00
28 lines
886 B
Text
28 lines
886 B
Text
# Contributor: jahway603 <jahway603@tutanota.de>
|
|
# Maintainer: jahway603 <jahway603@tutanota.de>
|
|
pkgname=py3-cryptg
|
|
pkgver=0.5.0
|
|
pkgrel=0
|
|
pkgdesc="Official Telethon extension to provide much faster cryptography for Telegram API requests"
|
|
url="https://github.com/cher-nov/cryptg"
|
|
arch="all"
|
|
license="CC0-1.0"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-setuptools py3-setuptools-rust py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/c/cryptg/cryptg-$pkgver.tar.gz"
|
|
builddir="$srcdir/cryptg-$pkgver"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="3297c8ee9ea6ad282512201f3ec681650b8e11730ea7fe7e30e88950bdd180a07aa9476f18cbcad9fd0d350680f530415b2bf75cbf0d8a459e88a8ad48a23fd2 cryptg-0.5.0.tar.gz"
|