summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorj.r2021-04-22 10:53:01 +0200
committerj.r2021-04-22 10:53:01 +0200
commit79f2ced85a7d7ac11c5f8d07bf352a2d215d4b96 (patch)
treee31b701ba2c799222aa13a05974d39360af9c476
parentfd12b444e6c9edb386e5cfe26cfc622edc59beb8 (diff)
downloadaur-79f2ced85a7d7ac11c5f8d07bf352a2d215d4b96.tar.gz
telegram-tg(-git): bump to 0.11.0
patches for python-telegram version are not needed anymore
-rw-r--r--.SRCINFO6
-rw-r--r--0001-Change-setup.py-to-accept-new-python-telegram-ver.patch23
-rw-r--r--PKGBUILD16
3 files changed, 6 insertions, 39 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6af10ee3a65..3b90dcb0d6d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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 d5e8e746ad8..00000000000
--- 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
-
diff --git a/PKGBUILD b/PKGBUILD
index d4b97705b13..f30384ee8d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"