<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/6bb2c7ce4bd1f4357402d8f8dabb328b6f7232e9">https://github.com/macports/macports-ports/commit/6bb2c7ce4bd1f4357402d8f8dabb328b6f7232e9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6bb2c7ce4bd1f4357402d8f8dabb328b6f7232e9
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon May 15 04:58:55 2023 +1000
<span style='display:block; white-space:pre;color:#404040;'> py36-sphinxcontrib-htmlhelp: fix build by using flit
</span>---
python/py-sphinxcontrib-htmlhelp/Portfile | 2 ++
python/py-sphinxcontrib-htmlhelp/files/flit.patch | 41 +++++++++++++++++++++++
2 files changed, 43 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-sphinxcontrib-htmlhelp/Portfile b/python/py-sphinxcontrib-htmlhelp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 29aa4a4d66d..73e78f852a1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-sphinxcontrib-htmlhelp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-sphinxcontrib-htmlhelp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +23,11 @@ checksums md5 e85e6970dc25fbf5fd0f4fa66b897fab \
</span>
python.versions 36 37 38 39 310 311
python.pep517 yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+python.pep517_backend flit
</span>
if {${name} ne ${subport}} {
depends_run-append \
port:py${python.version}-docutils
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles flit.patch
</span> livecheck.type none
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-sphinxcontrib-htmlhelp/files/flit.patch b/python/py-sphinxcontrib-htmlhelp/files/flit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..060fef2b882
</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-sphinxcontrib-htmlhelp/files/flit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,41 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/commit/8eb63c28a0acc8b976144dbc72e64acb951e7754
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pyproject.toml.orig 2023-02-01 04:28:14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pyproject.toml 2023-05-15 04:53:05
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [build-system]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-requires = ["setuptools>=64"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-build-backend = "setuptools.build_meta"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++requires = ["flit_core>=3.7"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++build-backend = "flit_core.buildapi"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # project metadata
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [project]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -13,7 +13,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ urls.Homepage = "https://www.sphinx-doc.org/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license.text = "BSD-2-Clause"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-requires-python = ">=3.8"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++requires-python = ">=3.6"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Classifiers list: https://pypi.org/classifiers/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ classifiers = [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -57,8 +57,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ name = "Georg Brandl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ email = "georg@python.org"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-[tool.setuptools.dynamic]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-version.attr = "sphinxcontrib.htmlhelp.__version__"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++[tool.flit.module]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++name = "sphinxcontrib.htmlhelp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++[tool.flit.sdist]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++include = [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "CHANGES",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "LICENSE",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # Tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "tests/",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "tox.ini",
</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.mypy]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ignore_missing_imports = true
</span></pre><pre style='margin:0'>
</pre>