Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2015 05:49:38 +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: r388570 - in head/www/py-gandi.cli: . files
Message-ID:  <201506050549.t555ncoc078033@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Jun  5 05:49:38 2015
New Revision: 388570
URL: https://svnweb.freebsd.org/changeset/ports/388570

Log:
  www/py-gandi.cli: Update to 0.14, concurrent Python support
  
  - Update to 0.14
  - Add multiple concurrent Python support
  - Match upstream dependency versions in RUN_DEPENDS so they fail-closed
    when py-click is updated to 4.0
  - Add RUN_DEPENDS to TEST_DEPENDS since they're needed to test.
  - Patch setup.py to remove optional test dependencies (coverage, tox)
  
  Changes:
  
    https://github.com/Gandi/gandi.cli/blob/0.14/CHANGES.rst
  
  Requested by:	bapt

Modified:
  head/www/py-gandi.cli/Makefile
  head/www/py-gandi.cli/distinfo
  head/www/py-gandi.cli/files/patch-setup.py

Modified: head/www/py-gandi.cli/Makefile
==============================================================================
--- head/www/py-gandi.cli/Makefile	Fri Jun  5 05:20:18 2015	(r388569)
+++ head/www/py-gandi.cli/Makefile	Fri Jun  5 05:49:38 2015	(r388570)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gandi.cli
-PORTVERSION=	0.12
-PORTREVISION=	1
+PORTVERSION=	0.14
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,18 +14,21 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \
-		${PYTHON_PKGNAMEPREFIX}click>0:${PORTSDIR}/devel/py-click \
+		${PYTHON_PKGNAMEPREFIX}click<=4.0:${PORTSDIR}/devel/py-click \
 		${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \
 		${PYTHON_PKGNAMEPREFIX}ipy>0:${PORTSDIR}/net-mgmt/py-ipy
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
+
+TEST_DEPENDS:=	${RUN_DEPENDS} \
+		${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
 		${PYTHON_PKGNAMEPREFIX}coverage>0:${PORTSDIR}/devel/py-coverage
 
 OPTIONS_DEFINE=		TESTS
+
 TESTS_DESC=		Install test suite requirements
 TESTS_BUILD_DEPENDS=	${TEST_DEPENDS}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent distutils
 
 .include <bsd.port.pre.mk>
 

Modified: head/www/py-gandi.cli/distinfo
==============================================================================
--- head/www/py-gandi.cli/distinfo	Fri Jun  5 05:20:18 2015	(r388569)
+++ head/www/py-gandi.cli/distinfo	Fri Jun  5 05:49:38 2015	(r388570)
@@ -1,2 +1,2 @@
-SHA256 (gandi.cli-0.12.tar.gz) = 14856de8bf8ee411e85ef63cc3bb1dc30c983d503649d1e367fb27397487696b
-SIZE (gandi.cli-0.12.tar.gz) = 152756
+SHA256 (gandi.cli-0.14.tar.gz) = 80f0a499d871b363ad0e0687d06da5e6935b586b7fe7bc0b92ef4cc43c08bb05
+SIZE (gandi.cli-0.14.tar.gz) = 342573

Modified: head/www/py-gandi.cli/files/patch-setup.py
==============================================================================
--- head/www/py-gandi.cli/files/patch-setup.py	Fri Jun  5 05:20:18 2015	(r388569)
+++ head/www/py-gandi.cli/files/patch-setup.py	Fri Jun  5 05:49:38 2015	(r388570)
@@ -1,4 +1,4 @@
---- setup.py.orig	2015-01-08 09:26:15 UTC
+--- setup.py.orig	2015-04-01 08:43:36 UTC
 +++ setup.py
 @@ -6,10 +6,11 @@ import os
  import sys
@@ -14,7 +14,16 @@
  
  
  with open(os.path.join(here, 'gandi', 'cli', '__init__.py')) as v_file:
-@@ -49,6 +50,7 @@ setup(name='gandi.cli',
+@@ -18,7 +19,7 @@ with open(os.path.join(here, 'gandi', 'c
+ 
+ requires = ['setuptools', 'pyyaml', 'click<=4.0', 'requests', 'IPy']
+ 
+-tests_require = ['nose', 'coverage', 'tox', 'httpretty==0.8.6']
++tests_require = ['nose', 'httpretty==0.8.6' ]
+ if sys.version_info < (2, 7):
+     tests_require += ['unittest2', 'importlib']
+ 
+@@ -52,6 +53,7 @@ setup(name='gandi.cli',
        zip_safe=False,
        install_requires=requires,
        tests_require=tests_require,



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