Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] wee-slack: fix wrong dependency
Date: Tue, 29 Oct 2019 19:17:46 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15899@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]

There is a new 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: 763 bytes --]

From 21c333303d29b516af9452091f79b810e07b810b Mon Sep 17 00:00:00 2001
From: Caio Alonso <caio@caioalonso.com>
Date: Tue, 29 Oct 2019 15:15:28 -0300
Subject: [PATCH] Updates wee-slack dependency to python3

---
 srcpkgs/wee-slack/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/wee-slack/template b/srcpkgs/wee-slack/template
index 1a86e25afe8..44a5fcf2fb6 100644
--- a/srcpkgs/wee-slack/template
+++ b/srcpkgs/wee-slack/template
@@ -3,7 +3,7 @@ pkgname=wee-slack
 version=2.3.0
 revision=1
 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"

             reply	other threads:[~2019-10-29 18:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 18:17 voidlinux-github [this message]
2019-10-29 21:44 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-29 21:44 ` voidlinux-github
2019-10-30 14:30 ` voidlinux-github
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15899@inbox.vuxu.org \
    --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).