Skip to content

Commit 83410d9

Browse files
committedNov 28, 2016
beets: 1.3.19 -> 1.4.1
Full upstream release announcement: https://github.com/beetbox/beets/releases/tag/v1.4.1 I had to rebase the keyfinder-default-bin.patch in order to apply with the new release. Other than that I didn't test whether beets works on my machine, as I have a more or less temporary setup at the moment. However, since the bump of mutagen to version 1.34 in commit 555928c, the mediafile tests fail and thus this commit unbreaks beets. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
1 parent d1055c0 commit 83410d9

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed
 

Diff for: ‎pkgs/tools/audio/beets/default.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ let
7474

7575
in pythonPackages.buildPythonApplication rec {
7676
name = "beets-${version}";
77-
version = "1.3.19";
77+
version = "1.4.1";
7878

7979
src = fetchFromGitHub {
80-
owner = "sampsyo";
80+
owner = "beetbox";
8181
repo = "beets";
8282
rev = "v${version}";
83-
sha256 = "0f2v1924ryx5xijpv1jycanl4471vcd7c5lld58lm0viyvh5k28x";
83+
sha256 = "1yj2m7l157lldhxanwifp3yv1c6k649iwhn061mcf26q4n8qmspk";
8484
};
8585

8686
propagatedBuildInputs = [

Diff for: ‎pkgs/tools/audio/beets/keyfinder-default-bin.patch

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/beetsplug/keyfinder.py b/beetsplug/keyfinder.py
2-
index b6131a4..b493792 100644
2+
index 34a4abc..59e8539 100644
33
--- a/beetsplug/keyfinder.py
44
+++ b/beetsplug/keyfinder.py
55
@@ -30,7 +30,7 @@ class KeyFinderPlugin(BeetsPlugin):
@@ -11,25 +11,26 @@ index b6131a4..b493792 100644
1111
u'auto': True,
1212
u'overwrite': False,
1313
})
14-
@@ -59,7 +59,7 @@ class KeyFinderPlugin(BeetsPlugin):
14+
@@ -59,8 +59,7 @@ class KeyFinderPlugin(BeetsPlugin):
1515
continue
1616

1717
try:
18-
- output = util.command_output([bin, b'-f',
19-
+ output = util.command_output([bin,
20-
util.syspath(item.path)])
18+
- output = util.command_output([bin, '-f',
19+
- util.syspath(item.path)])
20+
+ output = util.command_output([bin, util.syspath(item.path)])
2121
except (subprocess.CalledProcessError, OSError) as exc:
2222
self._log.error(u'execution failed: {0}', exc)
23+
continue
2324
diff --git a/test/test_keyfinder.py b/test/test_keyfinder.py
24-
index 00952fe..01ff8d4 100644
25+
index 57e2bcd..c1ee916 100644
2526
--- a/test/test_keyfinder.py
2627
+++ b/test/test_keyfinder.py
27-
@@ -46,7 +46,7 @@ class KeyFinderTest(unittest.TestCase, TestHelper):
28+
@@ -44,7 +44,7 @@ class KeyFinderTest(unittest.TestCase, TestHelper):
2829
item.load()
2930
self.assertEqual(item['initial_key'], 'C#m')
30-
self.command_output.assert_called_with(
31+
command_output.assert_called_with(
3132
- ['KeyFinder', '-f', util.syspath(item.path)])
3233
+ ['keyfinder-cli', util.syspath(item.path)])
3334

34-
def test_add_key_on_import(self):
35-
self.command_output.return_value = 'dbm'
35+
def test_add_key_on_import(self, command_output):
36+
command_output.return_value = 'dbm'

0 commit comments

Comments
 (0)
Please sign in to comment.