Commit 395b04b4 authored by Chris Montgomery's avatar Chris Montgomery Committed by Doron Behar
Browse files

beetsPackages.copyartifacts: beets 2.1.0 compat

parent 33e9c109
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -20,6 +20,10 @@ python3Packages.buildPythonApplication rec {
    sed -i -e '/install_requires/,/\]/{/beets/d}' setup.py
    sed -i -e '/namespace_packages/d' setup.py
    printf 'from pkgutil import extend_path\n__path__ = extend_path(__path__, __name__)\n' >beetsplug/__init__.py

    # beets v2.1.0 compat
    # <https://github.com/beetbox/beets/commit/0e87389994a9969fa0930ffaa607609d02e286a8>
    sed -i -e 's/util\.py3_path/os.fsdecode/g' tests/_common.py
  '';

  pytestFlagsArray = [ "-r fEs" ];