Package Details: python-pynput 1.7.4-1

Git Clone URL: (read-only, click to copy)
Package Base: python-pynput
Description: Python library to monitor and control user input devices
Upstream URL:
Licenses: LGPL3
Submitter: j_4321
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 12
Popularity: 1.95
First Submitted: 2017-07-14 11:34
Last Updated: 2021-10-15 14:46

Latest Comments

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

taotieren commented on 2021-02-13 05:45

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

yochananmarqos commented on 2021-02-12 20:37

@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

@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

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

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/", line 5, in <module>
    import setuptools
  File "/usr/lib/python3.9/site-packages/setuptools/", line 16, in <module>
    import setuptools.version
  File "/usr/lib/python3.9/site-packages/setuptools/", line 1, in <module>
    import pkg_resources
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 559, in _build_master
    ws = cls()
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 552, in __init__
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 608, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 2063, in find_on_path
    for dist in factory(fullpath):
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 2128, in distributions_from_metadata
    yield Distribution.from_location(
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 2588, in from_location
    return cls(
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 2989, in _reload_version
    md_version = self._get_version()
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 2770, in _get_version
    version = _version_from_file(lines)
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 2554, in _version_from_file
    line = next(iter(version_lines), '')
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 2765, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 1417, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python3.9/site-packages/pkg_resources/", line 1407, in get_metadata
    value = self._get(path)
  File "/usr/lib/python3.9/site-packages/pkg_resources/", 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

@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

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

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

hazelnot commented on 2021-02-04 14:35

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

@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.