From nobody Fri Apr 12 03:02:00 2024 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 4VG1Z1458Xz5Ghgq; Fri, 12 Apr 2024 03:02:01 +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 4VG1Z109tZz4Zk3; Fri, 12 Apr 2024 03:02:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712890921; 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=TeThDrc9EOvG5AosaxUe20Jw9jpOKkXQmqdYvcLrlk0=; b=vA4ToH/9VOvCmLOuBsfzb7IqFtrG5HMst1cNgFo3PT1KxAc/l7Vh2LbiOqnT4pheotXbux buE3knDvWhXGSS0l59KAmci4iC+6x87VN0kvbi4E3ItcJ9XF5cDqMUdHb+MEk3BSGQjDet 3SJjAWwMDqNbb6xtj4s2Uks4ETHtDJiYfyNz4KprCbDHzIbbERGcCkIomkoMZSwVd6MuMr KdhYCF3duWC3p76S66ujXG8/y7oJRu+XUc/x7gMjvbl1Ey1X14zUTT1fxWSiIhTtq6l+Ld 9qE4dFoi0gS9n6zpGbusUKlctxss0G6+ZIEa5foZ5uc+4tVpaA9rtiqEvlhs5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712890921; a=rsa-sha256; cv=none; b=UvLwF5jXKdF/O7W68dxwLVDwYqC8KRpVJPPl6bCVerxGFf7etL8iFATCb7f36fikV++Rxq RYiSo5bY+028FDVF3KSiduL7eQo+qFdBdhBkV54z376FDpVZQvObsQFCEuijEwMhJhKIB3 ptABxsWZlQfi5OGFyTubASIk20Aby0ARcKgl0ZWnMf9/rGhk44q+OrZf0MnvFJbtRfF/7R ZW1IbLtvbsmvBP/FNfuKlPiF8NmZ7t9n0FQVk1EP36YuR0KDyL34tZ9A7rD6aNRn5GseD2 Sb8pGsMdKeMi8gv+1CYd+OL5+Vq3a6h6lnWomg9jth8QKwDOyadSuzp0uOXojQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712890921; 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=TeThDrc9EOvG5AosaxUe20Jw9jpOKkXQmqdYvcLrlk0=; b=Rz1GaN76iS9toe9VUNE+8/9Fi7W419U32/gn9CKxVsXvF3pIoV/37pryCTc8sf0NidnKNU BPlSJytv+kOqnNLoAXs0NJ5Bav3g+50GFFOFjdlOrAF+c0jPjb2efp19M6rPa/RKoCFx5O 1C8d0jIWwpMNhpR8kZmWykAlzPXywZO/3FUpPXBlH9F8wRs3vuFHlMyuAJTFOMGKKZM0++ yE7+pEr3mxOpKyeN3MizWK3hlB1Yc2ZrLi0FV5dhqdicMhRAsSAfhr8WfM+vNyKB4q+C/Q rNoK9IVSn3grL+yg1PirYquN52Jt+U2VAryT9zDVnct/sWVxkTdkeRbmny/0gQ== 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 4VG1Z06XXxzXdy; Fri, 12 Apr 2024 03:02:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43C320aR033533; Fri, 12 Apr 2024 03:02:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43C3209g033499; Fri, 12 Apr 2024 03:02:00 GMT (envelope-from git) Date: Fri, 12 Apr 2024 03:02:00 GMT Message-Id: <202404120302.43C3209g033499@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: d84c10537ac9 - main - math/py-PuLP: update 2.7.0 =?utf-8?Q?=E2=86=92?= 2.8.0 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: dev-commits-ports-all+owner@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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d84c10537ac94f57c82b3534ab3224a716fdd772 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d84c10537ac94f57c82b3534ab3224a716fdd772 commit d84c10537ac94f57c82b3534ab3224a716fdd772 Author: Yuri Victorovich AuthorDate: 2024-04-12 02:26:37 +0000 Commit: Yuri Victorovich CommitDate: 2024-04-12 03:01:49 +0000 math/py-PuLP: update 2.7.0 → 2.8.0 Also replace cbc binaries for other systems with FreeBSD binary. Reported by: portscout --- math/py-PuLP/Makefile | 18 +++++++++++++----- math/py-PuLP/distinfo | 6 +++--- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/math/py-PuLP/Makefile b/math/py-PuLP/Makefile index ebc3d3a25a0b..0e567d97a2c3 100644 --- a/math/py-PuLP/Makefile +++ b/math/py-PuLP/Makefile @@ -1,6 +1,5 @@ PORTNAME= PuLP -DISTVERSION= 2.7.0 -PORTREVISION= 1 +DISTVERSION= 2.8.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,7 +17,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amply>=0.1.2:math/py-amply@${PY_FLAVOR} \ USES= cpe python CPE_VENDOR= ${PORTNAME:tl}project -USE_PYTHON= distutils concurrent autoplist +USE_PYTHON= distutils concurrent autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes @@ -26,7 +27,14 @@ post-patch: @${CP} ${WRKSRC}/pulp/pulp.cfg.linux ${WRKSRC}/pulp/pulp.cfg.freebsd @${REINPLACE_CMD} -E 's/^(CplexPath|PulpCbcPath) = .*/#&/' ${WRKSRC}/pulp/pulp.cfg.freebsd -do-test: install # one test is known to fail: https://github.com/coin-or/pulp/issues/494 - @cd ${TEST_WRKSRC} && py.test +post-install: # workaround for https://github.com/coin-or/pulp/issues/740: replace cbc binaries for other systems with the FreeBSD binary + for cbc_exe in ${STAGEDIR}${PYTHON_SITELIBDIR}/pulp/solverdir/cbc/*/*/cbc ${WRKSRC}/pulp/solverdir/cbc/*/*/cbc; do \ + ${RM} $${cbc_exe} && \ + ${LN} -s ${LOCALBASE}/bin/cbc $${cbc_exe}; \ + done + +do-test: # one test is known to fail: https://github.com/coin-or/pulp/issues/494 + #@cd ${TEST_WRKSRC} && py.test + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -c "import pulp; pulp.pulpTestAll()" .include diff --git a/math/py-PuLP/distinfo b/math/py-PuLP/distinfo index 9829ba9a869d..d3c4eae5e448 100644 --- a/math/py-PuLP/distinfo +++ b/math/py-PuLP/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1667614511 -SHA256 (PuLP-2.7.0.tar.gz) = e73ee6b32d639c9b8cf4b4aded334ba158be5f8313544e056f796ace0a10ae63 -SIZE (PuLP-2.7.0.tar.gz) = 1400315 +TIMESTAMP = 1712868648 +SHA256 (PuLP-2.8.0.tar.gz) = 4903bf96110bbab8ed2c68533f90565ebb76aa367d9e4df38e51bf727927c125 +SIZE (PuLP-2.8.0.tar.gz) = 17610412