mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
beetsPackages.copyartifacts: beets 2.1.0 compat
This commit is contained in:
parent
33e9c10983
commit
395b04b492
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user