<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/27ef3abbaa7562746611c3c95fb49ca090888ed6">https://github.com/macports/macports-ports/commit/27ef3abbaa7562746611c3c95fb49ca090888ed6</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 27ef3abbaa7 py-pyglet: fix build dependencies
</span>27ef3abbaa7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 27ef3abbaa7562746611c3c95fb49ca090888ed6
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Aug 8 14:29:49 2023 +1000
<span style='display:block; white-space:pre;color:#404040;'> py-pyglet: fix build dependencies
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also mark as noarch and OS version independent.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/67925
</span>---
python/py-pyglet/Portfile | 10 +++++-----
python/py-pyglet/files/patch-pyproject.toml.diff | 7 ++++---
2 files changed, 9 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyglet/Portfile b/python/py-pyglet/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 98d4b30d853..6af9340f5e4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyglet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyglet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,6 +8,8 @@ version 2.0.9
</span> revision 0
categories-append devel graphics
license BSD
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms {darwin any}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span>
python.versions 27 37 38 39 310 311
python.pep517 yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,7 +18,7 @@ python.pep517_backend flit
</span> maintainers {stromnov @stromnov} openmaintainer
description A cross-platform windowing and multimedia library for Python.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span>
homepage https://pyglet.readthedocs.org/
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,17 +29,15 @@ checksums rmd160 d57bc0d40e00e11a47a97fd770bc289928250d08 \
</span> size 6525060
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {${python.version} eq 27} {
version 1.4.10
revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- distname ${python.rootname}-${version}
</span> checksums rmd160 7bb3f66eafcfafe00d83a2c556c699b0eb1d81e9 \
sha256 c57e3e18246f45e4d6bb3d29e39d128d6e72b05f4212b10353adc3ba260ceb65 \
size 5121084
python.pep517 no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools
</span> } else {
patchfiles-append patch-pyproject.toml.diff
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyglet/files/patch-pyproject.toml.diff b/python/py-pyglet/files/patch-pyproject.toml.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 971ba2503f7..667d60d006f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyglet/files/patch-pyproject.toml.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyglet/files/patch-pyproject.toml.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- pyproject.toml.orig 2023-03-11 15:00:28.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ pyproject.toml 2023-03-11 15:00:20.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pyproject.toml.orig 2021-05-21 22:35:32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pyproject.toml 2023-08-08 14:24:31
</span> @@ -1,6 +1,6 @@
[build-system]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- requires = ["flit_core >=2,<4", "wheel"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-requires = ["flit_core >=2,<4", "wheel"]
</span> -build-backend = ["flit_core.buildapi", "flit_core.wheel"]
<span style='display:block; white-space:pre;background:#e0ffe0;'>++requires = ["flit_core >=2,<4"]
</span> +build-backend = "flit_core.buildapi"
[tool.flit.metadata]
</pre><pre style='margin:0'>
</pre>