Package Details: python2-pynput 1.4.5-1

Git Clone URL: https://aur.archlinux.org/python-pynput.git (read-only)
Package Base: python-pynput
Description: Python library to monitor and control user input devices
Upstream URL: https://github.com/moses-palmer/pynput
Licenses: LGPL3
Submitter: j_4321
Maintainer: j_4321
Last Packager: j_4321
Votes: 1
Popularity: 0.000001
First Submitted: 2017-07-14 11:34
Last Updated: 2019-11-07 10:52

Dependencies (6)

Required by (0)

Sources (2)

Latest Comments

yochananmarqos commented on 2019-11-07 00:06

The Python 3 and Python 2 packages need to be built separately, see my PKGBUILD.

marcinn commented on 2018-08-27 11:56

Hi. sphinx is not required for using pynput. Please make it as optional dependency (it is needed only for building online documentation)

j_4321 commented on 2018-07-12 13:42

@vanyasem The python2 version is no longer brocken now so I put it back. I took advantage of the release of version 1.4 to restructure the PKGBUILD following https://wiki.archlinux.org/index.php/User:Foxboron/Python_packaging_guidelines. Thanks for the advice about building in a clean chroot.

vanyasem commented on 2018-06-27 00:51

please test packages in a clean chroot as described in the wiki

vanyasem commented on 2018-06-27 00:50

missing python-setuptools dependency

j_4321 commented on 2018-06-22 18:51

@vanyasem Done.

vanyasem commented on 2018-06-22 01:35

Maybe remove the support for python2 for now? One of my packages depends on pynput, and is not broken because of that :c

j_4321 commented on 2018-06-12 21:46

@vanyasem I don't know how to fix this. Even python2 setup.py sdist doesn't work. I have reported the issue upstream (https://github.com/moses-palmer/pynput/issues/96).

vanyasem commented on 2018-06-11 14:22

The python2 package is broken

Running typed-ast-1.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fLo_SK/typed-ast-1.1.0/egg-dist-tmp-caOrav
Traceback (most recent call last):
  File "setup.py", line 123, in <module>
    'Topic :: System :: Monitoring'])
  File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 128, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 123, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 514, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 770, in resolve
    replace_conflicting=replace_conflicting
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1053, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1065, in obtain
    return installer(requirement)
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 581, in fetch_build_egg
    return cmd.easy_install(req)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 699, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 884, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1152, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1140, in run_setup
    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with Error: typed_ast only runs on Python 3.3 and above.
==> ERROR: A failure occurred in package_python2-pynput().