Summary: | www/node still depends on lang/python27, which is deprecated | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | lumiwa |
Component: | Individual Port(s) | Assignee: | Bradley T. Hughes <bhughes> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | freebsd, lumiwa |
Priority: | --- | Flags: | bhughes:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
lumiwa
2020-04-29 22:55:14 UTC
Port www/node has Build dependencies: c-ares>=1.15.0 : dns/c-ares libuv>=1.35.0 : devel/libuv libnghttp2>=1.40.0 : www/libnghttp2 icu>=64.2 : devel/icu gmake : devel/gmake python2.7 : lang/python27 pkgconf>=1.3.0_1 : devel/pkgconf and Python 2/7 is deprecated. Thank you. Yes, I am aware of this and am working on making www/node build with the default version of python pulled in by USES+=python:build. A commit references this bug: Author: bhughes Date: Fri May 15 20:33:02 UTC 2020 New revision: 535334 URL: https://svnweb.freebsd.org/changeset/ports/535334 Log: www/node: use python 3 as build dependency Do not depend on the deprecated python 2.7 package to build Node.js, patching tools/genv8constants.py to continue to work and generate the same output with python 3 that it did with python 2. While here, add all *.py scripts used by the build to SHEBANG_FILES, which causes the installed lldb_commands.py script to change, hence the PORTREVISION bump. PR: 246036 Reported by: lumiwa@gmail.com Sponsored by: Miles AS Changes: head/www/node/Makefile head/www/node/files/patch-tools_genv8constants.py Fixed, thanks for the report :) |