Package Details: python-pynput 1.7.7-1

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.143536
First Submitted: 2017-07-14 11:34 (UTC)
Last Updated: 2024-05-10 15:46 (UTC)

Latest Comments

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

yochananmarqos commented on 2021-09-04 21:18 (UTC)

@slimb: The pkgrel does not need to be bumped as the changes only affect setup, not install.

slimb commented on 2021-09-04 20:37 (UTC)

@yochananmarqos so you took out the useless deps after all? You forgot to bump pkgrel btw.

Riyyi commented on 2021-09-01 10:30 (UTC)

I had to add python-pip as a make dependency to pass the build, I would get the following otherwise:

/usr/bin/python: No module named pip
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp57l445gz', '--quiet', 'mccabe']' returned non-zero exit status 1.
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build python-pynput - makepkg exited with code: 4

yochananmarqos commented on 2021-04-11 02:02 (UTC)

@grandchild: No, that removes all the requirement checks.

I'm done messing around with this. I'm dropping the patch and using the requirements as specified by the project. If you don't like it, take it up with upstream.

slimb commented on 2021-04-10 23:54 (UTC)

I could be wrong, but I don't think python-setuptools-lint is needed at all? I took out makedepends from PKGBUILD and used this setup tools patch:

--- a/setup.py
+++ b/setup.py
@@ -17,26 +17,6 @@
 #: The author email
 AUTHOR_EMAIL = 'moses.palmer@gmail.com'

-#: The runtime requirements
-RUNTIME_PACKAGES = [
-    'six']
-
-#: Additional requirements used during setup
-SETUP_PACKAGES = [
-    'setuptools-lint >=0.5',
-    'sphinx >=1.3.1']
-
-#: Packages requires for different environments
-EXTRA_PACKAGES = {
-    ':sys_platform == "darwin"': [
-        'pyobjc-framework-Quartz >=7.0'],
-    ':"linux" in sys_platform': [
-        'evdev >= 1.3',
-        'python-xlib >= 0.17'],
-    ':python_version == "2.7"': [
-        'enum34']}
-
-
 # Read globals from ._info without loading it
 INFO = {}
 with open(os.path.join(
@@ -89,10 +69,6 @@
     description='Monitor and control user input devices',
     long_description=README + '\n\n' + CHANGES,

-    install_requires=RUNTIME_PACKAGES,
-    setup_requires=RUNTIME_PACKAGES + SETUP_PACKAGES,
-    extras_require=EXTRA_PACKAGES,
-
     author=INFO['author'],
     author_email=AUTHOR_EMAIL,

And things seem to be working fine for me. let me know if I'm missing something.

mcol commented on 2021-04-07 08:58 (UTC)

@yochananmarqos python-wheel still appears to be required to build

yochananmarqos commented on 2021-03-30 16:59 (UTC)

@tomi77: How about with 1.7.3-4?

tomi77 commented on 2021-03-30 07:14 (UTC)

Without python-wheel I get invalid command 'bdist_wheel'. With python-wheel everything it's ok.

yochananmarqos commented on 2021-03-27 18:28 (UTC)

For those that had errors about Wheel and/or Pip, try 1.7.3-3. Remove Wheel and Pip first or build in a clean chroot to test properly.

yochananmarqos commented on 2021-03-17 01:52 (UTC) (edited on 2021-03-17 01:53 (UTC) by yochananmarqos)

Again, I can neither reproduce the error in a clean chroot nor just using makepkg without python-wheel installed.