Dumb question. Where I see something like this in a Slackbuild README:
=========
Add the following before the python3 build commands in your
Slackbuild to use this version over the stock one in 15.0:
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
=========
... sboinstall and sboupgrade will say "It looks like python3-setuptools-opt
has options; would you like to set
any when the slackbuild is run?"
All good. I say "y" and then the question is how to type this in.
First, I presume it's entered without the "export" builtin:
PYVER=<whatever>
PYTHONPATH=/opt/python$PYVER/site-packages
... Else I get a "not a valid identifier" bash error apparently due to the script attempting:
"export PYTHONPATH=<path> foo.Slackbuild" and there's no "foo.Slackbuild" to export.
Other question is, how to enter the lines at the sboinstall prompt: one at a time,
separated by <return>, or both in one line, separated by a semicolon?
I've been "cheating" and entering only the second line, as
PYTHONPATH=/opt/python3.9/site-packages, because I know I'm running 3.9. However, still
curious how multiline input is envisioned to work.
thanks!
Judah
=====
[email protected]
301-257-7069
_______________________________________________
SlackBuilds-users mailing list
[email protected]
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
[Slackbuilds-users] sbotools: multiline build options
J. Milgram via SlackBuilds-users Sun, 24 May 2026 15:41:12 -0700
- [Slackbuilds-users] sbotools: multiline b... J. Milgram via SlackBuilds-users
- Re: [Slackbuilds-users] sbotools: mu... fourtysixandtwo
- Re: [Slackbuilds-users] sbotools... J. Milgram via SlackBuilds-users
- Re: [Slackbuilds-users] sbot... Christoph Willing
- Re: [Slackbuilds-users] ... fourtysixandtwo
- Re: [Slackbuilds-users] ... J. Milgram via SlackBuilds-users
- Re: [Slackbuilds-us... 414N
- Re: [Slackbuild... J. Milgram via SlackBuilds-users
- Re: [Slackb... 414N
- Re: [Slackb... J. Milgram via SlackBuilds-users
- Re: [Slackb... fourtysixandtwo
