diff options
author | lilac | 2020-11-29 03:07:00 +0800 |
---|---|---|
committer | lilac | 2020-11-29 03:07:00 +0800 |
commit | a1c09336bbc41de26670281e87c1914747aa3900 (patch) | |
tree | d88d4ef00555966a2df1cab5f0addd7f4df3076c | |
parent | 6ba8855fd5fe350e412dbb3d0db7c185b993ac96 (diff) | |
download | aur-a1c09336bbc41de26670281e87c1914747aa3900.tar.gz |
[lilac] updated to 1.18.2-1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 13 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = python-telethon pkgdesc = Full-featured Telegram client library for Python 3 - pkgver = 1.17.5 + pkgver = 1.18.2 pkgrel = 1 url = https://github.com/LonamiWebs/Telethon arch = any @@ -8,8 +8,8 @@ pkgbase = python-telethon makedepends = python-setuptools depends = python-pyaes depends = python-rsa - source = https://files.pythonhosted.org/packages/source/T/Telethon/Telethon-1.17.5.tar.gz - sha256sums = 958432bb3849d3e1fecfb45e211832a579fb4340a1d2b21b0d1a7d30407e39ec + source = https://files.pythonhosted.org/packages/source/T/Telethon/Telethon-1.18.2.tar.gz + sha256sums = 4695ff737692f745c2e44f1f22996b415ce7715d7e764e27b0528fb61d30cefb pkgname = python-telethon @@ -1,6 +1,6 @@ _name=Telethon pkgname=python-telethon -pkgver=1.17.5 +pkgver=1.18.2 pkgrel=1 pkgdesc="Full-featured Telegram client library for Python 3" arch=(any) @@ -8,18 +8,23 @@ url="https://github.com/LonamiWebs/Telethon" license=('MIT') depends=('python-pyaes' 'python-rsa') makedepends=('python-setuptools') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/Telethon-1.17.5.tar.gz") -sha256sums=('958432bb3849d3e1fecfb45e211832a579fb4340a1d2b21b0d1a7d30407e39ec') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/Telethon-1.18.2.tar.gz") +sha256sums=('4695ff737692f745c2e44f1f22996b415ce7715d7e764e27b0528fb61d30cefb') build() { - cd "$srcdir/Telethon-1.17.5" + cd "$srcdir/Telethon-1.18.2" python3 setup.py build } package() { - cd "$srcdir/Telethon-1.17.5" + cd "$srcdir/Telethon-1.18.2" python3 setup.py install --root=$pkgdir --optimize=1 --skip-build + # make sure we don't install any world-writable or root-readable-only files + # we shouldn't need to fix ownership as we extract tarballs as a non-root user + # https://github.com/pypa/setuptools/issues/1328 + # https://github.com/LonamiWebs/Telethon/issues/1605 + chmod u=rwX,go=rX -R "$pkgdir" # make sure we don't install annoying files local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])") rm -rf "$pkgdir/$_site_packages/tests/" |