python3-telegram: update to 0.15.0

This commit is contained in:
Tuxliban Torvalds 2022-04-23 03:02:01 -05:00 committed by Michal Vasilek
parent 2880719c0d
commit 8618cd3b4c

View file

@ -1,20 +1,23 @@
# Template file for 'python3-telegram'
pkgname=python3-telegram
version=0.14.0
revision=3
version=0.15.0
revision=1
wrksrc=python-telegram-${version}
build_style=python3-module
hostmakedepends="python3"
hostmakedepends="python3-setuptools"
depends="libtd python3-setuptools"
checkdepends="python3-pytest $depends"
short_desc="Python library for building Telegram clients"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/alexander-akhmetov/python-telegram"
distfiles="https://github.com/alexander-akhmetov/python-telegram/archive/${version}.tar.gz"
checksum=11b0a2387bae642eb7f134fe35b9ef67b8183aa961412bcdfa86ff404beed897
checksum=eaa9c883e9a6415590eaada88b39817247361ee2ba959526081a14f3e66ecc0b
post_extract() {
rm -r telegram/lib
# mocked_resource.assert_called_once_with('telegram', 'lib/linux/libtdjson.so')
# AssertionError: Expected 'mock' to be called once. Called 0 times.
rm tests/test_tdjson.py
}
post_install() {