Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2022 17:33:35 +0800
From:      Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Dmitry Marakasov <amdmi3@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: aa1913df7f3f - main - devel/py-responses: switch to USES=pytest
Message-ID:  <CAMHz58TC1m=gOwUYxg25yhKbv2oJENVS_phYXo0bqdWN5WWuZA@mail.gmail.com>
In-Reply-To: <202211071228.2A7CSOpv081761@gitrepo.freebsd.org>
References:  <202211071228.2A7CSOpv081761@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000582bc105edcf86b3
Content-Type: text/plain; charset="UTF-8"

On Mon, Nov 7, 2022 at 8:28 PM Dmitry Marakasov <amdmi3@freebsd.org> wrote:

> The branch main has been updated by amdmi3:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=aa1913df7f3f2f46e4b276b5c1b4e6d647ed70a4
>
> commit aa1913df7f3f2f46e4b276b5c1b4e6d647ed70a4
> Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
> AuthorDate: 2022-11-07 12:14:58 +0000
> Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
> CommitDate: 2022-11-07 12:27:46 +0000
>
>     devel/py-responses: switch to USES=pytest
>

Please stop doing this.
It should be USE_PYTHON=pytest, not USES=pytest.
Furthermore, all existing USES=pytest should be changed to
USE_PYTHON=pytest.


>
>     Approved by:    portmgr blanket
> ---
>  devel/py-responses/Makefile | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/devel/py-responses/Makefile b/devel/py-responses/Makefile
> index 8469076cffc4..53492b036954 100644
> --- a/devel/py-responses/Makefile
> +++ b/devel/py-responses/Makefile
> @@ -18,14 +18,13 @@ RUN_DEPENDS=
> ${PYTHON_PKGNAMEPREFIX}mypy>=0:devel/py-mypy@${PY_FLAVOR} \
>  TEST_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}coverage>=6.0.0:devel/py-coverage@${PY_FLAVOR}
> \
>                 ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR}
> \
>                 ${PYTHON_PKGNAMEPREFIX}mypy>=0:devel/py-mypy@${PY_FLAVOR}
> \
> -               ${PYTHON_PKGNAMEPREFIX}pytest>=7.0.0:devel/py-pytest@${PY_FLAVOR}
> \
>
> ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR}
> \
>                 ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
> \
>
> ${PYTHON_PKGNAMEPREFIX}pytest-localserver>=0:devel/py-pytest-localserver@${PY_FLAVOR}
> \
>                 ${PYTHON_PKGNAMEPREFIX}types-mock>=0:devel/py-types-mock@${PY_FLAVOR}
> \
>
> ${PYTHON_PKGNAMEPREFIX}types-requests>=0:devel/py-types-requests@
> ${PY_FLAVOR}
>
> -USES=          python:3.7+
> +USES=          python:3.7+ pytest
>  USE_PYTHON=    autoplist concurrent distutils
>
>  NO_ARCH=       yes
>

--000000000000582bc105edcf86b3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>On Mon, Nov 7, 2022 at 8:28 PM Dmitry Marakasov &lt;<=
a href=3D"mailto:amdmi3@freebsd.org" target=3D"_blank">amdmi3@freebsd.org</=
a>&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex">The branch main has been updated by amdmi3:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3Daa1913df7f3f2f4=
6e4b276b5c1b4e6d647ed70a4" rel=3D"noreferrer" target=3D"_blank">https://cgi=
t.FreeBSD.org/ports/commit/?id=3Daa1913df7f3f2f46e4b276b5c1b4e6d647ed70a4</=
a><br>
<br>
commit aa1913df7f3f2f46e4b276b5c1b4e6d647ed70a4<br>
Author:=C2=A0 =C2=A0 =C2=A0Dmitry Marakasov &lt;amdmi3@FreeBSD.org&gt;<br>
AuthorDate: 2022-11-07 12:14:58 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Dmitry Marakasov &lt;amdmi3@FreeBSD.org&gt;<br>
CommitDate: 2022-11-07 12:27:46 +0000<br>
<br>
=C2=A0 =C2=A0 devel/py-responses: switch to USES=3Dpytest<br></blockquote><=
div><br></div><div>Please stop doing this.</div><div>It should be USE_PYTHO=
N=3Dpytest, not USES=3Dpytest.</div><div>Furthermore, all existing USES=3Dp=
ytest should be changed to USE_PYTHON=3Dpytest.</div><div>=C2=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0 Approved by:=C2=A0 =C2=A0 portmgr blanket<br>
---<br>
=C2=A0devel/py-responses/Makefile | 3 +--<br>
=C2=A01 file changed, 1 insertion(+), 2 deletions(-)<br>
<br>
diff --git a/devel/py-responses/Makefile b/devel/py-responses/Makefile<br>
index 8469076cffc4..53492b036954 100644<br>
--- a/devel/py-responses/Makefile<br>
+++ b/devel/py-responses/Makefile<br>
@@ -18,14 +18,13 @@ RUN_DEPENDS=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 ${PYTHON_PKGN=
AMEPREFIX}mypy&gt;=3D0:devel/py-mypy@${PY_FLAVOR} \<br>
=C2=A0TEST_DEPENDS=3D=C2=A0 ${PYTHON_PKGNAMEPREFIX}coverage&gt;=3D6.0.0:dev=
el/py-coverage@${PY_FLAVOR} \<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${PYTHON_PKGNAMEPRE=
FIX}flake8&gt;=3D0:devel/py-flake8@${PY_FLAVOR} \<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${PYTHON_PKGNAMEPRE=
FIX}mypy&gt;=3D0:devel/py-mypy@${PY_FLAVOR} \<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${PYTHON_PKGNAMEPRE=
FIX}pytest&gt;=3D7.0.0:devel/py-pytest@${PY_FLAVOR} \<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${PYTHON_PKGNAMEPRE=
FIX}pytest-asyncio&gt;=3D0:devel/py-pytest-asyncio@${PY_FLAVOR} \<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${PYTHON_PKGNAMEPRE=
FIX}pytest-cov&gt;=3D0:devel/py-pytest-cov@${PY_FLAVOR} \<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${PYTHON_PKGNAMEPRE=
FIX}pytest-localserver&gt;=3D0:devel/py-pytest-localserver@${PY_FLAVOR} \<b=
r>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${PYTHON_PKGNAMEPRE=
FIX}types-mock&gt;=3D0:devel/py-types-mock@${PY_FLAVOR} \<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${PYTHON_PKGNAMEPRE=
FIX}types-requests&gt;=3D0:devel/py-types-requests@${PY_FLAVOR}<br>
<br>
-USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 python:3.7+<br>
+USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 python:3.7+ pytest<br>
=C2=A0USE_PYTHON=3D=C2=A0 =C2=A0 autoplist concurrent distutils<br>
<br>
=C2=A0NO_ARCH=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0yes<br>
</blockquote></div></div>

--000000000000582bc105edcf86b3--



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