<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/976261d19bf0d3f35063cc50c8f1d4687e1e3fad">https://github.com/macports/macports-ports/commit/976261d19bf0d3f35063cc50c8f1d4687e1e3fad</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 976261d19bf0d3f35063cc50c8f1d4687e1e3fad
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Tue Jan 18 22:18:29 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-cssutils: update to 2.3.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - switch to PyPI
</span><span style='display:block; white-space:pre;color:#404040;'> - update Python versions
</span>---
python/py-cssutils/Portfile | 55 +++++++++++++++------------------------------
1 file changed, 18 insertions(+), 37 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-cssutils/Portfile b/python/py-cssutils/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e43f9d3c21d..2608b9821af 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-cssutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-cssutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,56 +4,37 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-cssutils
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.0.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.3.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories python www
maintainers nomaintainer
license LGPL-3+
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description CSS parser and library for Python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description A Python package to parse and build \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CSS Cascading Style Sheets.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A CSS Cascading Style Sheets library for Python
</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;'>+python.versions 37 38 39 310
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 35 36 37 38 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/jaraco/cssutils
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://cthedot.de/cssutils/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://bitbucket.org/cthedot/cssutils/downloads/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname cssutils-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5af499c9eb22d52ee193f1bc7fe18e4e3161298f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b2d3b16047caae82e5c590036935bafa1b621cf45c2f38885af4be4838f0fd00 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 725849
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ca6af81a4bc73354056a78f0a5644371bd8fa199 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 367038
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.pep517 yes
</span>
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-test {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|pbr < 1.7.0|pbr|g" ${worksrcpath}/setup.py
</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;'>- depends_test-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-mock \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-nose \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-pbr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd nosetests-${python.branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.target
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env PYTHONPATH=${worksrcpath}/build/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools_scm
</span>
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # We should notify upstream not to install tests.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${python.pkgd}/tests
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} README.txt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${subport}
</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.rst CHANGES.rst \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
<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 [lindex ${master_sites} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex cssutils-(\[0-9.\]+)${extract.suffix}
</span> }
</pre><pre style='margin:0'>
</pre>