<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository upt-macports.
</pre>
<p><a href="https://github.com/macports/upt-macports/commit/26b268a7aa22741d208ba2f4941d9ed9ba30791e">https://github.com/macports/upt-macports/commit/26b268a7aa22741d208ba2f4941d9ed9ba30791e</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 26b268a Update comments and add setuptools comment
</span>26b268a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 26b268a7aa22741d208ba2f4941d9ed9ba30791e
</span>Author: Korusuke <karan.sheth@somaiya.edu>
AuthorDate: Sat Jun 1 01:29:14 2019 +0530
<span style='display:block; white-space:pre;color:#404040;'> Update comments and add setuptools comment
</span>---
upt_macports/templates/base.Portfile | 18 +++++++++++-------
upt_macports/templates/python.Portfile | 4 ++++
2 files changed, 15 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/upt_macports/templates/base.Portfile b/upt_macports/templates/base.Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 48787b2..b469821 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/upt_macports/templates/base.Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/upt_macports/templates/base.Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,19 +4,23 @@ PortSystem 1.0
</span> {% block portgroup %}
{% endblock %}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Portfile generated/maintained using the Universal Packaging Tool (upt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## Portfile generated/maintained using the Universal Packaging Tool (upt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## Please check out the commented statements and refer to the guide for more information:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## https://guide.macports.org/#reference.keywords
</span> {% block nameversion %}
{% endblock %}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Please adapt the lines with a "TODO" statement and check the guide for more information:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://guide.macports.org/#reference.keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# categories-append # TODO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# categories-append
</span> platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# TODO: uncomment the following line if no architecture-dependent files are installed, otherwise remove
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## uncomment the following line if no architecture-dependent files are installed, otherwise remove
</span> # supported_archs noarch
license {{ pkg.licenses }}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# maintainers {example.org:julesverne @GitHub-handle} openmaintainer # TODO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## If you would like to keep maintaining this port in the future as described in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## https://guide.macports.org/chunked/project.contributing.html then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## please add your contact information (e-mail and GitHub handle),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## otherwise keep the 'nomaintainer' line
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# maintainers {example.org:julesverne @github-handle} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span>
description {{ pkg.upt_pkg.summary }}
long_description ${description}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/upt_macports/templates/python.Portfile b/upt_macports/templates/python.Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 33852a0..b07dcaf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/upt_macports/templates/python.Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/upt_macports/templates/python.Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,6 +19,10 @@ distname ${python.rootname}-${version}
</span> python.versions 37
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ ## setuptools is added by default as a build-dependency since this is often the case.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ## However, if the package installs a "console_script" or uses "entry_points", setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ## should be added as a lib-dependency instead. Please verify from the setup.{py/cfg}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ## file that setuptools is indeed used and that the dependency-type is correct.
</span> depends_build-append \
port:py${python.version}-setuptools
{%- if pkg.upt_pkg.requirements.run|length > 0 %}
</pre><pre style='margin:0'>
</pre>