<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository upt-macports.
</pre>
<p><a href="https://github.com/macports/upt-macports/commit/87af66534e0615a7e297a4e2aad0ec32f9f737a1">https://github.com/macports/upt-macports/commit/87af66534e0615a7e297a4e2aad0ec32f9f737a1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 87af66534e0615a7e297a4e2aad0ec32f9f737a1
</span>Author: Korusuke <karan.sheth@somaiya.edu>
AuthorDate: Fri Apr 19 05:49:10 2019 +0530
<span style='display:block; white-space:pre;color:#404040;'> Fix license and readme update
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> If license is undetected then output unknown
</span><span style='display:block; white-space:pre;color:#404040;'> also fixed the trailing whitespace in depends_lib
</span>---
README.md | 1 -
upt_macports/templates/base.Portfile | 4 ++++
upt_macports/templates/python.Portfile | 3 +--
3 files changed, 5 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/README.md b/README.md
</span><span style='display:block; white-space:pre;color:#808080;'>index e33090a..ef48b85 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/README.md
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/README.md
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,6 @@ This is a [MacPorts](https://www.macports.org) backend for [upt](https://pypi.py
</span>
#### Steps to use this tool out:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- Install upt
</span> - Clone this repository and run ```python3 setup.py install``` to install macports backend
- Run ```$ upt package -f pypi -b macports package_name```
- Portfile output will be printed via stdout
<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 cf36f7b..657c222 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;'>@@ -17,7 +17,11 @@ supported_archs noarch
</span> {% block dist_info %}
{% endblock %}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+{% if pkg.upt_pkg.licenses|length > 0 %}
</span> license {% for i in pkg.upt_pkg.licenses %}{{i.name}}{% endfor %}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+{% else %}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+{% endif %}
</span>
checksums sha256 {{ pkg.upt_pkg.archives[0].sha256 }} \
rmd160 {{ pkg.upt_pkg.archives[0].rmd160 }} \
<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 1040909..deb567f 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;'>@@ -25,12 +25,11 @@ if {${name} ne ${subport}} {
</span> {% if pkg.upt_pkg.requirements.run|length > 0 %}
depends_lib-append \
{% for i in pkg.upt_pkg.requirements.run %}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-{{i.name}} {% if not loop.last %}\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-{{i.name}}{% if not loop.last %} \
</span> {% endif %}
{% endfor %}
{% endif %}
livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> }
{% endblock %}
</pre><pre style='margin:0'>
</pre>