From nobody Thu Jun 09 11:03:19 2022 X-Original-To: dev-commits-ports-all@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 CC0F0831DF1; Thu, 9 Jun 2022 11:03:20 +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 4LJh603jzvz4xCs; Thu, 9 Jun 2022 11:03:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654772600; 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=7TzUyV0oRwxj/465ehFq+VEASmgQBPSTLXz/4AsoI6E=; b=Y97B/b1RidpXoPQdeGXs79qlZbJpHwfTwqans1ly3wtVjWZMFWEcyJYM73dqLezMpBXHtc eDb6iFF6D1AgQStPgesjO8OO7GayvAMTZoyyXOrLo134delNGuV3fcmhcTIOAh/spMy5xp D/6k0k92PZNqbHPWcB7mWYfjZ6a8hThsLgYrGA330f+ajDlsPS28wbfWU3OpVGleAzr2Zy +GJUosjj+KhVMZNVje92UDMF2mUu36C5BbOKzMb1UsTu5XuFONXi7+0/nz1jrk4wnrWTY4 4aPDDHH3ObwmsrMzAky8mN4xLhAUTJ67xdWexOqruPbTRcMcR1WUE6BpUGao9Q== 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 C65C022771; Thu, 9 Jun 2022 11:03:19 +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 259B3JAY049856; Thu, 9 Jun 2022 11:03:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 259B3JQb049855; Thu, 9 Jun 2022 11:03:19 GMT (envelope-from git) Date: Thu, 9 Jun 2022 11:03:19 GMT Message-Id: <202206091103.259B3JQb049855@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: 8a847db1399f - main - archivers/py-zopfli: Convert to USE_PYTHON=pytest List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 8a847db1399fee380c7e2d61902f7fd61bbcda91 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654772600; 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=7TzUyV0oRwxj/465ehFq+VEASmgQBPSTLXz/4AsoI6E=; b=RLCImXaqYhwdG31MOcl9zm8NdyqKWmSUxCZaeGVIEvA4LyhNEvFS8rK3WYR7T1ncT/SEwG J2yT5ZOlaBkwAFlOdV+6m025Guvrg8Vg/WLvd010VCwFpIDyMMHxXHuSMDEO7RKsI8hTGa DvrI5T47LluyArflKLi3X5evcY++XrBiOgv4gyagCnkfuzO63prJgRN2ReIZt59KcENKPJ KKUwxmEmeFGU3edU7e3EIgzRYwEaMIOwt193nPc5pSDpD0qtiDIkZZYaaezn63vry0k14g ZoU3thx5r/NSmOicyROmUKMJai4NmNfKPg0foRDOVMs057JCrkXUUiCvp1Af5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654772600; a=rsa-sha256; cv=none; b=MApaxg6r9O0FfzvqyulH0GUSZIe12ourOuseRw9BnpxYf/iXyo+oasZD1J32KzPe8mwmJ6 N2sKNeIodWibsvO99lla58FHqFE25QYrhsMgGcTn7/iuOCYS54vLJ/O1p2+cWE+4RvNDn4 KJsXqahy8UDfSLplVKyGYuUiTUtBSk6U+zPEqvmYFAbg0i7xZQ5P3W6TLz7uF07G8I6ex3 wrMdqkxUIV5IPuTq7SvmGj2GnEzPfPNV5drAk81AuwFj8cvDcHGDJJFC7qR4QOZD/wDkln aRvsaRptrZpaa6ROfN6mTmxTvkoc8CmovsdpTnjw8z1W64rxrDf0MgY3nXhEWQ== 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=8a847db1399fee380c7e2d61902f7fd61bbcda91 commit 8a847db1399fee380c7e2d61902f7fd61bbcda91 Author: Po-Chuan Hsieh AuthorDate: 2022-06-09 10:58:06 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-09 10:58:06 +0000 archivers/py-zopfli: Convert to USE_PYTHON=pytest --- archivers/py-zopfli/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/archivers/py-zopfli/Makefile b/archivers/py-zopfli/Makefile index be1fd65fe33b..94696eedafa0 100644 --- a/archivers/py-zopfli/Makefile +++ b/archivers/py-zopfli/Makefile @@ -13,15 +13,13 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} USES= python:3.7+ zip -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + -do-test: - cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v - .include