git: df0f65b2104f - main - net-p2p/py-nicotine-plus: Convert to USE_PYTHON=unittest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 10 Sep 2022 13:05:22 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df0f65b2104f3fc5a3acd38dcadc04ae68901fff

commit df0f65b2104f3fc5a3acd38dcadc04ae68901fff
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-10 12:54:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-10 13:03:01 +0000

    net-p2p/py-nicotine-plus: Convert to USE_PYTHON=unittest
    
    - Sort USES
---
 net-p2p/py-nicotine-plus/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/net-p2p/py-nicotine-plus/Makefile b/net-p2p/py-nicotine-plus/Makefile
index 01b682ac401b..41c902f32ee5 100644
--- a/net-p2p/py-nicotine-plus/Makefile
+++ b/net-p2p/py-nicotine-plus/Makefile
@@ -15,11 +15,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mutagen>=1.42:audio/py-mutagen@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}gobject3>=3.16:devel/py-gobject3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}gdbm>=3.6:databases/py-gdbm@${PY_FLAVOR}
 
-USES=		python:3.6+ gnome gettext-tools
+USES=		gettext-tools gnome python:3.5+
 USE_GNOME=	gtk30
-USE_PYTHON=	distutils concurrent autoplist
-
-do-test:
-		@cd ${WRKSRC} && ${PYTHON_CMD} -v -m unittest
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 .include <bsd.port.mk>