From owner-svn-ports-branches@freebsd.org Fri May 24 09:00:47 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0BEB15A46DC; Fri, 24 May 2019 09:00:46 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DDFF83B3E; Fri, 24 May 2019 09:00:46 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 594601A8B6; Fri, 24 May 2019 09:00:46 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4O90kLT032685; Fri, 24 May 2019 09:00:46 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4O90k68032684; Fri, 24 May 2019 09:00:46 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201905240900.x4O90k68032684@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 24 May 2019 09:00:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r502431 - branches/2019Q2/security/py-pywinrm X-SVN-Group: ports-branches X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: branches/2019Q2/security/py-pywinrm X-SVN-Commit-Revision: 502431 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7DDFF83B3E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.96)[-0.955,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2019 09:00:47 -0000 Author: koobs Date: Fri May 24 09:00:45 2019 New Revision: 502431 URL: https://svnweb.freebsd.org/changeset/ports/502431 Log: MFH: r498996 security/py-pywinrm: Allow builds with Python 3.x Upstream supports and tests against up to Python 3.6 [1] and declares up to 3.6 in its Trove Classifiers [2]. Fix incorrect Python version support declaration in USES=python accordingly, allowing Python 3.x builds. [3] While I'm here, add TEST_DEPENDS and a test target to help with QA. [1] https://github.com/diyan/pywinrm/blob/master/.travis.yml [2] setup.py: 'Programming Language :: Python :: 3.6' PR: 237178 [3] Reported by: [3] Approved by: portmgr (blanket: bug fix, framework compliance) Approved by: ports-secteam (blanket: bugfix) Modified: branches/2019Q2/security/py-pywinrm/Makefile Directory Properties: branches/2019Q2/ (props changed) Modified: branches/2019Q2/security/py-pywinrm/Makefile ============================================================================== --- branches/2019Q2/security/py-pywinrm/Makefile Fri May 24 08:52:36 2019 (r502430) +++ branches/2019Q2/security/py-pywinrm/Makefile Fri May 24 09:00:45 2019 (r502431) @@ -2,6 +2,7 @@ PORTNAME= pywinrm PORTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,8 +19,16 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmltodict>0:devel/ ${PYTHON_PKGNAMEPREFIX}requests-kerberos>=0.10.0:security/py-requests-kerberos@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-credssp>=0.0.1:security/py-requests-credssp@${PY_FLAVOR} -NO_ARCH= yes -USES= python:2.7 +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} + +# Actually 2.6-2.7,3.3-3.6 +USES= python USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v winrm/tests/ .include