[Bug 250379] www/py-cherrypy: fails to import with lang/python38 or later

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 22 17:25:02 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250379

Kai Knoblich <kai at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #218826|0                           |1
        is obsolete|                            |
 Attachment #218827|0                           |1
        is obsolete|                            |
 Attachment #218828|0                           |1
        is obsolete|                            |
             Status|New                         |Open
                 CC|                            |kai at FreeBSD.org
           Assignee|nivit at FreeBSD.org           |kai at FreeBSD.org
 Attachment #224358|                            |maintainer-approval+
              Flags|                            |

--- Comment #12 from Kai Knoblich <kai at FreeBSD.org> ---
Created attachment 224358
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224358&action=edit
py-cherrypy-fix-py38-runtime.patch

Attached is a revised patch as the port got some changes due dropped Python 2.7
support via the ports framework. 

It is based on James's work (comment #8) and also contains the following:

- Sort variables according to the PHB and pet portclippy.
- Remove superfluous EXAMPLESDIR as it's already set via "PYTHON=concurrent"
- Convert to newer options framework.
- Add "do-test" target to make future QA easier.

Using the test suite, I was also able to compare the results between the
unpatched and patched version, which were identical in both cases.

Also taking this PR as the maintainer seems missing in action and set the
maintainer-approval flag accordingly.

I'll leave the patch here for those who are interested and will commit it in
the next few days if there are no objections.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list