<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/da510ea960fa9c9b9cee0288ecde19c62503e214">https://github.com/macports/macports-ports/commit/da510ea960fa9c9b9cee0288ecde19c62503e214</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit da510ea960fa9c9b9cee0288ecde19c62503e214
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sun Oct 31 00:15:33 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-coverage: update to 6.1.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - add myself as co-maintainer
</span>---
python/py-coverage/Portfile | 43 ++++++++++++++++++----
python/py-coverage/files/patch-setup.py.diff | 20 ++++------
...patch-setup.py.diff => patch-v55_setup.py.diff} | 0
3 files changed, 42 insertions(+), 21 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-coverage/Portfile b/python/py-coverage/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 818a6db9850..1628fb89e9f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-coverage/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-coverage/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,12 +4,12 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-coverage
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 6.0.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 6.1.1
</span> revision 0
categories-append devel
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {petr @petrrr} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {petr @petrrr} {reneeotten @reneeotten} openmaintainer
</span> license Apache-2
description Code coverage measurement for Python
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,25 +21,52 @@ long_description Coverage measures code coverage, typically during test \
</span>
homepage https://github.com/nedbat/coveragepy
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 4c15df505b8d02d89fdb15b0e4f45eeefa212eb6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6807947a09510dc31fa86f43595bf3a14017cd60bf633cc746d52141bfa6b149 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 722511
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e154af4a3e0b6ee991306aab92419d27fd72a1be \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b8e4f15b672c9156c1154249a9c5746e86ac9ae9edc3799ee3afebc323d9d9e0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 715305
</span>
python.versions 27 35 36 37 38 39 310
if {${name} ne ${subport}} {
<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;'>+ patchfiles patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|coverage run|coverage-${python.branch} run|g" {*}[glob ${worksrcpath}/tests/*.py]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\"coverage\"|\"coverage-${python.branch}\"|g" ${worksrcpath}/tests/coveragetest.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${python.version} in "27 35"} {
version 5.5
checksums rmd160 5652a14045197a2e4f051128f4826f9b0dd3c6fa \
sha256 ebe78fe9a0e874362175b02371bdfbee64d8edc42a044253ddf4ee7d3c15212c \
size 691258
revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-v55-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span> port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${python.version} < 38} {
</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}-importlib-metadata
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NPATH=[glob -nocomplain ${worksrcpath}/build/bin*]
</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;'>+
</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.rst NOTICE.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LICENSE.txt CONTRIBUTORS.txt 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;color:#808080;'>diff --git a/python/py-coverage/files/patch-setup.py.diff b/python/py-coverage/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index d319f11378c..c6483d1fd57 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-coverage/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-coverage/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,17 +1,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py.orig 2020-12-19 17:11:52.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py 2020-12-26 20:41:59.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -86,13 +86,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;'>- entry_points={
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # Install a script as "coverage", and as "coverage[23]", and as
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # "coverage-2.7" (or whatever).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- 'console_scripts': [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- 'coverage = coverage.cmdline:main',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2021-10-31 12:29:26.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2021-10-31 12:29:43.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -100,8 +100,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # "coverage-3.7" (or whatever).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'console_scripts': [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'coverage = coverage.cmdline:main',
</span> - 'coverage%d = coverage.cmdline:main' % sys.version_info[:1],
- 'coverage-%d.%d = coverage.cmdline:main' % sys.version_info[:2],
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- ],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ 'console_scripts': ['coverage = coverage.cmdline:main'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ],
</span> },
<span style='display:block; white-space:pre;background:#ffe0e0;'>- extras_require={
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-coverage/files/patch-setup.py.diff b/python/py-coverage/files/patch-v55_setup.py.diff
</span>similarity index 100%
copy from python/py-coverage/files/patch-setup.py.diff
copy to python/py-coverage/files/patch-v55_setup.py.diff
</pre><pre style='margin:0'>
</pre>