Package Details: python-readchar 4.2.1-1

Git Clone URL: https://aur.archlinux.org/python-readchar.git (read-only, click to copy)
Package Base: python-readchar
Description: Python library to read characters and key strokes
Upstream URL: https://github.com/magmax/python-readchar
Licenses: MIT
Submitter: marioom
Maintainer: TrippleTrabble
Last Packager: TrippleTrabble
Votes: 6
Popularity: 0.49
First Submitted: 2020-10-27 20:47 (UTC)
Last Updated: 2025-02-24 12:47 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

marioom commented on 2021-03-02 12:24 (UTC)

@kylelaker ah sure, this library was basically abandoned not too long ago, so I had forgotten about it. Would you like to be added as a co-maintainer?

Also, what's the ${pkgname}-${pkgver}.tar.gz:: prefix? I had never heard about it before. I'll update the PKGBUILD with your suggestions soon.

kylelaker commented on 2021-02-28 21:33 (UTC) (edited on 2021-02-28 22:03 (UTC) by kylelaker)

Noticed a few things while trying to install this:

  • flake8 must be added to makedepends (it is in setup.py's setup_requires)
  • ${pkgname}-${pkgver}.tar.gz:: should be added before https:// in the tar download
  • Starting with v3.0.0 the tag names have a v prefix

See: https://gist.github.com/kylelaker/0b09add656216b3bccafae8d4f21b581

Edit: Due to a bug in the source package's setup.py, the tests get included in the package and placed in the root of site-packages, so I updated the gist above to patch that. It could also be done with an rm of the directory in package. See https://wiki.archlinux.org/index.php/Python_package_guidelines#Test_directory_in_site-package