25 lines
810 B
Bash
25 lines
810 B
Bash
# Template file for 'python3-telegram'
|
|
pkgname=python3-telegram
|
|
version=0.15.0
|
|
revision=2
|
|
build_style=python3-module
|
|
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=eaa9c883e9a6415590eaada88b39817247361ee2ba959526081a14f3e66ecc0b
|
|
|
|
post_extract() {
|
|
# 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() {
|
|
vlicense LICENSE
|
|
}
|