Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 12:27:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 211641] graphics/py-mayavi mayavi2 runtime error
Message-ID:  <bug-211641-21822-wUYjJ0dYcK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211641-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211641-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=



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