From nobody Fri Mar 25 13:49:32 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 CD6D41A333D1; Fri, 25 Mar 2022 13:49:34 +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 4KQ3Ns4L3gz3Qf5; Fri, 25 Mar 2022 13:49:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216174; 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=A797xyMTRlay3IOBEkspoOJRNUvki/RV3EU0ppHWUGo=; b=d0KCFzUZwCzsrlx1hTb1qswYvHKQVoy+a82D47h8Bt1lSkvNouBsRzqoFMNWFy4ZcHg7dX AR5lDk4zwepxQg/vUTe/dail42/hDU8vu/wRW9kcZyxjJFXj22P8LVuCwveWZKUJHZ6lGI HXNAM/ImD2bOyyxECmO2hYkwEX0admr/rZ/GSp7Y1vvS6yOxKu7cSAC7PoQFYeC/oMK+fq iaPoK1l7DQjRhYA2fYTyjtiM9rrLaV9E9usKI3uHhZIvnMn1Pg5fpw35DTNCP46a2d4rLn iIHyKetUJB6xjnezZ8qvzz5paJ+ZyAE1Hf8vZ0GLgQNNw/+ZOdhiabBcAjOb1g== 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 6F1BF58C8; Fri, 25 Mar 2022 13:49:32 +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 22PDnW0D027457; Fri, 25 Mar 2022 13:49:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDnW7d027456; Fri, 25 Mar 2022 13:49:32 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:49:32 GMT Message-Id: <202203251349.22PDnW7d027456@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: 556e483b0ce9 - main - astro/py-pysofa: Fix build with setuptools 58.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: 556e483b0ce9c5833972c2d12562b7e3a6bdf500 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216174; 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=A797xyMTRlay3IOBEkspoOJRNUvki/RV3EU0ppHWUGo=; b=fLutWSN82P+psLF38XXx5smpY+BYPksEF51z7otz+uT4Nj2q1i50vIVALMDFTtr4gaWImj Td/IEXy92/gfd6krpu/CQMbKwF7CHWKeC+7Lo4nBKCZURmoGKmNVtZEqwcEYESj1tfNimP vm7iC4jTk/308mtr2C4H8VIk5ubtECtpj9Xzv9upL/l83yCxUkmiPyBJqtiFpuEP8QpWHG bWwBdNkAQcmh7ag6o2Kl/ZIzLaKgQuGtaPOsr6IshbbMn7S1g+IyBSgmidUXNSMnv5915M zt5OLwhoaBJEri+mZEM9BSa2Txz9tcS9y/KYpLgdOLC9KgAxWqx74YYC3TWmCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648216174; a=rsa-sha256; cv=none; b=wNh1NvDzw8yX77VnoKHWqgd7hgExN8lVCOaSEWi5yJYdBxL5ijxBVBN35++uXUG6FekPqT YqR6VuDbrKlol4DdIsIywXKMKeF4WOKwuNtp1LEcG+ygArVVqGIFuzFty7LQQzSMrOBvn2 6XDG18klAnUQppBLJBfD5mznwXpV1E3yD0CNmOEv8mecpnZIMBr4DV2ij1gyF5ncjmo4vm q3IUMaq6yX8Fv+Zs4ZIeGkU4kEiIBsbSIgYRTgsJOgTZB3wQxT4mluXpp2dqEC87retNxr FNa9a+ForVkWMbTPaATDrKcKg3GwAJdRSjGF4O7gkPIi2hNYnLZ4E4EB/uCtOQ== 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=556e483b0ce9c5833972c2d12562b7e3a6bdf500 commit 556e483b0ce9c5833972c2d12562b7e3a6bdf500 Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 13:31:57 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 13:38:03 +0000 astro/py-pysofa: Fix build with setuptools 58.0.0+ With hat: python --- astro/py-pysofa/files/patch-2to3 | 182 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 182 insertions(+) diff --git a/astro/py-pysofa/files/patch-2to3 b/astro/py-pysofa/files/patch-2to3 new file mode 100644 index 000000000000..837edb6e8fc8 --- /dev/null +++ b/astro/py-pysofa/files/patch-2to3 @@ -0,0 +1,182 @@ +--- pysofa/pysofa_ctypes.py.orig 2011-01-30 09:53:37 UTC ++++ pysofa/pysofa_ctypes.py +@@ -156,7 +156,7 @@ def af2a(s, ideg, iamin, asec): + .. seealso:: |MANUAL| page 21 + """ + +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + rad = c_double() + s = _sofa.iauAf2a(str(s), ideg, iamin, asec, byref(rad)) +@@ -1011,7 +1011,7 @@ def dtf2d(scale, iy, im, id, ihr, imn, sec): + .. seealso:: |MANUAL| page 64 + """ + +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + d1 = c_double() + d2 = c_double() +@@ -4236,7 +4236,7 @@ def taitt(tai1, tai2): + + .. seealso:: |MANUAL| page 224 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tt1 = c_double() + tt2 = c_double() +@@ -4269,7 +4269,7 @@ def taiut1(tai1, tai2, dta): + + .. seealso:: |MANUAL| page 225 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + ut11 = c_double() + ut12 = c_double() +@@ -4309,7 +4309,7 @@ def taiutc(tai1, tai2): + + .. seealso:: |MANUAL| page 226 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + utc1 = c_double() + utc2 = c_double() +@@ -4342,7 +4342,7 @@ def tcbtdb(tcb1, tcb2): + + .. seealso:: |MANUAL| page 227 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tdb1 = c_double() + tdb2 = c_double() +@@ -4371,7 +4371,7 @@ def tcgtt(tcg1, tcg2): + + .. seealso:: |MANUAL| page 228 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tt1 = c_double() + tt2 = c_double() +@@ -4400,7 +4400,7 @@ def tdbtcb(tdb1, tdb2): + + .. seealso:: |MANUAL| page 229 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tcb1 = c_double() + tcb2 = c_double() +@@ -4433,7 +4433,7 @@ def tdbtt(tdb1, tdb2, dtr): + + .. seealso:: |MANUAL| page 230 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tt1 = c_double() + tt2 = c_double() +@@ -4472,7 +4472,7 @@ def tf2a(s, ihour, imin, sec): + .. seealso:: |MANUAL| page 231 + """ + +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + rad = c_double() + s = _sofa.iauTf2a(str(s), ihour, imin, sec, byref(rad)) +@@ -4510,7 +4510,7 @@ def tf2d(s, ihour, imin, sec): + .. seealso:: |MANUAL| page 232 + """ + +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + days = c_double() + s = _sofa.iauTf2d(str(s), ihour, imin, sec, byref(days)) +@@ -4600,7 +4600,7 @@ def tttai(tt1, tt2): + + .. seealso:: |MANUAL| page 236 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tai1 = c_double() + tai2 = c_double() +@@ -4629,7 +4629,7 @@ def tttcg(tt1, tt2): + + .. seealso:: |MANUAL| page 237 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tcg1 = c_double() + tcg2 = c_double() +@@ -4662,7 +4662,7 @@ def tttdb(tt1, tt2, dtr): + + .. seealso:: |MANUAL| page 238 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tdb1 = c_double() + tdb2 = c_double() +@@ -4695,7 +4695,7 @@ def ttut1(tt1, tt2, dt): + + .. seealso:: |MANUAL| page 239 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + ut11 = c_double() + ut12 = c_double() +@@ -4728,7 +4728,7 @@ def ut1tai(ut11, ut12, dta): + + .. seealso:: |MANUAL| page 240 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tai1 = c_double() + tai2 = c_double() +@@ -4761,7 +4761,7 @@ def ut1tt(ut11, ut12, dt): + + .. seealso:: |MANUAL| page 241 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tt1 = c_double() + tt2 = c_double() +@@ -4805,7 +4805,7 @@ def ut1utc(ut11, ut12, dut1): + + .. seealso:: |MANUAL| page 242 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + utc1 = c_double() + utc2 = c_double() +@@ -4849,7 +4849,7 @@ def utctai(utc1, utc2): + + .. seealso:: |MANUAL| page 243 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + tai1 = c_double() + tai2 = c_double() +@@ -4897,7 +4897,7 @@ def utcut1(utc1, utc2, dut1): + + .. seealso:: |MANUAL| page 244 + """ +- if __sofa_version < (2010, 12, 01): ++ if __sofa_version < (2010, 12, 0o1): + raise NotImplementedError + ut11 = c_double() + ut12 = c_double()