From nobody Fri Jun 03 14:00:42 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 DC6981B5B44A; Fri, 3 Jun 2022 14:00:45 +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 4LF4KR1Mfsz3FHh; Fri, 3 Jun 2022 14:00:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654264843; 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=ThE1ke2BnwcTRPjGJ0cYa44BzmAgXezjUrgsWaB6uqw=; b=ydZKnFONqWu40WLzOBgRY0NodDwsplyA/1RupQBKqgLTSdhTkzdJUbNNyu4ShSysANWZmC GCTAvQn9H4NTVPE/JchHS1I157BIUkH5c9onrMZynP1vaZ+cGaqOwPs4pbRHgFCebPuqOC ul7e0itkdq+c5Ex0GuWT3Al83DYf0ai+OH6cVZ5B7peN84lvaht9ZP5icWG+ukCES2BkRj 4beItn+ItrG+QKVt2hO0/cnJXHqe8yg+ceslRZoTD0gYhlhoLPPOo07mcaee4sHtotR4DA 8k04Vpj0H9jo8mi+5jqgHKdbG1effHRME9a0HoUPi2DLf+dUoQ9SP0uggERX4g== 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 C278B21CA; Fri, 3 Jun 2022 14:00:42 +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 253E0gN2098874; Fri, 3 Jun 2022 14:00:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 253E0gAg098873; Fri, 3 Jun 2022 14:00:42 GMT (envelope-from git) Date: Fri, 3 Jun 2022 14:00:42 GMT Message-Id: <202206031400.253E0gAg098873@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: 980748c75bf1 - main - math/py-cryptominisat: Fix build with setuptools 61.0.0+ 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: 980748c75bf1722fc6dabb95b3caae389098bd08 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654264843; 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=ThE1ke2BnwcTRPjGJ0cYa44BzmAgXezjUrgsWaB6uqw=; b=La1APC7G3hYub1h8dATQ6cqbwRXhwCyFilHrHIZ8syX9b15aZhIMLqMy3jFWKnu+9ayATh h39la/qBpHZnLH4jqxKTlSN+1Hg0Y6vyJnxGkDoroAmq2f5tBX5IJgoCpkMmS3nEuipu9k Nxsaj/QxUpfzyv3hMyvsR4h5hRbdCtqSnunYYOUTDmyBnzX6qQ+MbkG+Uzj+baPhDzfotE yBoDwFTce81aiGUrdhNwhFzYT+PNsApFA5Ure6THAEjg+SZr7cTbRwFrjoE0d4ctGEFKHY 2YsCD/2bFiQn3PeM2c/ntrN3uo+cOkrnpoUtrj2W7StYcPjZnNYV2A4pTUBAAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654264843; a=rsa-sha256; cv=none; b=jTA547GOmDiA5Uh24REYt+JbG7rBp2LjGlhwfqqiwEZSlVOom5NoODlg1OSZDbRDP7b5pU auMwafaSzVahkjoygGI0gkSCUlY5puQPCKVaL/cb45ZxlK9P5WkM0o1l9fl/wDh0Vc8Rnn G/+zJx4P1j9GWiDPfW3Z/dtP+3XxwlStYX7BY/AHgTm1OfmjEwhf5Iqs28atqbRyAbTOo/ 9hQ3E600kFqcA8i3kncjcp0aXjosY8YwQAmGLYO3XSscjGtPPe5DTwRyKfHrvze+ZYJQB7 JVHHq2776r33M0GLsLY83061vwrpihrG2UWEDrxJy4l6Vf24w1SqA0S742kR5g== 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=980748c75bf1722fc6dabb95b3caae389098bd08 commit 980748c75bf1722fc6dabb95b3caae389098bd08 Author: Po-Chuan Hsieh AuthorDate: 2022-06-03 13:57:59 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-03 13:59:16 +0000 math/py-cryptominisat: Fix build with setuptools 61.0.0+ With hat: python --- math/py-cryptominisat/files/patch-setup.py.in | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/math/py-cryptominisat/files/patch-setup.py.in b/math/py-cryptominisat/files/patch-setup.py.in index ad6f9c3d61bb..a78c83ac1740 100644 --- a/math/py-cryptominisat/files/patch-setup.py.in +++ b/math/py-cryptominisat/files/patch-setup.py.in @@ -1,6 +1,26 @@ ---- setup.py.in.orig 2019-02-19 20:49:20 UTC +--- setup.py.in.orig 2020-07-06 21:45:41 UTC +++ setup.py.in -@@ -118,12 +118,12 @@ else: +@@ -27,7 +27,7 @@ import sys + import os + import platform + from distutils.core import setup, Extension +-from distutils import sysconfig ++import sysconfig + from distutils.cmd import Command + + __PACKAGE_VERSION__ = "0.2.0" +@@ -59,8 +59,8 @@ def _init_posix(init): + Forces g++ instead of gcc on most systems + credits to eric jones (eric@enthought.com) (found at Google Groups) + """ +- def wrapper(): +- init() ++ def wrapper(vars): ++ init(vars) + + config_vars = sysconfig.get_config_vars() # by reference + if config_vars["MACHDEP"].startswith("sun"): +@@ -119,12 +119,12 @@ else: modules = dict( name = "pycryptosat", @@ -16,7 +36,7 @@ runtime_library_dirs=['${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}'], libraries = [libname] ) -@@ -152,7 +152,7 @@ setup( +@@ -153,7 +153,7 @@ setup( description = "Bindings to CryptoMiniSat {} (a SAT solver)".\ format(__LIBRARY_VERSION__), # py_modules = ['pycryptosat'],