[Bug 290312] textproc/py-readchar: update to 4.2.1 and take maintainership

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Oct 2025 23:53:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290312

            Bug ID: 290312
           Summary: textproc/py-readchar: update to 4.2.1 and take
                    maintainership
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pypi.org/project/readchar/
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: atanubiswas484@gmail.com

Created attachment 264641
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264641&action=edit
patch file

Here are the following changes made to the port

1. Updated the version from 3.1.0 to 4.2.1

2. Removed DISTVERSIONPREFIX as this is no longer needed

3. Updated the mastersite to PYPI instead of GitHub as recommended.

4. Fixed the license file's name

5. Added pep517 instead of distutils since the project moved on to
pyproject.toml (also added the build depends because of it)

5. I added pytest. But not sure if we really can test these, as this has test
cases specific to Windows and Linux. But the project also says that it should
work on Unix systems as well.
https://github.com/magmax/python-readchar/tree/master/tests
https://github.com/magmax/python-readchar/blob/master/README.md

6. Removed the patch files as they seems to be no longer needed. (Also, the
readchar.py doesn't exist anymore)

7. Took maintainership of the port

Ran the port on both 14.2 and 14.3. 

Portlint says okay

Changelog: https://github.com/magmax/python-readchar/releases/tag/v4.2.1

-- 
You are receiving this mail because:
You are the assignee for the bug.