mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 20:56:46 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
33 lines
859 B
Text
33 lines
859 B
Text
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-telegram-text
|
|
pkgver=0.2.0
|
|
pkgrel=1
|
|
pkgdesc="Python markup module for Telegram messenger"
|
|
url="https://telegram-text.alinsky.tech/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-poetry-core py3-installer"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/SKY-ALIN/telegram-text/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/telegram-text-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/telegram_text*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
aeab4e87fb4f07f0c335ecd2cddc42b754699285b59eec5bc8433dbf817b576dd36ade4c75cbad79642127f0c7e2f7c1f6bd2b220c2755bb9550ffed82a5cb14 py3-telegram-text-0.2.0.tar.gz
|
|
"
|