From owner-svn-ports-all@freebsd.org Mon Aug 10 16:46:25 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3AB699ECAF; Mon, 10 Aug 2015 16:46:24 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2D2F8E0; Mon, 10 Aug 2015 16:46:24 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7AGkOBl027418; Mon, 10 Aug 2015 16:46:24 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7AGkOVs027415; Mon, 10 Aug 2015 16:46:24 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201508101646.t7AGkOVs027415@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 10 Aug 2015 16:46:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393876 - in head/www/py-gandi.cli: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 16:46:25 -0000 Author: koobs Date: Mon Aug 10 16:46:23 2015 New Revision: 393876 URL: https://svnweb.freebsd.org/changeset/ports/393876 Log: www/py-gandi.cli: Update to 0.15 & Unbreak - Update to 0.15 - Update RUN_DEPENDS version for click, (and patch setup.py accordingly) until upstream fixes it. [1]. - Make TEST_DEPENDS *only* include, test dependencies, adding RUN_DEPENDS instead to the TESTS option conditional. - Remove non-compulsory & forced tests_requires. Tests work perfectly fine out of the box with setup:py: test_suite='gandi.cli.tests', Changes: https://github.com/Gandi/gandi.cli/blob/0.15/CHANGES.rst [1] https://github.com/Gandi/gandi.cli/issues/147 Reported by: antoine, pkg-fallout (in that order) 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 Mon Aug 10 15:57:30 2015 (r393875) +++ head/www/py-gandi.cli/Makefile Mon Aug 10 16:46:23 2015 (r393876) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gandi.cli -PORTVERSION= 0.14 +PORTVERSION= 0.15 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,18 +14,17 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \ - ${PYTHON_PKGNAMEPREFIX}click<=4.0:${PORTSDIR}/devel/py-click \ + ${PYTHON_PKGNAMEPREFIX}click>=3.0:${PORTSDIR}/devel/py-click \ ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \ ${PYTHON_PKGNAMEPREFIX}ipy>0:${PORTSDIR}/net-mgmt/py-ipy - -TEST_DEPENDS:= ${RUN_DEPENDS} \ - ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \ +TEST_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} +TESTS_BUILD_DEPENDS= ${RUN_DEPENDS} \ + ${TEST_DEPENDS} USES= python USE_PYTHON= autoplist concurrent distutils Modified: head/www/py-gandi.cli/distinfo ============================================================================== --- head/www/py-gandi.cli/distinfo Mon Aug 10 15:57:30 2015 (r393875) +++ head/www/py-gandi.cli/distinfo Mon Aug 10 16:46:23 2015 (r393876) @@ -1,2 +1,2 @@ -SHA256 (gandi.cli-0.14.tar.gz) = 80f0a499d871b363ad0e0687d06da5e6935b586b7fe7bc0b92ef4cc43c08bb05 -SIZE (gandi.cli-0.14.tar.gz) = 342573 +SHA256 (gandi.cli-0.15.tar.gz) = 84c6e0aaa5fd509ab6b2e912a683f9090dc68ef122ae1a9df32ed0393df1ab7b +SIZE (gandi.cli-0.15.tar.gz) = 359801 Modified: head/www/py-gandi.cli/files/patch-setup.py ============================================================================== --- head/www/py-gandi.cli/files/patch-setup.py Mon Aug 10 15:57:30 2015 (r393875) +++ head/www/py-gandi.cli/files/patch-setup.py Mon Aug 10 16:46:23 2015 (r393876) @@ -1,6 +1,6 @@ --- setup.py.orig 2015-04-01 08:43:36 UTC +++ setup.py -@@ -6,10 +6,11 @@ import os +@@ -6,19 +6,20 @@ import os import sys from setuptools import setup, find_packages @@ -14,9 +14,11 @@ with open(os.path.join(here, 'gandi', 'cli', '__init__.py')) as v_file: -@@ -18,7 +19,7 @@ with open(os.path.join(here, 'gandi', 'c + version = re.compile(r".*__version__ = '(.*?)'", + re.S).match(v_file.read()).group(1) - requires = ['setuptools', 'pyyaml', 'click<=4.0', 'requests', 'IPy'] +-requires = ['setuptools', 'pyyaml', 'click<=4.0', 'requests', 'IPy'] ++requires = ['setuptools', 'pyyaml', 'click>=3.0', 'requests', 'IPy'] -tests_require = ['nose', 'coverage', 'tox', 'httpretty==0.8.6'] +tests_require = ['nose', 'httpretty==0.8.6' ]