<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4a635060da20adb68469f6990c511a623fd53601">https://github.com/macports/macports-ports/commit/4a635060da20adb68469f6990c511a623fd53601</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 4a635060da2 beets-devel: update to 20211120
</span>4a635060da2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4a635060da20adb68469f6990c511a623fd53601
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Sat Nov 20 02:27:23 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> beets-devel: update to 20211120
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also enable tests
</span>---
audio/beets/Portfile | 24 +++++++++++++++++++-----
audio/beets/files/test-double-dots.diff | 24 ++++++++++++++++++++++++
2 files changed, 43 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/beets/Portfile b/audio/beets/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index af789fcaa25..3045666f32f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/beets/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/beets/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,13 +39,13 @@ if {$subport eq $name} {
</span> subport ${name}-devel {
conflicts $name
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup beetbox beets f3552f09cfa330b7e875526bf6162cb5f3ba174e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 20211112
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup beetbox beets b07d1756a52363055897521022df62f305635fad
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20211120
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 436d8e56821bf2c3f72736583bc942cefb1303f4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 33876bbcf7f103281f683ab3f1d0620707369b159540d0a0bb5382d88255f67d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1665958
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 5a6b084b4640f7c78787292edb499f1d6e6586d8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 722183cb24bb915b2ac4efbb1aeaa86abfda5ac05d58f9166308aff8f7598559 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1681042
</span>
depends_build-append \
port:py${python.version}-sphinx
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,6 +85,9 @@ if {${name} eq ${subport} || "${name}-devel" eq ${subport}} {
</span> depends_lib-append \
port:py${python.version}-gmusicapi \
port:py${python.version}-six
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles test-double-dots.diff
</span> }
depends_run-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,6 +98,13 @@ if {${name} eq ${subport} || "${name}-devel" eq ${subport}} {
</span> port:ImageMagick \
port:ipfs
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-coverage \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-flask \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-mock \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pytest \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-responses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
xinstall -d ${destroot}${prefix}/share/man/man1
xinstall -m 0644 {*}[glob ${worksrcpath}/man/*.1] ${destroot}${prefix}/share/man/man1/
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -105,6 +115,10 @@ if {${name} eq ${subport} || "${name}-devel" eq ${subport}} {
</span> xinstall -d ${destroot}${prefix}/share/${name}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE ${destroot}${prefix}/share/${name}
}
<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 py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span> } elseif {${name} ne "${name}-full"} {
python.rootname ${subport}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/beets/files/test-double-dots.diff b/audio/beets/files/test-double-dots.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9a5d211e392
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/beets/files/test-double-dots.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+commit 1684dd6532512dc067d33de7b0569f75dc408151
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Author: Kirill A. Korinsky <kirill@korins.ky>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Fri Nov 19 15:51:18 2021 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Prevent fails of tests when path contains dots
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Unit test may fails when path to temprorary library contains `.`; to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ garantue that bug wasn't here, it forces to use one more `.` inside path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Fixes: https://github.com/beetbox/beets/issues/4151
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/test/test_library.py b/test/test_library.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index da7d745e..68c1744a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/test/test_library.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/test/test_library.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -224,7 +224,7 @@ class DestinationTest(_common.TestCase):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ self.i.album = '.something'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dest = self.i.destination()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ self.assertTrue(b'something' in dest)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- self.assertFalse(b'/.' in dest)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ self.assertFalse(b'/.something' in dest)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def test_destination_preserves_legitimate_slashes(self):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ self.i.artist = 'one'
</span></pre><pre style='margin:0'>
</pre>