From 8618cd3b4ceb7689dd0a6624afcb61ef2d94cd76 Mon Sep 17 00:00:00 2001 From: Tuxliban Torvalds Date: Sat, 23 Apr 2022 03:02:01 -0500 Subject: [PATCH] python3-telegram: update to 0.15.0 --- srcpkgs/python3-telegram/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-telegram/template b/srcpkgs/python3-telegram/template index b9eebe0fde9..13b971bbd6b 100644 --- a/srcpkgs/python3-telegram/template +++ b/srcpkgs/python3-telegram/template @@ -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 " 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() {