pythonPackages.pycaption: fix build (#46356)

The `beaitufulsoup4` package distributed by `nixpkgs` is now at `4.6.3`.

Additionally it fixes `gnomecaption` which depends on the broken
`pycaption` package.

See https://hydra.nixos.org/build/81000247
See https://hydra.nixos.org/build/80723223

Addresses #45960
This commit is contained in:
Maximilian Bosch 2018-09-08 11:20:47 +02:00 committed by xeji
parent 182f1fc2c8
commit a02002deba

View File

@ -17,7 +17,7 @@ buildPythonPackage rec {
prePatch = '' prePatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace 'beautifulsoup4>=4.2.1,<4.5.0' \ --replace 'beautifulsoup4>=4.2.1,<4.5.0' \
'beautifulsoup4>=4.2.1,<=4.6.0' 'beautifulsoup4>=4.2.1,<=4.6.3'
''; '';
# don't require enum34 on python >= 3.4 # don't require enum34 on python >= 3.4