From owner-freebsd-python@freebsd.org Wed Aug 17 12:27:06 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86027BBDEB9 for ; Wed, 17 Aug 2016 12:27:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6E72A1C35 for ; Wed, 17 Aug 2016 12:27:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6DC1DBBDEB8; Wed, 17 Aug 2016 12:27:06 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D665BBDEB7 for ; Wed, 17 Aug 2016 12:27:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4257A1C33 for ; Wed, 17 Aug 2016 12:27:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7HCR67G054528 for ; Wed, 17 Aug 2016 12:27:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 211641] graphics/py-mayavi mayavi2 runtime error Date: Wed, 17 Aug 2016 12:27:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vladimir.chukharev@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: attachments.isobsolete flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 12:27:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211641 vladimir.chukharev@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173546|0 |1 is obsolete| | Attachment #173780| |maintainer-approval+ Flags| | --- Comment #17 from vladimir.chukharev@gmail.com --- Created attachment 173780 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173780&action= =3Dedit Patch adding pkg-message I still cannot solve a seemingly trivial and common problem. The port installs a Python script as /usr/local/bin/mayavi2. I want to rena= me it as /usr/local/bin/mayavi2.py and install a shell script which is a wrapp= er for the renamed Python script. I cannot find a way to do it so that both scripts are added correctly to the auto generated plist, registered in the package and in the pkgng database. The original script is created directly to the stage dir, it does not exist= in the build dir. And this process is buried deeply in the setup.py with many libraries, so few hours were not enough for me to find out how this can be changed to do the new task. My current proposal is to just add a pkg-message informing about the need f= or the environment variable LD_LIBRARY_PATH=3D/usr/local/lib/gcc48. The new pa= tch adds pkg-message. Please comment. Particularly I'm interested to learn how a wrapping script = can be made. --=20 You are receiving this mail because: You are the assignee for the bug.=