Package Details: python-slack-sdk 3.21.3-1

Git Clone URL: https://aur.archlinux.org/python-slack-sdk.git (read-only, click to copy)
Package Base: python-slack-sdk
Description: Slack Python SDK
Upstream URL: https://slack.dev/python-slack-sdk
Licenses: MIT
Conflicts: python-slackclient
Replaces: python-slackclient
Submitter: a.kudelin
Maintainer: a.kudelin
Last Packager: a.kudelin
Votes: 1
Popularity: 0.000000
First Submitted: 2020-11-13 18:20 (UTC)
Last Updated: 2023-05-13 09:07 (UTC)

Latest Comments

fiskhest commented on 2020-11-09 08:19 (UTC)

aura >>= Building python-slackclient...
aura >>= Building failed. Would you like to see the error? [Y/n] y
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   132  100   132    0     0    509      0 --:--:-- --:--:-- --:--:--   509
100   133  100   133    0     0    282      0 --:--:-- --:--:-- --:--:--   282
100 2519k    0 2519k    0     0  2254k      0 --:--:--  0:00:01 --:--:-- 10.6M
    python-slackclient-2.9.2.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

aura >>= There was a makepkg failure.

sha256sum ~/Downloads/python-slack-sdk-2.9.2.tar.gz 45a475844a5613c7cb7359e57c1df6e72ffbd50fc9f6ceba2305a224abde6c9c

wallacoloo commented on 2019-08-19 22:59 (UTC) (edited on 2019-08-19 23:00 (UTC) by wallacoloo)

Updated to 2.1.0, but no more support for python2:

diff --git a/PKGBUILD b/PKGBUILD
index 881f659..9fc2165 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,17 @@

 _name=slackclient
 pkgbase='python-slackclient'
-pkgname=('python-slackclient' 'python2-slackclient')
-pkgver=1.2.1
+pkgname='python-slackclient'
+pkgver=2.1.0
 pkgrel=1
 pkgdesc="Python Slack API clients for Web API and RTM API"
 arch=('any')
 url="https://pypi.python.org/pypi/slackclient"
 license=('MIT')
-makedepends=(
-  'python' 'python-setuptools'
-  'python2' 'python2-setuptools')
+makedepends=('python' 'python-setuptools')
 options=(!emptydirs)
 source=("${pkgname}"-"${pkgver}".tar.gz::https://pypi.io/packages/source/"${_name:0:1}"/"${_name}"/"${_name}"-"${pkgver}".tar.gz)
-sha256sums=('e9de0c893e8c5473107f5927ae1e543d35246f0c834f5e86470b22b762211577')
+sha256sums=('eeb0dad774f6661f7504d80d8a22deadadb941b840e7a0719b5b92d4d84f9015')

 prepare() {
   cp -a "${_name}"-"${pkgver}"{,-py2}
@@ -23,27 +21,12 @@ prepare() {
 build(){
   cd "${srcdir}"/"${_name}"-"${pkgver}"
   python setup.py build
-
-  cd "${srcdir}"/"${_name}"-"${pkgver}"-py2
-  python2 setup.py build
-}
-
-package_python2-slackclient() {
-  depends=(
-    'python2'
-    'python2-websocket-client'
-    'python2-requests'
-    'python2-six'
-  )
-
-  cd "${_name}"-"${pkgver}"-py2
-  python2 setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
 }

 package_python-slackclient() {
   depends=(
     'python'
+    'python-aiohttp'
     'python-websocket-client'
     'python-requests'
     'python-six'

clintval commented on 2018-03-16 00:54 (UTC) (edited on 2018-04-20 05:36 (UTC) by clintval)

Hi @viq, try now! We are on v1.1.3.

EDIT: Now on v1.2.1, curious to know if problem is fixed.

viq commented on 2018-02-09 21:17 (UTC)

Sorry clintval, I can't figure out from that comment whether you're expecting anything more from me at this moment.

As for me looking deep into the python or packaging bits, I don't know them enough to even know where to start looking right now, sorry.

clintval commented on 2018-02-09 00:30 (UTC)

Hi viq, my first guess is that pip (installer of a virtualenv) is building and installing the upstream wheels instead of sdists and there is a difference.

Let me test building from a wheel. If that does not work, then it does appear to be an unspecified bug or conflict with upstream libraries. Please keep me updated if you think the solution can be found with AUR packaging of python-slackclient.

viq commented on 2018-02-08 22:40 (UTC)

Sorry, something seems not right. I've created https://github.com/slackapi/python-slackclient/issues/289 with description, but this happens only with the system package, installed into a virtualenv it works fine...

viq commented on 2018-02-03 11:30 (UTC)

Wow, that was quick, thank you!

clintval commented on 2018-02-02 21:53 (UTC) (edited on 2018-02-03 02:23 (UTC) by clintval)

Done!

viq commented on 2018-02-02 21:52 (UTC)

Any chance of having a python2 version as well? It would let me use it with saltstack ;)