git: f8e9da875473 - main - */*: switch my ports from USES=pytest to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Nov 2022 17:24:28 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f8e9da875473a0b8bedcb995245fbf6d3c2d30d0
commit f8e9da875473a0b8bedcb995245fbf6d3c2d30d0
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-11-21 16:26:43 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-11-21 17:23:42 +0000
*/*: switch my ports from USES=pytest to USE_PYTHON=pytest
Suggested by: sunpoet
---
devel/osc/Makefile | 4 ++--
devel/py-astroid253/Makefile | 4 ++--
devel/py-asttokens/Makefile | 6 +++---
devel/py-async_generator/Makefile | 4 ++--
devel/py-flake8/Makefile | 4 ++--
devel/py-hypothesmith/Makefile | 4 ++--
devel/py-outcome/Makefile | 4 ++--
devel/py-pycodestyle/Makefile | 4 ++--
devel/py-pytest-datadir/Makefile | 4 ++--
devel/py-pytest-mutagen/Makefile | 4 ++--
devel/py-pytest-regtest/Makefile | 4 ++--
devel/py-pytest-trio/Makefile | 6 +++---
devel/py-rubymarshal/Makefile | 4 ++--
devel/py-unittest2pytest/Makefile | 4 ++--
ftp/py-aioftp/Makefile | 4 ++--
graphics/py-pyglet/Makefile | 4 ++--
net/py-siosocks/Makefile | 4 ++--
security/py-trustme/Makefile | 4 ++--
textproc/lookatme/Makefile | 4 ++--
www/py-multidict/Makefile | 4 ++--
www/py-yarl/Makefile | 4 ++--
21 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/devel/osc/Makefile b/devel/osc/Makefile
index 4a8a48899533..57430c02a6c6 100644
--- a/devel/osc/Makefile
+++ b/devel/osc/Makefile
@@ -16,8 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}m2crypto>=0:security/py-m2crypto@${PY_FLAVOR
USE_GITHUB= yes
GH_ACCOUNT= openSUSE
-USES= cpe python pytest
-USE_PYTHON= autoplist distutils noflavors
+USES= cpe python
+USE_PYTHON= autoplist distutils noflavors pytest
PLIST_FILES= bin/osc
NO_ARCH= yes
PYTEST_BROKEN_TESTS= testPrdiffDiffstat
diff --git a/devel/py-astroid253/Makefile b/devel/py-astroid253/Makefile
index 45c3d89f9e0d..79c95e2b059e 100644
--- a/devel/py-astroid253/Makefile
+++ b/devel/py-astroid253/Makefile
@@ -19,8 +19,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
${PYNUMPY}
-USES= python:3.8+ pytest
-USE_PYTHON= autoplist concurrent distutils
+USES= python:3.8+
+USE_PYTHON= autoplist concurrent distutils pytest
CONFLICTS= ${PYTHON_PKGNAMEPREFIX}astroid
diff --git a/devel/py-asttokens/Makefile b/devel/py-asttokens/Makefile
index 0e4ce01e15fe..df6df893dbd4 100644
--- a/devel/py-asttokens/Makefile
+++ b/devel/py-asttokens/Makefile
@@ -16,9 +16,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid253>=0:devel/py-astroid253@${PY_FLAVOR}
-USES= python:3.6+ pytest
-USE_PYTHON= autoplist distutils
-PYTEST_ARGS= --ignore=tests/testdata
+USES= python:3.6+
+USE_PYTHON= autoplist distutils pytest
+TEST_ARGS= --ignore=tests/testdata
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-async_generator/Makefile b/devel/py-async_generator/Makefile
index dad38f70bf39..17a8596c1687 100644
--- a/devel/py-async_generator/Makefile
+++ b/devel/py-async_generator/Makefile
@@ -13,8 +13,8 @@ LICENSE_COMB= dual
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.MIT
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE2
-USES= python:3.5+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.5+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-flake8/Makefile b/devel/py-flake8/Makefile
index db0cf7c57fe6..04a900af9edb 100644
--- a/devel/py-flake8/Makefile
+++ b/devel/py-flake8/Makefile
@@ -17,8 +17,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mccabe>=0:devel/py-mccabe@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyflakes>=0:devel/py-pyflakes@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
-USES= python:3.8+ pytest
-USE_PYTHON= autoplist concurrent distutils
+USES= python:3.8+
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
PYTEST_BROKEN_TESTS= test_up_to_date test_all_pyflakes_messages_have_flake8_codes_assigned
diff --git a/devel/py-hypothesmith/Makefile b/devel/py-hypothesmith/Makefile
index 5ab3eaa73055..be8e0534d238 100644
--- a/devel/py-hypothesmith/Makefile
+++ b/devel/py-hypothesmith/Makefile
@@ -17,8 +17,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVO
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>=0:devel/py-black@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}parso>=0:textproc/py-parso@${PY_FLAVOR}
-USES= python:3.7+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.7+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-outcome/Makefile b/devel/py-outcome/Makefile
index 756a8741e743..59c2971acc2a 100644
--- a/devel/py-outcome/Makefile
+++ b/devel/py-outcome/Makefile
@@ -17,8 +17,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}async_generator>=0:devel/py-async_generator@${PY_FLAVOR}
-USES= python:3.7+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.7+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-pycodestyle/Makefile b/devel/py-pycodestyle/Makefile
index 675c918222bd..1e4d0311a3a7 100644
--- a/devel/py-pycodestyle/Makefile
+++ b/devel/py-pycodestyle/Makefile
@@ -12,8 +12,8 @@ WWW= https://pycodestyle.readthedocs.io/en/latest/ \
LICENSE= MIT # mentioned as "Expat"
-USES= python:3.6+ pytest
-USE_PYTHON= autoplist concurrent distutils
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-pytest-datadir/Makefile b/devel/py-pytest-datadir/Makefile
index 4460cade0748..cb166af3fef2 100644
--- a/devel/py-pytest-datadir/Makefile
+++ b/devel/py-pytest-datadir/Makefile
@@ -15,8 +15,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-USES= python:3.6+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.6+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-pytest-mutagen/Makefile b/devel/py-pytest-mutagen/Makefile
index f03e39acb6ec..14695eb13cd2 100644
--- a/devel/py-pytest-mutagen/Makefile
+++ b/devel/py-pytest-mutagen/Makefile
@@ -17,8 +17,8 @@ USE_GITHUB= yes # LICENSE and tests are missing from PyPI distribution
GH_ACCOUNT= timpaquatte
GH_TAGNAME= b4cc63c # 1.3 tag is also missing
-USES= python:3.6+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.6+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
PYTEST_BROKEN_TESTS= test_BST_mutations test_short_example test_separate_files
diff --git a/devel/py-pytest-regtest/Makefile b/devel/py-pytest-regtest/Makefile
index 2a01aa5efe7c..a37c7e6ffce0 100644
--- a/devel/py-pytest-regtest/Makefile
+++ b/devel/py-pytest-regtest/Makefile
@@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-USES= python pytest
-USE_PYTHON= autoplist distutils
+USES= python
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-pytest-trio/Makefile b/devel/py-pytest-trio/Makefile
index 0cb0f97e7bbc..90c72938a958 100644
--- a/devel/py-pytest-trio/Makefile
+++ b/devel/py-pytest-trio/Makefile
@@ -19,9 +19,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}outcome>=0:devel/py-outcome@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR}
-USES= python:3.7+ pytest
-USE_PYTHON= autoplist distutils
-PYTEST_ARGS= --pyargs pytest_trio
+USES= python:3.7+
+USE_PYTHON= autoplist distutils pytest
+TEST_ARGS= --pyargs pytest_trio
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-rubymarshal/Makefile b/devel/py-rubymarshal/Makefile
index 0291b0371152..d53b763d8236 100644
--- a/devel/py-rubymarshal/Makefile
+++ b/devel/py-rubymarshal/Makefile
@@ -17,8 +17,8 @@ USE_GITHUB= yes # tests are missing from PyPI distribution
GH_ACCOUNT= d9pouces
GH_PROJECT= RubyMarshal
-USES= python:3.6+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.6+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-unittest2pytest/Makefile b/devel/py-unittest2pytest/Makefile
index 3ee206387554..c68c53f407c2 100644
--- a/devel/py-unittest2pytest/Makefile
+++ b/devel/py-unittest2pytest/Makefile
@@ -12,8 +12,8 @@ WWW= https://pypi.org/project/unittest2pytest/ \
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING-GPLv3.txt
-USES= python pytest
-USE_PYTHON= autoplist concurrent distutils
+USES= python
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/ftp/py-aioftp/Makefile b/ftp/py-aioftp/Makefile
index f56f7e8f05e7..834b25e1ae43 100644
--- a/ftp/py-aioftp/Makefile
+++ b/ftp/py-aioftp/Makefile
@@ -18,8 +18,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@$
${PYTHON_PKGNAMEPREFIX}siosocks>0:net/py-siosocks@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR}
-USES= python:3.7+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.7+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/graphics/py-pyglet/Makefile b/graphics/py-pyglet/Makefile
index af1047762cda..b5f8c0f79729 100644
--- a/graphics/py-pyglet/Makefile
+++ b/graphics/py-pyglet/Makefile
@@ -12,9 +12,9 @@ WWW= https://pypi.org/project/pyglet/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= display:test gl python:3.6+ pytest zip
+USES= display:test gl python:3.6+ zip
USE_GL= gl glu
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
CONFLICTS_INSTALL=${PYTHON_PKGNAMEPREFIX}${PORTNAME}1
diff --git a/net/py-siosocks/Makefile b/net/py-siosocks/Makefile
index 04f5bb534956..16abe5a0d611 100644
--- a/net/py-siosocks/Makefile
+++ b/net/py-siosocks/Makefile
@@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/license.txt
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-trio>=0:devel/py-pytest-trio@${PY_FLAVOR}
-USES= python:3.8+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.8+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/py-trustme/Makefile b/security/py-trustme/Makefile
index 3f577b72727d..7a96ae15f533 100644
--- a/security/py-trustme/Makefile
+++ b/security/py-trustme/Makefile
@@ -20,8 +20,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAV
${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}service_identity>=0:security/py-service_identity@${PY_FLAVOR}
-USES= python:3.6+ pytest
-USE_PYTHON= autoplist distutils
+USES= python:3.6+
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/textproc/lookatme/Makefile b/textproc/lookatme/Makefile
index bde36cf8fe39..e412acf549bd 100644
--- a/textproc/lookatme/Makefile
+++ b/textproc/lookatme/Makefile
@@ -19,9 +19,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}marshmallow>=0:devel/py-marshmallow@${PY_FLA
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
-USES= cpe python:3.6+ pytest
+USES= cpe python:3.6+
CPE_VENDOR= ${PORTNAME}_project
-USE_PYTHON= autoplist distutils noflavors
+USE_PYTHON= autoplist distutils noflavors pytest
NO_ARCH= yes
post-patch:
diff --git a/www/py-multidict/Makefile b/www/py-multidict/Makefile
index d1a8c43df231..e55477780104 100644
--- a/www/py-multidict/Makefile
+++ b/www/py-multidict/Makefile
@@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
-USES= python:3.7+ pytest
-USE_PYTHON= autoplist cython distutils
+USES= python:3.7+
+USE_PYTHON= autoplist cython distutils pytest
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/multidict/*.so
diff --git a/www/py-yarl/Makefile b/www/py-yarl/Makefile
index a4fd7a71099e..554927f5c7b2 100644
--- a/www/py-yarl/Makefile
+++ b/www/py-yarl/Makefile
@@ -15,8 +15,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multidict>0:www/py-multidict@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
-USES= python:3.7+ pytest
-USE_PYTHON= autoplist distutils cython
+USES= python:3.7+
+USE_PYTHON= autoplist distutils cython pytest
pre-configure:
@rm ${WRKSRC}/yarl/_quoting_c.c