From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] wee-slack: fix wrong dependency
Date: Wed, 30 Oct 2019 15:30:48 +0100 [thread overview]
Message-ID: <20191030143048.48dS_sx1kqQIdgbbKMus-LnEF-Ho22nMN176_KqS8Hs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15899@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]
There is an updated pull request by caioalonso against master on the void-packages repository
https://github.com/caioalonso/void-packages wee-slack
https://github.com/void-linux/void-packages/pull/15899
wee-slack: fix wrong dependency
The current `python-websockets-client` dependency is incorrect:
```
â14:56:15 | python: stdout/stderr (?): Traceback (most recent call last):
â14:56:15 | python: stdout/stderr (?): File "/home/caio/.weechat/python/autoload/wee_slack.py", line 28, in <module>
â14:56:15 | python: stdout/stderr (?): from websocket import ABNF, create_connection, WebSocketConnectionClosedException
â14:56:15 | python: stdout/stderr (?): ModuleNotFoundError: No module named 'websocket'
â14:56:15 =!= | python: unable to parse file "/home/caio/.weechat/python/autoload/wee_slack.py"
```
Changing it to `python3-websockets-client` fixes the issue.
A patch file from https://github.com/void-linux/void-packages/pull/15899.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wee-slack-15899.patch --]
[-- Type: text/x-diff, Size: 813 bytes --]
From 80173af67e9a3a7bb46139d8ecd2bacd5f248d6f Mon Sep 17 00:00:00 2001
From: Caio Alonso <caio@caioalonso.com>
Date: Wed, 30 Oct 2019 11:29:57 -0300
Subject: [PATCH] Updates wee-slack dependency to python3
---
srcpkgs/wee-slack/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/wee-slack/template b/srcpkgs/wee-slack/template
index 1a86e25afe8..544818732e1 100644
--- a/srcpkgs/wee-slack/template
+++ b/srcpkgs/wee-slack/template
@@ -1,9 +1,9 @@
# Template file for 'wee-slack'
pkgname=wee-slack
version=2.3.0
-revision=1
+revision=2
archs=noarch
-depends="weechat weechat-python python-websocket-client"
+depends="weechat weechat-python python3-websocket-client"
short_desc="WeeChat plugin for Slack.com"
maintainer="Renato Aguiar <renato@renag.me>"
license="MIT"
next prev parent reply other threads:[~2019-10-30 14:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-29 18:17 [PR PATCH] " voidlinux-github
2019-10-29 21:44 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-29 21:44 ` voidlinux-github
2019-10-30 14:30 ` voidlinux-github [this message]
2019-10-30 14:30 ` voidlinux-github
2019-10-30 14:34 ` voidlinux-github
2019-10-30 14:43 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191030143048.48dS_sx1kqQIdgbbKMus-LnEF-Ho22nMN176_KqS8Hs@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).