Package Details: python-pynput 1.7.6-2

Git Clone URL: https://aur.archlinux.org/python-pynput.git (read-only, click to copy)
Package Base: python-pynput
Description: Python library to monitor and control user input devices
Upstream URL: https://github.com/moses-palmer/pynput
Licenses: LGPL-3.0-or-later
Submitter: j_4321
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 29
Popularity: 0.21
First Submitted: 2017-07-14 11:34 (UTC)
Last Updated: 2024-01-21 18:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

taotieren commented on 2021-02-13 05:45 (UTC)

sudo pacman -Rdd python-pynput && yay -S python-pynput

yochananmarqos commented on 2021-02-12 20:37 (UTC)

@grandchild: Do a clean build, I can't reproduce that.

FYI, git add --update only updates or removes previously tracked files but will not add new files.

grandchild commented on 2021-02-12 11:57 (UTC) (edited on 2021-02-12 11:58 (UTC) by grandchild)

@yochananmarqos Regarding your .gitignore file: Do you know about git add --update? You can use that instead of git add .+blanket-ignoring-everything.

grandchild commented on 2021-02-12 11:50 (UTC)

Something else than the package changed. I cannot build any of the recent versions of this package. Investigating...

grandchild commented on 2021-02-12 11:23 (UTC)

Fails to build upgrade 1.7.3-1 -> 1.7.3-2:

==> Starting build()...
Traceback (most recent call last):
  File "/home/jakob/.cache/yay/python-pynput/src/pynput-1.7.3/setup.py", line 5, in <module>
    import setuptools
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 16, in <module>
    import setuptools.version
  File "/usr/lib/python3.9/site-packages/setuptools/version.py", line 1, in <module>
    import pkg_resources
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 559, in _build_master
    ws = cls()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 552, in __init__
    self.add_entry(entry)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 608, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2063, in find_on_path
    for dist in factory(fullpath):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2128, in distributions_from_metadata
    yield Distribution.from_location(
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2588, in from_location
    return cls(
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2989, in _reload_version
    md_version = self._get_version()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2770, in _get_version
    version = _version_from_file(lines)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2554, in _version_from_file
    line = next(iter(version_lines), '')
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2765, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1417, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1407, in get_metadata
    value = self._get(path)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1611, in _get
    with open(path, 'rb') as stream:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.9/site-packages/pynput-1.7.3-py3.9.egg-info/PKG-INFO'

It looks like it's trying to build in /usr/ instead of $pkgdir/usr?

yochananmarqos commented on 2021-02-11 18:50 (UTC)

@sshaikh: I noticed that as well but forgot to fix it, thanks for reminding me. I'm not sure what caused the change, either.

sshaikh commented on 2021-02-11 18:38 (UTC)

After repackaging and upgrading, the package seems to be a little broken, as all installed files are 640 vs 644. Manually updating the permissions works.

Is this deliberate, or is something wrong with my install process? I can't see anything relevant in the changes for the PKGBUILD.

anemo commented on 2021-02-09 11:27 (UTC) (edited on 2021-02-09 11:27 (UTC) by anemo)

Requires these three for a successful build. python-pip, python-wheel, and python-setup-lint

hazelnot commented on 2021-02-04 14:35 (UTC)

I did a clean build and installed python-setuptools-lint, but it still didn't work until I installed python-wheel.

yochananmarqos commented on 2021-02-01 22:56 (UTC)

@yyd: I just built it in a clean chroot with python-setuptools-lint just fine. If you're using an AUR helper, make sure you do a clean build.