Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 May 2017 16:44:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219050] comms/uhd: fix shebangs for .py files
Message-ID:  <bug-219050-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219050

            Bug ID: 219050
           Summary: comms/uhd: fix shebangs for .py files
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mr@FreeBSD.org
          Reporter: z7dr6ut7gs@snkmail.com
          Assignee: mr@FreeBSD.org
             Flags: maintainer-feedback?(mr@FreeBSD.org)

Created attachment 182285
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182285&action=
=3Dedit
[patch] fix shebangs for .py files

stage-qa gives:

=3D=3D=3D=3D> Running Q/A tests (stage-qa)
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix for
'share/uhd/utils/uhd_images_downloader.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix for
'share/uhd/utils/usrp2_card_burner.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix for
'share/uhd/utils/usrp2_card_burner_gui.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix for
'share/uhd/utils/usrp_n2xx_net_burner.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix for
'share/uhd/utils/usrp_n2xx_net_burner_gui.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix for
'share/uhd/utils/latency/run_tests.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix for
'share/uhd/utils/latency/graph.py'
 .
 .

Personally I prefer '/usr/bin/env python', but the ports project prefers
explicit paths for shebangs in packaged files.  The attached patch achieves
that.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219050-13>