From nobody Sat Aug 06 21:43:05 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 4M0bYQ1h3Nz4XxxX; Sat, 6 Aug 2022 21:43:06 +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 4M0bYQ11Vwz41Yr; Sat, 6 Aug 2022 21:43:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659822186; 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=yK67pkVCM7BGn3ItHw9yNmFdbAgCB/sh1pezkZ03llE=; b=xIyzfi7Xl7uZQtKsvvyisLA+Pw/N6436tuLg65tn3iRnJlrR3ulbY1K6OVcp8o1w4cHYCV qK2gDuQ2uJLquA8QQ5kunMYOC5vt/IBpTy/Ij3jTUQTMWFQA/LQwfHcFyCG05kIidbcxDo J4DBEyYSV9pT5LLL4+N4+rGm03+sRlcv5YSTjBOcz6F2iW0vEkoQZOTT5QBdBUQH4f1tpW K7nem71KHibKue02IEhQ/hLnyRGzMSBlX0Ch9pimwoYBL0Ih4ENUxhjkXQgNbDrSIwGt+0 aGgFyzYzpS0D2S66/Ihk0LgBC32VxeP3FyFfWkuED015bwj/E15Cb4JWjsPKIQ== 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 4M0bYQ03tRznD3; Sat, 6 Aug 2022 21:43:06 +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 276Lh5hH003091; Sat, 6 Aug 2022 21:43:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 276Lh5RV003090; Sat, 6 Aug 2022 21:43:05 GMT (envelope-from git) Date: Sat, 6 Aug 2022 21:43:05 GMT Message-Id: <202208062143.276Lh5RV003090@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 148a7e88a090 - main - math/py-libpoly: Simplify Makefile; Do not require install for tests 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 148a7e88a0909408bde6c07e90c9ee3d4e9cf0ce Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659822186; 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=yK67pkVCM7BGn3ItHw9yNmFdbAgCB/sh1pezkZ03llE=; b=c2W8S/IFkPmh2lJdMWk4ETry4grurzyNuC3CV4yVxVxAcyUp/TXk2tD/1Gg+g2kN1utXYW nv9qeSuNSz2b01hYrQcAfF/0r/bxNqnVXw0eQLXI7PYVLTLsXSOg5E9H8aHyei5/GFzfZQ 2mqad34zIC4HvJqGicSKsi7lKCUj8WK3ZcSUX6YVzh74o8iH518SSz6bDkqpp7KV6D1m4b r5Hro3GYyl5sSoVso9eHkl9idpTd8UPLoMW+trrvw8xwxh64/U+adrYO+Zu51BMuE/dwmH VXYBGVaogkQgsykTZ82HKGq6+PtyjvhONH61sg7v1HOXICrdsGREI33Y9D/FXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659822186; a=rsa-sha256; cv=none; b=AdaNUVzZE5KhT5F9lmMhnpM7RN+144aSzYSWCOS7BSzPewjLIOS60G0mzR4NQzW53pjqT6 y35VV8pO50kPVNkV8myArankefKzdzB/dzRyr8AO7NjinUQCOzBMorh8+jnS/FYMoBCrzD jexgD90aN9dmEVfTUnKg4gWli5XgnSSU/Vszj9GFFoNszvlahY8tNtyqI7k/v5ZqKFQX2b E/OeIUafocHsAtN+EBU8HHlYN1Pliy6QDsWkcqMa1ZymZoLUkxPWEfktLDL6M8iXKCZO9R aXm5Gz3afsVw+nuBZLm5DXC7d9ZvvKUTjIqr4xtFBZ3AB1/8CxnXVl+vkc+keA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=148a7e88a0909408bde6c07e90c9ee3d4e9cf0ce commit 148a7e88a0909408bde6c07e90c9ee3d4e9cf0ce Author: Yuri Victorovich AuthorDate: 2022-08-06 21:23:15 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-06 21:23:15 +0000 math/py-libpoly: Simplify Makefile; Do not require install for tests --- math/py-libpoly/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/math/py-libpoly/Makefile b/math/py-libpoly/Makefile index 1b508cff38e8..88b3a1f1877d 100644 --- a/math/py-libpoly/Makefile +++ b/math/py-libpoly/Makefile @@ -23,17 +23,14 @@ LDFLAGS+= -lpoly BUILD_WRKSRC= ${WRKSRC}/python INSTALL_WRKSRC= ${WRKSRC}/python +TEST_WRKSRC= ${WRKSRC}/test/python + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/polypy*.so -do-build: - @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_BUILD_TARGET} ${PYDISTUTILS_BUILDARGS} - -do-install: - @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_INSTALL_TARGET} ${PYDISTUTILS_INSTALLARGS} - -do-test: install - @cd ${WRKSRC}/test/python && ${PYTHON_CMD} ${WRKSRC}/test/python/check.py +do-test: + @cd ${WRKSRC}/test/python && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./check.py .include