<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/69320573e88016ac47d7ec0d3482b818d2833de7">https://github.com/macports/macports-ports/commit/69320573e88016ac47d7ec0d3482b818d2833de7</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 69320573e88 py-pep517: update to 0.13.0
</span>69320573e88 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 69320573e88016ac47d7ec0d3482b818d2833de7
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Jul 30 13:55:56 2022 +1000
<span style='display:block; white-space:pre;color:#404040;'> py-pep517: update to 0.13.0
</span>---
python/py-pep517/Portfile | 11 +++---
python/py-pep517/files/no-deps-option.diff | 63 ------------------------------
2 files changed, 5 insertions(+), 69 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pep517/Portfile b/python/py-pep517/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1ed0686077f..4d02ebfbcb8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pep517/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pep517/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,7 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-pep517
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.12.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.13.0
</span> supported_archs noarch
maintainers {jmr @jmroot} openmaintainer
license MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,9 +15,9 @@ long_description {*}${description}
</span>
homepage https://pypi.python.org/pypi/pep517/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 7ed0adb5f737c316e071d48d66329a5d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 f98bf5793c9337653db51635b9ff356cab65129b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 931378d93d11b298cf511dd634cf5ea4cb249a28ef84160b3247ee9afb4e8ab0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 7fd08b11215256601a8a4940c1ba3d34 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 b52f92cb3a3d6d8ae6892f8df4c144eb2c698e49 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ae69927c5c172be1add9203726d4b84cf3ebad1edcd5f71fcdc746e66e829f59
</span>
python.versions 36 37 38 39 310
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,7 +31,7 @@ if {$subport ne $name} {
</span> depends_lib-append port:py${python.version}-importlib-metadata \
port:py${python.version}-zipp
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles no-deps-option.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
build.args --skip-dependency-check
destroot.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pep517/files/no-deps-option.diff b/python/py-pep517/files/no-deps-option.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 84049a8c1e7..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pep517/files/no-deps-option.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,63 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- pep517/build.py.orig 2020-10-19 07:41:27.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ pep517/build.py 2020-12-01 12:49:53.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -55,14 +55,15 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return system
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--def _do_build(hooks, env, dist, dest):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+def _do_build(hooks, env, dist, dest, no_deps=False):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- get_requires_name = 'get_requires_for_build_{dist}'.format(**locals())
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- get_requires = getattr(hooks, get_requires_name)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reqs = get_requires({})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- log.info('Got build requires: %s', reqs)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- env.pip_install(reqs)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- log.info('Installed dynamic build dependencies')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if not no_deps:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ env.pip_install(reqs)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ log.info('Installed dynamic build dependencies')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- with tempdir() as td:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- log.info('Trying to build %s in %s', dist, td)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -73,7 +74,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- shutil.move(source, os.path.join(dest, os.path.basename(filename)))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--def build(source_dir, dist, dest=None, system=None):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+def build(source_dir, dist, dest=None, system=None, no_deps=False):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system = system or load_system(source_dir)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dest = os.path.join(source_dir, dest or 'dist')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mkdir_p(dest)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -84,8 +85,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- with BuildEnvironment() as env:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- env.pip_install(system['requires'])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- _do_build(hooks, env, dist, dest)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if not no_deps:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ env.pip_install(system['requires'])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ _do_build(hooks, env, dist, dest, no_deps=no_deps)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- parser = argparse.ArgumentParser()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -104,6 +106,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default=False,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- parser.add_argument(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ '--no-deps', '-n',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ action='store_true',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ default=False,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+parser.add_argument(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- '--out-dir', '-o',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- help="Destination in which to save the builds relative to source dir",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -117,7 +124,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for dist in dists:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- build(args.source_dir, dist, args.out_dir)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ build(args.source_dir, dist, args.out_dir, no_deps=args.no_deps)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if __name__ == '__main__':
</span></pre><pre style='margin:0'>
</pre>