Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2019 19:42:40 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Pavel Timofeev <timp87@gmail.com>, ports-list freebsd <freebsd-ports@freebsd.org>
Cc:        rozhuk.im@gmail.com
Subject:   Re: Why is security/py-pywinrm limited to Python 2.7 only?
Message-ID:  <e84f4d26-9267-eff2-3ad8-383d408a894a@FreeBSD.org>
In-Reply-To: <CAAoTqfvgc1Wg5a2b0t%2BpqDnFPQf_43Ek%2Bsu0sjAFwHDP2B7NQQ@mail.gmail.com>
References:  <CAAoTqfvgc1Wg5a2b0t%2BpqDnFPQf_43Ek%2Bsu0sjAFwHDP2B7NQQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/04/2019 7:02 pm, Pavel Timofeev wrote:
> Hello.
> I'm curious why security/py-pywinrm is limited to python 2.7 now.
> 
> I tried it with python 3.6:
> 
> --- security/py-pywinrm/Makefile.orig    2019-04-03 10:45:08.434229000 +0300
> +++ security/py-pywinrm/Makefile    2019-04-03 10:45:13.713012000 +0300
> @@ -19,7 +19,7 @@
>           ${PYTHON_PKGNAMEPREFIX}requests-credssp>=0.0.1:security/py-requests-credssp@${PY_FLAVOR}
> 
>   NO_ARCH=    yes
> -USES=        python:2.7
> +USES=        python
>   USE_PYTHON=    autoplist distutils
> 
>   .include <bsd.port.mk>
> 
> 
> Port was successfully rebuilt (on FBSD12) with python3.6.
> Some basic operation works at least with ntlm auth,
> 
> What is/was wrong with the port? I suppose it's worth to document it
> if there is a problem.

http://svnweb.freebsd.org/changeset/ports/469695

No further detail in the commit log message (beyond pkg-fallout)

Maintainer is CC'd

If the port passes QA and run time tests (its own test suite ideally) 
under Python 3.x, we can remove the limitation.

Just open up a Bugzilla issue with a patch after confirming QA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e84f4d26-9267-eff2-3ad8-383d408a894a>