<pre style='margin:0'>
Jeremy Lavergne (nerdling) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1774513626de44a87c61fe265976126050166eb1">https://github.com/macports/macports-ports/commit/1774513626de44a87c61fe265976126050166eb1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1774513626de44a87c61fe265976126050166eb1
</span>Author: Jeremy Lavergne <snc@macports.org>
AuthorDate: Tue Jan 17 10:19:34 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-shapely: add py3.11
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/66606
</span>---
python/py-shapely/Portfile | 4 ++--
python/py-shapely/files/patch-pyproject.toml.diff | 13 +++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-shapely/Portfile b/python/py-shapely/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 801b70f90f2..6266c7e7c03 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-shapely/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-shapely/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup github 1.0
</span> name py-shapely
github.setup Toblerity Shapely 1.8.5
revision 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 37 38 39 310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 37 38 39 310 311
</span> categories-append devel
maintainers {snc @nerdling} openmaintainer
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,8 +36,8 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-numpy \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-pyproject.toml.diff
</span> post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/geos.py
</span> reinplace s|\\\"cython\\\"|"${python.prefix}/bin/cython"| ${worksrcpath}/setup.py
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-shapely/files/patch-pyproject.toml.diff b/python/py-shapely/files/patch-pyproject.toml.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a5ecded4394
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-shapely/files/patch-pyproject.toml.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pyproject.toml.orig 2023-01-02 13:19:06.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pyproject.toml 2023-01-02 13:19:15.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [build-system]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ requires = [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "Cython>=0.29.24,<3",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "oldest-supported-numpy",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "setuptools<64",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# "oldest-supported-numpy",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "setuptools",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [tool.cibuildwheel]
</span></pre><pre style='margin:0'>
</pre>