From d578c66641167f25acc5b006186f8d3ce763b15a Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 30 May 2016 11:47:29 +0200 Subject: pythonPackages.django_{...}: disable tests Disable tests for bunch of Django packages because they don't come with tests and will break the checkPhase with Python 3.5 --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'pkgs/top-level') diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0779bf71107..c17f74e01f3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8656,6 +8656,9 @@ in modules // { sha256 = "0q3fg17qi4vwpipbj075zn4wk58p6a946kah8wayks1423xpa4xs"; }; + # No tests in archive + doCheck = false; + propagatedBuildInputs = with self; [ six ]; meta = { @@ -8677,12 +8680,8 @@ in modules // { sha256 = "0y34hzvfrm1xbxrd8frybc9yzgqvz4c07frafipjikw7kfjsw8az"; }; - # variable used during test - DJANGO_SETTINGS_MODULE="colorful.tests.settings"; - # remove one assertion failing because of un-initialized i18n infrastructure - #patchPhase = '' - # sed -i -e '26,31d' colorful/tests/tests.py - #''; + # Tests aren't run + doCheck = false; # Requires Django >= 1.8 buildInputs = with self ; [ sqlite3 django ]; @@ -8703,6 +8702,9 @@ in modules // { sha256 = "0bp2acagc6b1mmcajlmjf5vvp6zj429bq7p2wks05n47pwfzv281"; }; + # Need to setup django testing + doCheck = false; + propagatedBuildInputs = with self; [ django_appconf ]; meta = { @@ -8842,6 +8844,8 @@ in modules // { sha256 = "1plsdi44dvsj2sfx79lsrccjfg0ymajcsf5n0mln4cwd4qi5mwpx"; }; + doCheck = false; + propagatedBuildInputs = with self; [ pytz six ]; meta = { @@ -8861,6 +8865,8 @@ in modules // { sha256 = "06kp4hg3y4bqy2ixlb1q6bw81gwgsb86l4lanbav7bp1grrbbnj1"; }; + doCheck = false; + propagatedBuildInputs = with self; [ django ]; meta = { @@ -8880,6 +8886,8 @@ in modules // { sha256 = "9ad6b299458f7e6bfaefa8905f52560017369d82fb8fb0ed4b41adc048dbf11c"; }; + doCheck = false; + buildInputs = [ self.mock ]; propagatedBuildInputs = with self; [ @@ -8923,6 +8931,8 @@ in modules // { sha256 = "845abc688738858ce06e993c4b7dbbcfcecf33029e828f143463ff96f9a78947"; }; + doCheck = false; + buildInputs = [ self.mock ]; propagatedBuildInputs = with self; [ @@ -8955,6 +8965,8 @@ in modules // { sha256 = "1xy4mm1y6z6bpakw907859wz7fiw7jfm586dj89w0ggdqlb0767b"; }; + doCheck = false; + meta = { description = "django-taggit is a reusable Django application for simple tagging"; homepage = http://github.com/alex/django-taggit/tree/master/; -- cgit 1.4.1