Date: Mon, 22 Aug 2016 02:42:35 +1000 From: Kubilay Kocak <koobs@FreeBSD.org> To: Lena@lena.kiev.ua Cc: freebsd-ports@freebsd.org, Koop Mast <kwm@freebsd.org> Subject: Re: iso-codes Message-ID: <08f0f320-f4c3-233c-d43a-015a31bc879e@FreeBSD.org> In-Reply-To: <20160821104951.GL916@lena.kiev> References: <20160821104951.GL916@lena.kiev>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21/08/2016 8:49 PM, Lena@lena.kiev.ua wrote: > Does the latest version of the port misc/iso-codes really need python 3 > for build? > > Python 2.7 not enough? > > https://svnweb.freebsd.org/ports/head/misc/iso-codes/Makefile?r1=409133&r2=420522 A grep of the sources shows many references to python3 (calling script), including: bin/validate_json_data.py:#!/usr/bin/env python3 bin/xml_from_json.py:#!/usr/bin/env python3 bin/pot_from_json.py:#!/usr/bin/env python3 bin/check_valid_utf8.py:#!/usr/bin/env python3 And in the build system: common.mk: python3 $(top_srcdir)/bin/pot_from_json.py $(DOMAIN) $(top_srcdir)/data common.mk: python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ common.mk: python3 $(top_srcdir)/bin/check_valid_utf8.py $(pofiles) I didn't check whether this was a recent change (new in 3.69) or not. These could/should be updated to use python3.x scripts directly instead, rather then the python3 symlink provided by lang/python3. This could be done with judicious use of USES=shebangfix Maintainer CC'd Hope that helps Lena ./koobs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08f0f320-f4c3-233c-d43a-015a31bc879e>