Created attachment 215813 [details] Patch to the ports tree Hi there! There are a couple of issues with this port: In this port we need USE_PYTHON=concurrent since it installs 'console_scripts' For py-request, isn't the minimum required version 2.4.0? OpenBSD is using that too for this port: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/www/tuir/Makefile?annotate=1.2 The above changes are included in the attached patch. Does this port work with py27? if that is the case, we should lower the python requirements. If 3.6.0+ is necessary, then we can drop the requirement for mailcap_fix since 3.6.0 already includes an official fix.
(In reply to Fernando Apesteguía from comment #0) > For py-request, isn't the minimum required version 2.4.0? Yeah. Good catch, thanks. > Does this port work with py27? if that is the case, we should lower the python requirements. If 3.6.0+ is necessary, then we can drop the requirement for mailcap_fix since 3.6.0 already includes an official fix. I've checked on pypi [1] and the lowest supported version is 2.7, which would warrant the drop to py27. Rebuilt the package in Poudriere with PY_FLAVOR=py27 to see if everything works accordingly (which it does, so no issues there). The patch looks fine; other than replacing s/python:3.6+/python:2.7+/ as discussed above. This seemed to of slipped through me, so thanks again for catching this! :) [1] https://pypi.org/project/tuir/
^Triage: ports-bugs doesn't need to be in CC
Created attachment 215822 [details] Final patch This one adds mailcap_fix as a conditional dependency.
(In reply to Fernando Apesteguía from comment #3) Good thinking with the conditional! :-)
(In reply to Lewis Cook from comment #1) It wasn't my catch but koobs@ ;-)
A commit references this bug: Author: fernape Date: Mon Jun 22 05:46:18 UTC 2020 New revision: 539796 URL: https://svnweb.freebsd.org/changeset/ports/539796 Log: www/py-tuir: correct python version and add concurrent support * The minimum Python requirement can be lowered to 2.7 * The mailcap_fix requirement is then necessary only for python < 3.6 * Add concurrent support PR: 247438 Reported by: koobs@ Changes: head/www/py-tuir/Makefile
MFH: No (port not in quarterly branch)