From nobody Tue Jun 21 16:38:01 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7BE3287AE1A; Tue, 21 Jun 2022 16:38:03 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LSByf3Tr0z3Gcx; Tue, 21 Jun 2022 16:38:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Zu5okjHcCxrbW6cG34IAjog+lkN9eUJMNnYc6tXkmYc=; b=aMZMSFlAAFFYYMfxl7QU/k7jdlj/97nJ/OQ93RbNC1U1ETWCwKbOhUNJ6HI+tUpbq3ETIU RJ89PukMuCvgmsRJzi9XtNqkHRQHrvhUtRxiNvRrkQlOBBjEQxdb/0vmZyHGmGl2UI+ftj 6/IgXQgQ1pMZZSbMWXUvWBvEFY9GAuHej/owSFZO6SfZgemhThsYg3VBWJi4DrArZeZ+rO I02Sc5H7SSFLpkqta3hVJdqMjg7Ks68J0zsQAPV+oG+fefNjcxau3m7tsrFO6wGnmD+19T KHe9WZWfhQT3HfHOoG1wU1x33q43iHScM4JuKRld0u236vQZmIDMLOnwZonjXw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E2B67155FD; Tue, 21 Jun 2022 16:38:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25LGc1gV060217; Tue, 21 Jun 2022 16:38:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LGc1PI060216; Tue, 21 Jun 2022 16:38:01 GMT (envelope-from git) Date: Tue, 21 Jun 2022 16:38:01 GMT Message-Id: <202206211638.25LGc1PI060216@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 0113ba448f9f - main - devel/py-freebsd: Convert to USE_PYTHON=unittest List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0113ba448f9f298bba0e1aa2488f7fa6d5662c8a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Zu5okjHcCxrbW6cG34IAjog+lkN9eUJMNnYc6tXkmYc=; b=F9QlBlPCZrB7dOo4DY06GvANwTpuNKcCfJIK+87hinbhE14uZIsMmir8u8znToHNIDzdYR kSf8h49D/jr7QmqAzckwGLJXc1yjZapJaHmjaMbwqKFD4VekL/mf4lgxEJVkwx+7smdsRl 6jvcKFLP6KIF6g5qw9N571cHgou+oTSwABoINwCVDm+w+hLMfjX2zPmRfptQPXlck15mwo ajUCVHLthPSjT/opIvu2/NYNWUFtyg9dTbhbye2XsZkJqNtrHpVuMX5D5LigyPjR1MNU/7 KjWqbKTBjD/P3WV4qI74p3RvscdpLRdUFtR0Ub0Pm/PrxCO1/Bfy7EtNMY+LOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655829482; a=rsa-sha256; cv=none; b=recnletgW+H13Y8V8inBcs1A8Q6oiQ9rDnkPBJfM2h+m0yyGaIO/xw1GdyjXJs+HeADmxY 9sTMauXlj5WVTBXpIkobFZ2y4uqNipMPR54J6RMTv1RwJMDPuhGqP0o9jdznatLip/nbQk ZD0HmS+ukRALssFGGi5tZrQi2AGuZoyX+hr5WNVgQCUzJDyGc47nW6g78QsQq/B1ko7C8Q mjrIs9zOhw+3wbZtgUvBa1E31yMWGfdeR46Mzx8EmhNhbO6sPSb4iAkw7kYfcko5lH0Ump q0Ezw5+fCgD+qpIfXP8o3lWaQV9gdQGUQ0nHYDnWK9a0vi505toM+vHt50d8oA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0113ba448f9f298bba0e1aa2488f7fa6d5662c8a commit 0113ba448f9f298bba0e1aa2488f7fa6d5662c8a Author: Po-Chuan Hsieh AuthorDate: 2022-06-21 16:33:40 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-21 16:36:29 +0000 devel/py-freebsd: Convert to USE_PYTHON=unittest --- devel/py-freebsd/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/devel/py-freebsd/Makefile b/devel/py-freebsd/Makefile index 0e253046cdd0..44bdebf7a4f0 100644 --- a/devel/py-freebsd/Makefile +++ b/devel/py-freebsd/Makefile @@ -13,18 +13,16 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= python:3.6+ -USE_GITHUB= yes -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist distutils unittest +USE_GITHUB= yes GH_ACCOUNT= sobomax -GH_PROJECT= py-${PORTNAME} +GH_PROJECT= py-freebsd PYDISTUTILS_BUILD_TARGET=build_ext -i +TEST_ARGS= discover -s tests post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/freebsd*.so -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover tests -v - .include