buku: added not to remove line on next version

This commit is contained in:
Silvan Mosberger 2017-06-30 14:47:55 +02:00
parent bc81760a92
commit ab162eeffc

View File

@ -1,7 +1,7 @@
{ stdenv, pythonPackages, fetchFromGitHub }:
with pythonPackages; buildPythonApplication rec {
version = "3.0";
version = "3.0"; # When updating to 3.1, make sure to remove the marked line in preCheck
name = "buku-${version}";
src = fetchFromGitHub {
@ -29,7 +29,8 @@ with pythonPackages; buildPythonApplication rec {
# Fixes two tests for wrong encoding
export PYTHONIOENCODING=utf-8
# Should be upstream, see https://github.com/jarun/Buku/pull/167
### Remove this for 3.1 ###
# See https://github.com/jarun/Buku/pull/167 (merged)
substituteInPlace setup.py \
--replace "hypothesis==3.7.0" "hypothesis>=3.7.0"