From nobody Fri Jun 03 17:01:54 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 1EC2D1BD6321; Fri, 3 Jun 2022 17:01:56 +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 4LF8LW30QBz3wG2; Fri, 3 Jun 2022 17:01:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654275715; 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=ez3vP5xGrdik2XZU8T8T9ShBcvVW2mdrnetcnQEy4e8=; b=pvns5exkeNPerxReSqQ7OoC/bjYufUXTRH4OlQFzNr04Wwj2iN8aBrOx4Z8NIra4e+jryF Njc7bOfVVoNNsxQ3fnjk7niSk6mdPY3fSTRAYjxYur/h5FkNJlVd1twT/UZeNHUt79anBl xZtBG2dWHwcV/Snr/WklrPZuddQe30R4mq92aCVsCI7nObUYixzkKSYBJno9SaAutV1TUd hVlk3Oag7haF2zBu9FMgp75/VD+o+UeSgHEuYKu8JPQWuD+hyZGKstz1vfFnUlbFnjYcPI CqQAyi4g69GeNr1MEp+Smf+Y86TelNcyv3lVREGBqczZJXyOAjM3/X+I/7zlEg== 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 ED7FF51A8; Fri, 3 Jun 2022 17:01:54 +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 253H1s0V050489; Fri, 3 Jun 2022 17:01:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 253H1s01050480; Fri, 3 Jun 2022 17:01:54 GMT (envelope-from git) Date: Fri, 3 Jun 2022 17:01:54 GMT Message-Id: <202206031701.253H1s01050480@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: 0f5a1f574d03 - main - databases/py-apsw: 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: 0f5a1f574d037fdb6a183f3211f33e1ba43ac47d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654275715; 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=ez3vP5xGrdik2XZU8T8T9ShBcvVW2mdrnetcnQEy4e8=; b=StuWhoKtYNEJhvgCwb6A+dsKRXIF3ieKsetEvNa0tzlzdccPF5o/G07ita5mdgQH7u0oR6 w804QOSk41aZmjw7lXv8BgU9AfCQZzWHw51o+jwEovbzuFE1A9LgG/J3CBx4p5r/phPKxI qE7Z28iACChSxtAJBHQmPA25W0krhRaqal0dnf2RYG5wvkeUjyCVcmsvxn6DDaUpPmDZVD iCRlF+7cFecg2ie2gBYX0is7LKCqXG/O+BQDSeido/WtHHDdskMV3CNGDX/Fl2b2coJJTb rSa3kteIGXfwlA530B/HHbtP4PMvae+kQ1cCfS7mxe/kcDLC8b0Bp2BNyAQGYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654275715; a=rsa-sha256; cv=none; b=ldcLLHT1PEh7rT4CeWyBMNrETb4Fkkste0V0xDl6no2sF+GISZrs7pksTnQLL4jjZ7Pj3h kQLpeCuANbFK7VYdw0M64/t9flMpZCUxKeHSgL74qVx/Zqdyp8QNnpE/pSYujQNPeL0Aw6 HpdpC33Dr5nk3i8gqZcA8U13AbxuXzwo5d0aNBJ4swMcQ2KGn3kWyEvLTF6j8EZ3vg5/0f SrK9nOCJbqt8ya1IOGKJVy8+mtQc+GGvqIK+esRsegVNn5p9dubqfdSARw8Kmvbo5NKt2w znxOz99hu6Qs/aAJvAzVJxkOv3Pjr/yAQ9Ol43BKAc1QVha4toPQKSajpPNrgQ== 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=0f5a1f574d037fdb6a183f3211f33e1ba43ac47d commit 0f5a1f574d037fdb6a183f3211f33e1ba43ac47d Author: Po-Chuan Hsieh AuthorDate: 2022-06-03 16:57:42 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-03 16:57:42 +0000 databases/py-apsw: Convert to USE_PYTHON=unittest --- databases/py-apsw/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/databases/py-apsw/Makefile b/databases/py-apsw/Makefile index 1869c02592e1..1b72b989bb90 100644 --- a/databases/py-apsw/Makefile +++ b/databases/py-apsw/Makefile @@ -16,7 +16,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= sqlite3>=${PORTVERSION:R},1:databases/sqlite3 USES= localbase python:3.7+ sqlite:3 zip -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils unittest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} OPTIONS_DEFINE= EXTENSION OPTIONS_DEFAULT=EXTENSION @@ -28,7 +30,4 @@ EXTENSION_VARS_OFF= PYDISTUTILS_BUILDARGS+=--omit=load_extension post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + -do-test: - cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py test - .include