Package Details: python-telethon 1.18.2-1

Git Clone URL: https://aur.archlinux.org/python-telethon.git (read-only, click to copy)
Package Base: python-telethon
Description: Full-featured Telegram client library for Python 3
Upstream URL: https://github.com/LonamiWebs/Telethon
Licenses: MIT
Submitter: MaskRay
Maintainer: lilydjwg (lilac)
Last Packager: lilac
Votes: 4
Popularity: 0.098480
First Submitted: 2017-11-03 04:47
Last Updated: 2020-11-28 19:07

Latest Comments

lilydjwg commented on 2020-11-02 10:28

@JuniorJPDJ You need to pacman -R python-telethon. There was issues with 1.17.4.

JuniorJPDJ commented on 2020-11-02 10:21

I've got error when trying to update to 1.17.5 today:

==> Starting build()...
Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    from setuptools import find_packages, setup
  File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 16, in <module>
    import setuptools.version
  File "/usr/lib/python3.8/site-packages/setuptools/version.py", line 1, in <module>
    import pkg_resources
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3239, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 558, in _build_master
    ws = cls()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 551, in __init__
    self.add_entry(entry)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 607, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2060, in find_on_path
    for dist in factory(fullpath):
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2125, in distributions_from_metadata
    yield Distribution.from_location(
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2585, in from_location
    return cls(
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2985, in _reload_version
    md_version = self._get_version()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2767, in _get_version
    version = _version_from_file(lines)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2551, in _version_from_file
    line = next(iter(version_lines), '')
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2762, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1415, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1405, in get_metadata
    value = self._get(path)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1609, in _get
    with open(path, 'rb') as stream:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.8/site-packages/Telethon-1.17.4-py3.8.egg-info/PKG-INFO'

BrainDamage commented on 2020-01-01 15:06

This package installs the tests dir in the destination python dir, this can conflict with many other packages. To fix it, add: local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") rm -r "$pkgdir/$site_packages/tests/"

after executing install.

( see also https://wiki.archlinux.org/index.php/Python_package_guidelines#Test_directory_in_site-package )

lilydjwg commented on 2019-11-12 05:29

Hi streetwalrus, sorry for the delay because I didn't received notification.

Issues 1 and 2 have been resolved and I will implement others soon.

novenary commented on 2019-03-31 20:51

Hi, there are some minor issues with your PKGBUILD:
- async_generator is no longer required
- setuptools should be in the makedepends array, it's not required at runtime at any point
- you should not set $LANG unless it's strictly necessary to build (which is not the case here), and especially not to en_US.UTF-8 as it will to fail if that locale isn't enabled on the build machine
- since the license is MIT, you should install the license file (install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE")

I maintain the -git equivalent of this package and talk to the author on a daily basis, feel free to ask me if you have any questions. :)

5boro commented on 2018-08-08 09:42

Missing dependency : python-async_generator