diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | 0001-Change-setup.py-to-accept-new-python-telegram-ver.patch | 23 | ||||
-rw-r--r-- | PKGBUILD | 16 |
3 files changed, 6 insertions, 39 deletions
@@ -1,13 +1,13 @@ pkgbase = telegram-tg-git pkgdesc = terminal telegram client that really works - pkgver = 0.7.0.r8.c7b08b3 + pkgver = 0.11.0.r1.bba72ef pkgrel = 1 url = https://github.com/paul-nameless/tg arch = any license = Unlicense makedepends = git makedepends = python-setuptools - depends = python-telegram + depends = python-telegram=0.14.0 depends = python3 optdepends = libnotify: for notifications, you could also use other programs: see config optdepends = ffmpeg: to record voice msgs and upload videos correctly @@ -18,9 +18,7 @@ pkgbase = telegram-tg-git provides = telegram-tg conflicts = telegram-tg source = telegram-tg::git+https://github.com/paul-nameless/tg.git - source = 0001-Change-setup.py-to-accept-new-python-telegram-ver.patch md5sums = SKIP - md5sums = 7b9a556ce7d2203fbee32442a96d73bc pkgname = telegram-tg-git diff --git a/0001-Change-setup.py-to-accept-new-python-telegram-ver.patch b/0001-Change-setup.py-to-accept-new-python-telegram-ver.patch deleted file mode 100644 index d5e8e746ad8e..000000000000 --- a/0001-Change-setup.py-to-accept-new-python-telegram-ver.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 0b4663c21a1dac223872f16473840b9daf446d8b Mon Sep 17 00:00:00 2001 -From: "j.r" <j.r@jugendhacker.de> -Date: Tue, 29 Dec 2020 14:44:26 +0100 -Subject: [PATCH 1/2] Change setup.py to accept new python-telegram ver - ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index e1aea71..e98daa1 100644 ---- a/setup.py -+++ b/setup.py -@@ -22,5 +22,5 @@ setup( - packages=["tg"], - entry_points={"console_scripts": ["tg = tg.__main__:main"]}, - python_requires=">=3.8", -- install_requires=["python-telegram==0.12.0"], -+ install_requires=["python-telegram>=0.12.0"], - ) --- -2.30.1 - @@ -1,13 +1,13 @@ # Maintainer: j.r <j.r@jugendhacker.de> _pkgname=telegram-tg pkgname=$_pkgname-git -pkgver=0.7.0.r8.c7b08b3 +pkgver=0.11.0.r1.bba72ef pkgrel=1 pkgdesc="terminal telegram client that really works" arch=(any) url="https://github.com/paul-nameless/tg" license=('Unlicense') -depends=('python-telegram' 'python3') +depends=('python-telegram=0.14.0' 'python3') makedepends=('git' 'python-setuptools') optdepends=( 'libnotify: for notifications, you could also use other programs: see config' @@ -19,10 +19,8 @@ optdepends=( ) provides=("$_pkgname") conflicts=("$_pkgname") -source=("$_pkgname::git+https://github.com/paul-nameless/tg.git" - "0001-Change-setup.py-to-accept-new-python-telegram-ver.patch") -md5sums=('SKIP' - '7b9a556ce7d2203fbee32442a96d73bc') +source=("$_pkgname::git+https://github.com/paul-nameless/tg.git") +md5sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" @@ -30,12 +28,6 @@ pkgver() { printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/\(v\)\(.*\)/\2/')" } -prepare() { - cd "${srcdir}/${_pkgname}" - - patch -p1 -i ${srcdir}/0001-Change-setup.py-to-accept-new-python-telegram-ver.patch -} - build() { cd "$srcdir/$_pkgname" |