From nobody Sat Apr 16 04:25:37 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 635597CF08E; Sat, 16 Apr 2022 04:25:38 +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 4KgKr16kDwz3PZ3; Sat, 16 Apr 2022 04:25:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650083138; 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=KYilITsbFADmHEFJNGX/5HXvn/2NmJrG7quo10d+bUM=; b=yno/20iSp7clmtW/gud88aeMyHT954vBdQReRW1PHVQvs4rDlH6P+xrreZGrF7vV5j4t24 5dNgZZQIOsV2/cv07eOn4ZjMy+R9zadBhdI/TctQNj8NhpvVidsRneS+UegksdDp9fxrSu zmpShNByH94AwEm07wg3H2FZK8/TrU51yCIIMi3ITMtOMl80IURQ7AqwxK1DqGp/9XVID5 n7dBLY3Il5wOT5xZqg5vDYLN9QN4BeUKFdAMpGkb8DPekg/OsgGWXDq+48PI5EnY/jx/4f bICy9UUU4SzB66Wo+LPdI5o1XAHIgqt6AWLMGxNKHYslTvrPMTxrdOHvaLPMtg== 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 C786822DD9; Sat, 16 Apr 2022 04:25:37 +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 23G4PbjI009018; Sat, 16 Apr 2022 04:25:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23G4PbrY009017; Sat, 16 Apr 2022 04:25:37 GMT (envelope-from git) Date: Sat, 16 Apr 2022 04:25:37 GMT Message-Id: <202204160425.23G4PbrY009017@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: fc5effbd7844 - main - devel/py-PeachPy: 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: fc5effbd7844310602b6fe0926eecf05e2e349f0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650083138; 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=KYilITsbFADmHEFJNGX/5HXvn/2NmJrG7quo10d+bUM=; b=gyaMf3/HmCh8wsYOT3v9/xyrnmgvhH6GtjWw5n1cijXz2IyrUXEUSB/poOQdROpgN5QdUx oboHC0FmhHs7eezQBZZPALIu+z3c9JlR8cKVaak9BYr5iXAjl4klydFrCS0WGCsWxzrqdU DJWucnruVm4wkVkKcwdZmGMdnWWvGsTD1BdEMbtYY4QH/qf3vrRBjudRhXUfuHpguOwEyM h5ai+1fSouB79XzoyNnuPjBH++tVzt9XzIC4qHzvQxXH5S2JTH/Mq+/CaYKEfD3gJL68Ec hpdR9UWJq/wzUTQhdaTqWFr+9rQJJYYxGgMgE0a+tSW1z4ij3ttejvuy99iEJQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650083138; a=rsa-sha256; cv=none; b=SGWDLq2i2kuEd1laYDI/fn1nAxueFLZRqell9ejnacJMAfkASy/0ZG+/IrcRsInN7YoTDj ktYO2stSgzxZLp+2oYaQi+TvgbJu16daYgC0MOLxLEaVYpM9FIZyIKs65tDdCcH12qDWdF TYv3Tms4NOxkWLCzaWmf7USKWB3DiI0ukpk5DiOtmiZjGrlio7QkdLb7TBwjFVmudwrEZO yY4g9onhkDe0FqkVqoH4xuDy2riG6agltHSG/jtFDxVEYK7pgsQWVWBpaf2m3+Z5Fnc+qy jVSclhK+AxtDilTMXFbNT2wc0Fnd+zaA8T8azt8LuIMVGeHJZEW82XN7fqNG0w== 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=fc5effbd7844310602b6fe0926eecf05e2e349f0 commit fc5effbd7844310602b6fe0926eecf05e2e349f0 Author: Po-Chuan Hsieh AuthorDate: 2022-04-16 04:15:48 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-16 04:19:55 +0000 devel/py-PeachPy: Fix build with setuptools 61.0.0+ With hat: python --- devel/py-PeachPy/files/patch-setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devel/py-PeachPy/files/patch-setup.py b/devel/py-PeachPy/files/patch-setup.py new file mode 100644 index 000000000000..487e8aeb11f4 --- /dev/null +++ b/devel/py-PeachPy/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-02-25 10:20:32 UTC ++++ setup.py +@@ -35,7 +35,7 @@ class GenerateInstructions(Command): + def run(self): + # package_dir may be None, in that case use the current directory. + import os +- if self.distribution.package_dir is None: ++ if not self.distribution.package_dir: + src_dir = os.getcwd() + else: + src_dir = os.path.abspath(self.distribution.package_dir[""])