Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2018 06:40:27 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469613 - head/net-im/py-slackclient
Message-ID:  <201805110640.w4B6eRDG022565@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri May 11 06:40:27 2018
New Revision: 469613
URL: https://svnweb.freebsd.org/changeset/ports/469613

Log:
  net-im/py-slackclient: Update to 1.2.1
  
  - Python 3 is now supported [1].
  - Update and sort all *_DEPENDS to match upstreams declarations, using specific
    versions where declared and possible (eg: we dont use "!=").
  - We want one line per test ouput, so verbosify the tests.
  
  [1] https://github.com/slackapi/python-slackclient/issues/165
  
  Changelog:
  
    https://slackapi.github.io/python-slackclient/changelog.html
  
  PR:		228137
  Submitted by:	Derek Schrock <dereks lifeofadishwasher com>

Modified:
  head/net-im/py-slackclient/Makefile
  head/net-im/py-slackclient/distinfo

Modified: head/net-im/py-slackclient/Makefile
==============================================================================
--- head/net-im/py-slackclient/Makefile	Fri May 11 06:24:43 2018	(r469612)
+++ head/net-im/py-slackclient/Makefile	Fri May 11 06:40:27 2018	(r469613)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	slackclient
-PORTVERSION=	1.1.0
+PORTVERSION=	1.2.1
 CATEGORIES=	net-im python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -11,21 +11,24 @@ COMMENT=	Python client for Slack.com
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}websocket-client>0:www/py-websocket-client@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}websocket-client>=0.35:www/py-websocket-client@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.11:www/py-requests@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${FLAVOR}
 
-USES=		python:-2.7
+USES=		python
 USE_GITHUB=	yes
 USE_PYTHON=	autoplist distutils
 
-GH_ACCOUNT=	slackhq
+# Does not currently include tests in sdist
+GH_ACCOUNT=	slackapi
 GH_PROJECT=	python-${PORTNAME}
 
 NO_ARCH=	yes
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v
 
 .include <bsd.port.mk>

Modified: head/net-im/py-slackclient/distinfo
==============================================================================
--- head/net-im/py-slackclient/distinfo	Fri May 11 06:24:43 2018	(r469612)
+++ head/net-im/py-slackclient/distinfo	Fri May 11 06:40:27 2018	(r469613)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1511699929
-SHA256 (slackhq-python-slackclient-1.1.0_GH0.tar.gz) = 5b4edd97b7bf24e51b636a7bebb7085c4665337dc49651f1689a9d512a5653fa
-SIZE (slackhq-python-slackclient-1.1.0_GH0.tar.gz) = 368088
+TIMESTAMP = 1525652128
+SHA256 (slackapi-python-slackclient-1.2.1_GH0.tar.gz) = d9c7c3a906d9fc9690fbc1698d11114a4b9bdbce2f92f4556ffca67a853cf8db
+SIZE (slackapi-python-slackclient-1.2.1_GH0.tar.gz) = 453758



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805110640.w4B6eRDG022565>