diff options
Diffstat (limited to 'network/irssi-python/README')
-rw-r--r-- | network/irssi-python/README | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/network/irssi-python/README b/network/irssi-python/README index 852bb488aa..efe5a65fb2 100644 --- a/network/irssi-python/README +++ b/network/irssi-python/README @@ -1,4 +1,4 @@ -irssi-python (Python 2.x scripting support for irssi) +irssi-python (Python 3 scripting support for irssi) irssi-python embeds Python into an Irssi module, providing most of the functionality of the Perl wrapper to Python scripts using a similar @@ -10,9 +10,15 @@ always load the module with a command like: $ echo 'load python' >> ~/.irssi/startup +Example python scripts can be found in /usr/share/irssi/scripts/*.py + +Note that previous versions of irssi-python used Python 2. If you've +written any scripts, they may have to be modified for Python 3. + Beware of upgrades: if Slackware's irssi or python packages are ever upgraded, you'll almost certainly have to rebuild & reinstall this. -Symptoms may include irssi ABI version mismatch errors or segfaults. +Symptoms may include irssi ABI version mismatch errors, undefined +symbols, or segfaults. If you get a warning about an irssi version mismatch when building irssi-python, first update your irssi package to the latest one for @@ -22,10 +28,10 @@ your Slackware version: # slackpkg upgrade irssi If you still get the warning, set the environment variable VERSION. -The first part of VERSION (before the _) should not change, but the -part after the _ is the irssi version. Example: +The first part of VERSION (before the last _) should not change, but +the part after the last _ is the irssi version. Example: -# VERSION="test4_1.2.5" sh irssi-python.SlackBuild +# VERSION="20230512_9ab753d_1.4.5" sh irssi-python.SlackBuild You'll also have to have the irssi .tar.xz source tarball in the SlackBuild directory. It should be available from: |