Bug 244542

Summary: www/searx: Correct USES=python <version-spec> (Supports 3.x)
Product: Ports & Packages Reporter: Christopher May-Townsend <chris>
Component: Individual Port(s)Assignee: Rene Ladan <rene>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp, koobs, loic.blot, python, rene, rm, vvelox, wg
Priority: --- Keywords: needs-qa
Version: LatestFlags: loic.blot: maintainer-feedback+
Hardware: Any   
OS: Any   
Bug Depends on: 244528, 244540, 244541    
Bug Blocks: 249337    
Attachments:
Description Flags
python3 support + revision bump
none
Disable imperative to use python2 only none

Description Christopher May-Townsend 2020-03-01 12:26:49 UTC
Created attachment 212076 [details]
python3 support + revision bump

Since this is the last version with python 2 support, im submitting the tiny change to allow python3 support. 

I've submitted 2 other tickets for the 2 deps that dont have py3 support yet and ill link them to the ticket. Not sure if this will need a revision bump or not for the version. I'll assume yes and also assume this will be merged after the version bump in 244528.
Comment 1 Zane C. Bowers-Hadley 2020-03-09 05:35:35 UTC
*** Bug 244687 has been marked as a duplicate of this bug. ***
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-09 06:11:13 UTC
If this versions supports 2.x (along with 3.x), the correct USES=python <version-spec> is USES=python (implying any version is supported). <version-spec> is to be used declaratively, not imperatively
Comment 3 Christopher May-Townsend 2020-03-09 07:43:47 UTC
Created attachment 212277 [details]
Disable imperative to use python2 only

Since python 2 is supported for 0.16, patch resent for inclusion of python 2 & 3
Comment 4 Christopher May-Townsend 2020-03-09 07:44:07 UTC
Good point, since this version still does support 2, patch resubmitted
Comment 5 loic.blot 2020-09-29 07:39:36 UTC
can we merge this to prevent searx removal please ?
Comment 6 Rene Ladan freebsd_committer freebsd_triage 2020-09-29 09:49:50 UTC
(In reply to loic.blot from comment #5)
well, PR 244540 and PR 244541 would need to be merged first. CCĂ­ng assignees.
Comment 7 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-13 22:01:39 UTC
*** Bug 250327 has been marked as a duplicate of this bug. ***
Comment 8 commit-hook freebsd_committer freebsd_triage 2020-10-13 22:07:26 UTC
A commit references this bug:

Author: 0mp
Date: Tue Oct 13 22:07:07 UTC 2020
New revision: 552287
URL: https://svnweb.freebsd.org/changeset/ports/552287

Log:
  Give us a bit more time to enable the Python 3 flavor

  PR:		244542

Changes:
  head/www/searx/Makefile