Bug 225334

Summary: [patch] net-im/telegram-desktop: limit to python27
Product: Ports & Packages Reporter: Dima Panov <fluffy>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: henry.hu.sh
Priority: --- Keywords: patch
Version: LatestFlags: henry.hu.sh: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Limit telegram-desktop to use python27 only none

Description Dima Panov freebsd_committer freebsd_triage 2018-01-20 03:56:31 UTC
Created attachment 189926 [details]
Limit telegram-desktop to use python27 only

net-im/telegram-desktop require python27 only to build due to py-gyg, which supports only py27.

Bump PORTREVISION due to hardcoded direct dependency to py27
Comment 1 Henry Hu 2018-02-06 03:36:52 UTC
py-gyp only asks for python 2, so please change the requirement to "python:2".
Comment 2 Dima Panov freebsd_committer freebsd_triage 2018-02-06 08:56:09 UTC
(In reply to Henry Hu from comment #1)
Nope, it should be 2.7 exactly.
 
From Uses/python.mk:
"USES=python:2 is deprecated, use USES=python:2.7"
Comment 3 Dima Panov freebsd_committer freebsd_triage 2018-02-06 10:44:00 UTC
USES=python:2.7 was committed directly by @antoine (portmgr)