<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5dbe569531a24f16fae72bcaa7b6dd587b582544">https://github.com/macports/macports-ports/commit/5dbe569531a24f16fae72bcaa7b6dd587b582544</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5dbe569531a24f16fae72bcaa7b6dd587b582544
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Tue Jun 30 16:23:29 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-slugify: update to 4.0.1, add py38 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - make use of python.rootname, default PyPI livecheck
</span><span style='display:block; white-space:pre;color:#404040;'> - add homepage, supported_arch
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span><span style='display:block; white-space:pre;color:#404040;'> - install files in post-destroot
</span>---
python/py-slugify/Portfile | 53 +++++++++++++++++++++++++++++-----------------
1 file changed, 33 insertions(+), 20 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-slugify/Portfile b/python/py-slugify/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 05585b082fd..04d39399d29 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-slugify/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-slugify/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,33 +3,46 @@
</span> PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set base_name python-slugify
</span> name py-slugify
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.0.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 35 36 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.rootname python-slugify
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.0.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories-append textproc
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers openmaintainer {gmail.com:esafak @esafak}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span> license MIT
<span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers openmaintainer {gmail.com:esafak @esafak}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A Python Slugify application that handles Unicode
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/un33k/python-slugify
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description Returns unicode slugs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description $description
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 02cde0a17e327c0df75d37a339c354de50eb04fb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 11079
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/$base_name
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:p/$base_name
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname $base_name-$version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36 37 38
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 ae8434ff865811670f52e65fc713f51286751207 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 4e867cb16712f4d660b74fd55ba2ef4b7431ccd6aafec0a6d41a398f4cbc2de4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 6499
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py${python.version}-unidecode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url $homepage
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex $base_name (\\d+(\\.\\d+)+)
</span><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><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-unidecode
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd ${python.bin} test.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CHANGELOG.md ${destroot}${docdir}
</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;'>+ livecheck.type none
</span> }
</pre><pre style='margin:0'>
</pre>