buildPythonPackage: fix more wheels failures

+312 -106
+7 -14
pkgs/applications/science/spyder/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 name = "spyder-${version}"; 12 - version = "2.3.6"; 12 + version = "2.3.7"; 13 13 namePrefix = ""; 14 14 15 15 src = fetchurl { 16 16 url = "https://pypi.python.org/packages/source/s/spyder/${name}.zip"; 17 - sha256 = "0e6502e0d3f270ea8916d1a3d7ca29915801d31932db399582bc468c01d535e2"; 17 + sha256 = "0ywgvgcp9s64ys25nfscd2648f7di8544a21b5lb59d4f48z028h"; 18 18 }; 19 19 20 - buildInputs = [ unzip ]; 20 + # NOTE: sphinx makes the build fail with: ValueError: ZIP does not support timestamps before 1980 21 21 propagatedBuildInputs = 22 - [ pyside pyflakes rope sphinx numpy scipy matplotlib ipython pylint pep8 ]; 22 + [ pyside pyflakes rope numpy scipy matplotlib ipython pylint pep8 ]; 23 23 24 24 # There is no test for spyder 25 25 doCheck = false; 26 26 27 - # Use setuptools instead of distutils. 28 - preConfigure = '' 29 - export USE_SETUPTOOLS=True 30 - ''; 31 - 32 27 desktopItem = makeDesktopItem { 33 28 name = "Spyder"; 34 29 exec = "spyder"; ··· 41 36 42 37 # Create desktop item 43 38 postInstall = '' 44 - mkdir -p $out/share/applications 45 - cp $desktopItem/share/applications/* $out/share/applications/ 46 - 47 - mkdir -p $out/share/icons 48 - cp spyderlib/images/spyder.svg $out/share/icons/ 39 + mkdir -p $out/share/{applications,icons} 40 + cp $desktopItem/share/applications/* $out/share/applications/ 41 + cp spyderlib/images/spyder.svg $out/share/icons/ 49 42 ''; 50 43 51 44 meta = with stdenv.lib; {
+305 -92
pkgs/top-level/python-packages.nix
··· 275 275 }; 276 276 277 277 propagatedBuildInputs = with self ; [ 278 - pycares 279 - ] ++ optional (isPy33) self.asyncio 280 - ++ optional (isPy26 || isPy27) self.trollius; 278 + pycares asyncio 279 + ] ++ optional (isPy26 || isPy27 || isPyPy) self.trollius; 281 280 282 281 meta = { 283 282 homepage = http://github.com/saghul/aiodns; ··· 556 555 }; 557 556 }; 558 557 559 - asyncio = buildPythonPackage rec { 558 + asyncio = if (pythonAtLeast "3.3") then buildPythonPackage rec { 560 559 name = "asyncio-${version}"; 561 560 version = "3.4.3"; 562 561 563 - disabled = (!isPy33); 564 562 565 563 src = pkgs.fetchurl { 566 564 url = "https://pypi.python.org/packages/source/a/asyncio/${name}.tar.gz"; ··· 572 570 homepage = http://www.python.org/dev/peps/pep-3156; 573 571 license = licenses.free; 574 572 }; 575 - }; 573 + } else null; 576 574 577 575 funcsigs = buildPythonPackage rec { 578 576 name = "funcsigs-0.4"; ··· 947 945 name = "${pname}-${version}"; 948 946 version = "0.2.2"; 949 947 pname = "basiciw"; 950 - disabled = isPy26 || isPy27; 948 + disabled = isPy26 || isPy27 || isPyPy; 951 949 952 950 src = pkgs.fetchurl { 953 951 url = "https://pypi.python.org/packages/source/b/${pname}/${name}.tar.gz"; ··· 1419 1417 }; 1420 1418 1421 1419 buildInputs = with self; [ nose unittest2 mock ]; 1422 - 1423 - # i can't imagine these were intentionally installed 1424 - postInstall = "rm -r $out/${python.sitePackages}/funtests"; 1425 1420 1426 1421 meta = { 1427 1422 homepage = https://github.com/celery/billiard; ··· 2093 2088 }; 2094 2089 2095 2090 buildInputs = with self; [ mock nose unittest2 ]; 2096 - propagatedBuildInputs = with self; [ kombu billiard pytz anyjson ]; 2091 + propagatedBuildInputs = with self; [ kombu billiard pytz anyjson amqp ]; 2097 2092 2098 - # tests broken on python 2.6? https://github.com/nose-devs/nose/issues/806 2099 - doCheck = pythonAtLeast "2.7"; 2093 + checkPhase = '' 2094 + nosetests $out/${python.sitePackages}/celery/tests/ 2095 + ''; 2100 2096 2101 2097 meta = { 2102 2098 homepage = https://github.com/celery/celery/; ··· 2108 2104 2109 2105 certifi = buildPythonPackage rec { 2110 2106 name = "certifi-${version}"; 2111 - version = "14.05.14"; 2107 + version = "2015.9.6.2"; 2112 2108 2113 2109 src = pkgs.fetchurl { 2114 2110 url = "https://pypi.python.org/packages/source/c/certifi/${name}.tar.gz"; 2115 - sha256 = "0s8vxzfz6s4m6fvxc7z25k9j35w0rh6jkw3wwcd1az1mssncn6qy"; 2111 + sha256 = "19mfly763c6bzya9dwm6qgc48z4x3gk6ldl6fprdncqhklnjnfnw"; 2116 2112 }; 2117 2113 2118 2114 meta = { ··· 2635 2631 2636 2632 cryptography = buildPythonPackage rec { 2637 2633 # also bump cryptography_vectors 2638 - name = "cryptography-1.0.2"; 2634 + name = "cryptography-1.1.1"; 2639 2635 2640 2636 src = pkgs.fetchurl { 2641 2637 url = "https://pypi.python.org/packages/source/c/cryptography/${name}.tar.gz"; 2642 - sha256 = "1jmcidddbbgdavvnvjjc0pda4b9a5i9idsivchn69pqxx68x8k6n"; 2638 + sha256 = "1q5snbnn2am85zb5jrnxwzncl4kwa11740ws8g9b4ps5ywx944i9"; 2643 2639 }; 2644 2640 2645 2641 buildInputs = [ pkgs.openssl self.pretend self.cryptography_vectors 2646 - self.iso8601 self.pyasn1 self.pytest self.py ] 2642 + self.iso8601 self.pyasn1 self.pytest self.py self.hypothesis ] 2647 2643 ++ optional stdenv.isDarwin pkgs.darwin.apple_sdk.frameworks.Security; 2648 - propagatedBuildInputs = [ self.six self.idna self.ipaddress self.pyasn1 ] 2649 - ++ optional (!isPyPy) self.cffi 2644 + propagatedBuildInputs = with self; [ six idna ipaddress pyasn1 cffi pyasn1-modules modules.sqlite3 ] 2650 2645 ++ optional (pythonOlder "3.4") self.enum34; 2651 2646 2652 2647 # IOKit's dependencies are inconsistent between OSX versions, so this is the best we ··· 2656 2651 2657 2652 cryptography_vectors = buildPythonPackage rec { 2658 2653 # also bump cryptography 2659 - name = "cryptography_vectors-1.0.2"; 2654 + name = "cryptography_vectors-1.1.1"; 2660 2655 2661 2656 src = pkgs.fetchurl { 2662 2657 url = "https://pypi.python.org/packages/source/c/cryptography-vectors/${name}.tar.gz"; 2663 - sha256 = "0dx98kcypmarwwhi6rjwy30ridys2ja6mc6mjf0svd4nllkaljdq"; 2658 + sha256 = "17gi301p3wi39dr4dhrmpfflid3k004jp9cnvdp46b7p5lm6hb3w"; 2664 2659 }; 2665 2660 }; 2666 2661 ··· 3000 2995 sha256 = "0i50lh98550pwr95zgzrgiqzsspm09wl52xlv83y5nrsz4mblylv"; 3001 2996 }; 3002 2997 3003 - # pycollada-0.4 needs python-dateutil==1.5 3004 - buildInputs = with self; [ dateutil_1_5 numpy ]; 2998 + buildInputs = with self; [ numpy ] ++ (if isPy3k then [dateutil] else [dateutil_1_5]); 3005 2999 3006 3000 # Some tests fail because they refer to test data files that don't exist 3007 3001 # (upstream packaging issue) ··· 6334 6328 }; 6335 6329 6336 6330 django_evolution = buildPythonPackage rec { 6337 - name = "django_evolution-0.6.9"; 6331 + name = "django_evolution-0.7.5"; 6338 6332 disabled = isPy3k; 6339 6333 6340 6334 src = pkgs.fetchurl { 6341 - url = "http://downloads.reviewboard.org/releases/django-evolution/${name}.tar.gz"; 6342 - md5 = "c0d7d10bc41898c88b14d434c48766ff"; 6335 + url = "https://pypi.python.org/packages/source/d/django_evolution/${name}.tar.gz"; 6336 + sha256 = "1qbcx54hq8iy3n2n6cki3bka1m9rp39np4hqddrm9knc954fb7nv"; 6343 6337 }; 6344 6338 6345 - propagatedBuildInputs = with self; [ django_1_5 ]; 6339 + propagatedBuildInputs = with self; [ django_1_6 ]; 6346 6340 6347 6341 meta = { 6348 6342 description = "A database schema evolution tool for the Django web framework"; ··· 6549 6543 6550 6544 src = pkgs.fetchurl { 6551 6545 url = "http://pypi.python.org/packages/source/d/django-pipeline/${name}.tar.gz"; 6552 - md5 = "dff8a4abb2895ee5df335c3fb2775a02"; 6553 6546 sha256 = "1y49fa8jj7x9qjj5wzhns3zxwj0s73sggvkrv660cqw5qb7d8hha"; 6554 6547 }; 6555 6548 6556 - propagatedBuildInputs = with self; [ django futures ]; 6549 + propagatedBuildInputs = with self; [ django_1_6 futures ]; 6557 6550 6558 6551 meta = with stdenv.lib; { 6559 6552 description = "Pipeline is an asset packaging library for Django."; ··· 6562 6555 }; 6563 6556 }; 6564 6557 6558 + django_pipeline_1_3 = self.django_pipeline.overrideDerivation (super: rec { 6559 + name = "django-pipeline-1.3.27"; 6560 + src = pkgs.fetchurl { 6561 + url = "http://pypi.python.org/packages/source/d/django-pipeline/${name}.tar.gz"; 6562 + sha256 = "0iva3cmnh5jw54c7w83nx9nqv523hjvkbjchzd2pb6vzilxf557k"; 6563 + }; 6564 + }); 6565 + 6565 6566 6566 6567 djblets = buildPythonPackage rec { 6567 - name = "Djblets-0.6.31"; 6568 + name = "Djblets-0.9"; 6568 6569 6569 6570 src = pkgs.fetchurl { 6570 - url = "http://downloads.reviewboard.org/releases/Djblets/0.6/${name}.tar.gz"; 6571 - sha256 = "1yf0dnkj00yzzhbssw88j9gr58ngjfrd6r68p9asf6djishj9h45"; 6571 + url = "http://downloads.reviewboard.org/releases/Djblets/0.9/${name}.tar.gz"; 6572 + sha256 = "1rr5vjwiiw3kih4k9nawislf701l838dbk5xgizadvwp6lpbpdpl"; 6572 6573 }; 6573 6574 6574 - propagatedBuildInputs = with self; [ pil django_1_5 feedparser ]; 6575 + propagatedBuildInputs = with self; [ 6576 + django_1_6 feedparser django_pipeline_1_3 pillowfight pytz ]; 6575 6577 6576 6578 meta = { 6577 6579 description = "A collection of useful extensions for Django"; ··· 6579 6581 }; 6580 6582 }; 6581 6583 6584 + pillowfight = buildPythonPackage rec { 6585 + name = "pillowfight-${version}"; 6586 + version = "0.2"; 6587 + 6588 + src = pkgs.fetchurl { 6589 + url = "https://pypi.python.org/packages/source/p/pillowfight/pillowfight-${version}.tar.gz"; 6590 + sha256 = "1mh1nhcjjgv7x134sv0krri59ng8bp2w6cwsxc698rixba9f3g0m"; 6591 + }; 6592 + 6593 + propagatedBuildInputs = with self; [ 6594 + pillow 6595 + ]; 6596 + meta = with stdenv.lib; { 6597 + description = "Pillow Fight"; 6598 + homepage = "https://github.com/beanbaginc/pillowfight"; 6599 + }; 6600 + }; 6601 + 6602 + 6603 + keepalive = buildPythonPackage rec { 6604 + name = "keepalive-${version}"; 6605 + version = "0.4.1"; 6606 + 6607 + src = pkgs.fetchurl { 6608 + url = "https://pypi.python.org/packages/source/k/keepalive/keepalive-${version}.tar.gz"; 6609 + sha256 = "07vn3b67ajwi7vv37h02kw7hg2z5dxhn9947dnvii05rfr5b27iy"; 6610 + }; 6611 + 6612 + meta = with stdenv.lib; { 6613 + description = "An HTTP handler for `urllib2` that supports HTTP 1.1 and keepalive."; 6614 + homepage = "https://github.com/wikier/keepalive"; 6615 + }; 6616 + }; 6617 + 6618 + 6619 + SPARQLWrapper = buildPythonPackage rec { 6620 + name = "SPARQLWrapper-${version}"; 6621 + version = "1.7.4"; 6622 + 6623 + src = pkgs.fetchurl { 6624 + url = "https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"; 6625 + sha256 = "1dpwwlcdk4m8wr3d9lb24g1xcvs202c0ir4q3jcijy88is3bvgmp"; 6626 + }; 6627 + 6628 + # break circular dependency loop 6629 + patchPhase = '' 6630 + sed -i '/rdflib/d' requirements.txt 6631 + ''; 6632 + 6633 + propagatedBuildInputs = with self; [ 6634 + six isodate pyparsing html5lib keepalive 6635 + ]; 6636 + 6637 + meta = with stdenv.lib; { 6638 + description = "This is a wrapper around a SPARQL service. It helps in creating the query URI and, possibly, convert the result into a more manageable format."; 6639 + homepage = "http://rdflib.github.io/sparqlwrapper"; 6640 + }; 6641 + }; 6642 + 6582 6643 6583 6644 dulwich = buildPythonPackage rec { 6584 6645 name = "dulwich-${version}"; ··· 6761 6822 }; 6762 6823 }; 6763 6824 6764 - enum34 = buildPythonPackage rec { 6825 + enum34 = if pythonAtLeast "3.4" then null else buildPythonPackage rec { 6765 6826 name = "enum34-${version}"; 6766 6827 version = "1.0.4"; 6767 - disabled = pythonAtLeast "3.4"; 6768 6828 6769 6829 src = pkgs.fetchurl { 6770 6830 url = "http://pypi.python.org/packages/source/e/enum34/${name}.tar.gz"; ··· 8054 8114 }; 8055 8115 8056 8116 hypothesis = pythonPackages.buildPythonPackage rec { 8057 - name = "hypothesis-0.7.0"; 8117 + name = "hypothesis-1.14.0"; 8058 8118 8059 - doCheck = false; 8119 + buildInputs = with self; [fake_factory django numpy pytz flake8 pytest ]; 8120 + 8121 + doCheck = false; # no tests in source 8060 8122 8061 8123 src = pkgs.fetchurl { 8062 - url = "https://pypi.python.org/packages/source/h/hypothesis/hypothesis-0.7.0.tar.gz"; 8063 - md5 = "0c4112bab04b71979286387b033921b5"; 8124 + url = "https://pypi.python.org/packages/source/h/hypothesis/${name}.tar.gz"; 8125 + sha256 = "12dxrvn108q2j20brrk6zcb8w00kn3af1c07c0fv572nf2ngyaxy"; 8064 8126 }; 8065 8127 8066 8128 meta = { ··· 8206 8268 name = "inginious-${version}"; 8207 8269 8208 8270 disabled = isPy3k; 8271 + 8272 + patchPhase = '' 8273 + # transient failures 8274 + substituteInPlace inginious/backend/tests/TestRemoteAgent.py \ 8275 + --replace "test_update_task_directory" "noop" 8276 + ''; 8209 8277 8210 8278 propagatedBuildInputs = with self; [ 8211 8279 requests2 ··· 8411 8479 }; 8412 8480 }; 8413 8481 8414 - ipaddress = buildPythonPackage rec { 8415 - name = "ipaddress-1.0.7"; 8482 + ipaddress = if (pythonAtLeast "3.3") then null else buildPythonPackage rec { 8483 + name = "ipaddress-1.0.15"; 8416 8484 8417 8485 src = pkgs.fetchurl { 8418 8486 url = "https://pypi.python.org/packages/source/i/ipaddress/${name}.tar.gz"; 8419 - md5 = "5d9ecf415cced476f7781cf5b9ef70c4"; 8487 + sha256 = "0dk6ky7akh5j4y3qbpnbi0qby64nyprbkrjm2s32pcfdr77qav5g"; 8420 8488 }; 8489 + 8490 + checkPhase = '' 8491 + ${python.interpreter} test_ipaddress.py 8492 + ''; 8421 8493 8422 8494 meta = { 8423 8495 description = "Port of the 3.3+ ipaddress module to 2.6, 2.7, and 3.2"; ··· 9151 9223 }; 9152 9224 9153 9225 markdown = buildPythonPackage rec { 9154 - version = "2.3.1"; 9226 + version = "2.6.4"; 9155 9227 name = "markdown-${version}"; 9156 9228 9157 9229 src = pkgs.fetchurl { 9158 9230 url = "http://pypi.python.org/packages/source/M/Markdown/Markdown-${version}.tar.gz"; 9159 - sha256 = "147j9hznv2r187a86d28glmg3pckfrdp0nz9yh7s1aqpawwdkszz"; 9231 + sha256 = "1kll5b35wqkhvniwm2kh6rqc43wakv9ls0qm6g5318pjmbkywdp4"; 9160 9232 }; 9161 9233 9162 9234 # error: invalid command 'test' ··· 9485 9557 license = licenses.bsd3; 9486 9558 }; 9487 9559 }; 9560 + 9488 9561 9489 9562 mitmproxy = buildPythonPackage rec { 9490 9563 baseName = "mitmproxy"; 9491 - name = "${baseName}-${meta.version}"; 9564 + name = "${baseName}-${version}"; 9565 + version = "0.14.0"; 9492 9566 9493 9567 src = pkgs.fetchurl { 9494 9568 url = "${meta.homepage}/download/${name}.tar.gz"; 9495 - sha256 = "0mpyw8iw4l4jv175qlbn0rrlgiz1k79m44jncbdxfj8ddvvvyz2j"; 9569 + sha256 = "0mbd3m8x9a5v9skvzayjwaccn5kpgjb5p7hal5rrrcj69d8xrz6f"; 9496 9570 }; 9497 9571 9498 - buildInputs = with self; [ 9499 - pyopenssl pyasn1 urwid pil lxml flask protobuf netlib 9572 + propagatedBuildInputs = with self; [ 9573 + pyopenssl pyasn1 urwid pillow lxml flask protobuf netlib click 9574 + ConfigArgParse pyperclip blinker construct pyparsing html2text tornado 9500 9575 ]; 9501 9576 9502 9577 doCheck = false; ··· 9509 9584 ''; 9510 9585 9511 9586 meta = { 9512 - version = "0.10.1"; 9513 9587 description = ''Man-in-the-middle proxy''; 9514 9588 homepage = "http://mitmproxy.org/"; 9515 9589 license = licenses.mit; ··· 10122 10196 }; 10123 10197 }; 10124 10198 10199 + hpack = buildPythonPackage rec { 10200 + name = "hpack-${version}"; 10201 + version = "2.0.1"; 10202 + 10203 + src = pkgs.fetchurl { 10204 + url = "https://pypi.python.org/packages/source/h/hpack/hpack-${version}.tar.gz"; 10205 + sha256 = "1k4wa8c52bd6x109bn6hc945595w6aqgzj6ipy6c2q7vxkzalzhd"; 10206 + }; 10207 + 10208 + propagatedBuildInputs = with self; [ 10209 + 10210 + ]; 10211 + buildInputs = with self; [ 10212 + 10213 + ]; 10214 + 10215 + meta = with stdenv.lib; { 10216 + description = "========================================"; 10217 + homepage = "http://hyper.rtfd.org"; 10218 + }; 10219 + }; 10220 + 10221 + 10125 10222 netlib = buildPythonPackage rec { 10126 10223 baseName = "netlib"; 10127 - name = "${baseName}-${meta.version}"; 10224 + name = "${baseName}-${version}"; 10128 10225 disabled = (!isPy27); 10226 + version = "0.14.0"; 10129 10227 10130 10228 src = pkgs.fetchurl { 10131 - url = "https://github.com/cortesi/netlib/archive/v${meta.version}.tar.gz"; 10132 - name = "${name}.tar.gz"; 10133 - sha256 = "1x2n126b7fal64fb5fzkp4by7ym0iswn3w9mh6pm4c1vjdpnk592"; 10229 + url = "https://pypi.python.org/packages/source/n/netlib/${name}.tar.gz"; 10230 + sha256 = "0xcfjym780wjr32p3g50w2gifqy3589898idzd3fwgj93akv04ng"; 10134 10231 }; 10135 10232 10136 - buildInputs = with self; [ 10137 - pyopenssl pyasn1 10138 - ]; 10233 + propagatedBuildInputs = with self; [ pyopenssl pyasn1 certifi passlib 10234 + ipaddress backports_ssl_match_hostname_3_4_0_2 hpack ]; 10139 10235 10140 10236 doCheck = false; 10141 10237 10142 10238 meta = { 10143 - version = "0.10"; 10144 - description = ''Man-in-the-middle proxy''; 10239 + description = "Man-in-the-middle proxy"; 10145 10240 homepage = "https://github.com/cortesi/netlib"; 10146 10241 license = licenses.mit; 10147 10242 }; ··· 11991 12086 sha256 = "19krvycaiximchhv1hcfhz81249m3w3jrbp2h4apn1yf4yrc4y7y"; 11992 12087 }; 11993 12088 11994 - propagatedBuildInputs = with self; [ eventlet trollius ]; 12089 + propagatedBuildInputs = with self; [ eventlet trollius asyncio ]; 11995 12090 buildInputs = with self; [ mock ]; 11996 12091 11997 12092 # 2 tests error out ··· 12886 12981 url = "https://pypi.python.org/packages/source/p/python-jenkins/${name}.tar.gz"; 12887 12982 sha256 = "153gm7pmmn0bymglsgcr2ya0752r2v1hajkx73gl1pk4jifb2gdf"; 12888 12983 }; 12984 + patchPhase = '' 12985 + sed -i 's@python@${python.interpreter}@' .testr.conf 12986 + ''; 12889 12987 12890 12988 buildInputs = with self; [ mock ]; 12891 12989 propagatedBuildInputs = with self; [ pbr pyyaml six multi_key_dict testtools ··· 13657 13755 13658 13756 makeFlags = [ 13659 13757 "USESELINUX=0" 13660 - "SITELIB=$(out)/lib/${python.libPrefix}/site-packages" 13758 + "SITELIB=$(out)/${python.sitePackages}" 13661 13759 ]; 13662 13760 13663 13761 meta = { ··· 14664 14762 sha256 = "1hmy76c5igm95rqbld7gvk0az24smvc8hplfwx2f5rhn6frj3p2i"; 14665 14763 }; 14666 14764 14667 - configurePhase = "make"; 14668 - 14669 - # Doesn't work with --old-and-unmanagable 14670 - installPhase = '' 14671 - ${python}/bin/${python.executable} setup.py install \ 14672 - --install-lib=$out/lib/${python.libPrefix}/site-packages \ 14673 - --prefix="$out" 14674 - ''; 14765 + configurePhase = "make"; 14675 14766 14676 14767 doCheck = false; 14677 14768 ··· 14778 14869 doCheck = false; 14779 14870 }; 14780 14871 14872 + 14781 14873 pyrax = buildPythonPackage rec { 14782 14874 name = "pyrax-1.8.2"; 14783 14875 ··· 14787 14879 }; 14788 14880 14789 14881 propagatedBuildInputs = with self; [ requests2 ]; 14882 + doCheck = false; 14790 14883 14791 14884 meta = { 14885 + broken = true; # missing lots of dependencies with rackspace-novaclient 14792 14886 homepage = "https://github.com/rackspace/pyrax"; 14793 14887 license = licenses.mit; 14794 14888 description = "Python API to interface with Rackspace"; 14795 14889 }; 14796 - 14797 - doCheck = false; 14798 14890 }; 14799 14891 14800 14892 ··· 15574 15666 }; 15575 15667 }; 15576 15668 15669 + Whoosh = buildPythonPackage rec { 15670 + name = "Whoosh-${version}"; 15671 + version = "2.7.0"; 15672 + 15673 + src = pkgs.fetchurl { 15674 + url = "https://pypi.python.org/packages/source/W/Whoosh/Whoosh-${version}.tar.gz"; 15675 + sha256 = "1xx8rqk1v2xs7mxvy9q4sgz2qmgvhf6ygbqjng3pl83ka4f0xz6d"; 15676 + }; 15677 + 15678 + propagatedBuildInputs = with self; [ 15679 + 15680 + ]; 15681 + buildInputs = with self; [ 15682 + pytest 15683 + ]; 15684 + 15685 + meta = with stdenv.lib; { 15686 + homepage = "http://bitbucket.org/mchaput/whoosh"; 15687 + }; 15688 + }; 15689 + 15690 + pysolr = buildPythonPackage rec { 15691 + name = "pysolr-${version}"; 15692 + version = "3.3.3"; 15693 + 15694 + src = pkgs.fetchurl { 15695 + url = "https://pypi.python.org/packages/source/p/pysolr/pysolr-${version}.tar.gz"; 15696 + sha256 = "1wapg9n7myn7c82r3nzs2gisfzx52nip8w2mrfy0yih1zn02mnd6"; 15697 + }; 15698 + 15699 + propagatedBuildInputs = with self; [ 15700 + requests2 15701 + ]; 15702 + buildInputs = with self; [ 15703 + 15704 + ]; 15705 + 15706 + meta = with stdenv.lib; { 15707 + homepage = "http://github.com/toastdriven/pysolr/"; 15708 + }; 15709 + }; 15710 + 15711 + 15712 + django-haystack = buildPythonPackage rec { 15713 + name = "django-haystack-${version}"; 15714 + version = "2.4.1"; 15715 + 15716 + src = pkgs.fetchurl { 15717 + url = "https://pypi.python.org/packages/source/d/django-haystack/django-haystack-${version}.tar.gz"; 15718 + sha256 = "04cva8qg79xig4zqhb4dwkpm7734dvhzqclzvrdz70fh59ki5b4f"; 15719 + }; 15720 + 15721 + doCheck = false; # no tests in source 15722 + 15723 + buildInputs = with self; [ coverage mock nose geopy ]; 15724 + propagatedBuildInputs = with self; [ 15725 + django_1_6 dateutil_1_5 Whoosh pysolr elasticsearch 15726 + ]; 15727 + 15728 + patchPhase = '' 15729 + sed -i 's/geopy==/geopy>=/' setup.py 15730 + sed -i 's/whoosh==/Whoosh>=/' setup.py 15731 + ''; 15732 + 15733 + meta = with stdenv.lib; { 15734 + homepage = "http://haystacksearch.org/"; 15735 + }; 15736 + }; 15737 + 15738 + geopy = buildPythonPackage rec { 15739 + name = "geopy-${version}"; 15740 + version = "1.11.0"; 15741 + disabled = !isPy27; 15742 + 15743 + src = pkgs.fetchurl { 15744 + url = "https://pypi.python.org/packages/source/g/geopy/geopy-${version}.tar.gz"; 15745 + sha256 = "04j1lxcsfyv03h0n0q7p2ig7a4n13x4x20fzxn8bkazpx6lyal22"; 15746 + }; 15747 + 15748 + doCheck = false; # too much 15749 + 15750 + buildInputs = with self; [ mock tox pkgs.pylint ]; 15751 + meta = with stdenv.lib; { 15752 + homepage = "https://github.com/geopy/geopy"; 15753 + }; 15754 + }; 15755 + 15756 + django-multiselectfield = buildPythonPackage rec { 15757 + name = "django-multiselectfield-${version}"; 15758 + version = "0.1.3"; 15759 + 15760 + src = pkgs.fetchurl { 15761 + url = "https://pypi.python.org/packages/source/d/django-multiselectfield/django-multiselectfield-${version}.tar.gz"; 15762 + sha256 = "0v7wf82f8688srdsym9ajv1j54bxfxwvydypc03f8xyl4c1raziv"; 15763 + }; 15764 + 15765 + propagatedBuildInputs = with self; [ 15766 + 15767 + ]; 15768 + buildInputs = with self; [ 15769 + 15770 + ]; 15771 + 15772 + meta = with stdenv.lib; { 15773 + description = "django-multiselectfield"; 15774 + homepage = "https://github.com/goinnn/django-multiselectfield"; 15775 + }; 15776 + }; 15777 + 15778 + 15577 15779 reviewboard = buildPythonPackage rec { 15578 - name = "ReviewBoard-1.6.22"; 15780 + name = "ReviewBoard-2.5.1.1"; 15579 15781 15580 15782 src = pkgs.fetchurl { 15581 - url = "http://downloads.reviewboard.org/releases/ReviewBoard/1.6/${name}.tar.gz"; 15582 - sha256 = "09lc3ccazlyyd63ifxw3w4kzwd60ax2alk1a95ih6da4clg73mxf"; 15783 + url = "http://downloads.reviewboard.org/releases/ReviewBoard/2.5/${name}.tar.gz"; 15784 + sha256 = "14m8yy2aqxnnzi822b797wc9nmkfkp2fqmq24asdnm66bxhyzjwn"; 15583 15785 }; 15584 15786 15787 + patchPhase = '' 15788 + sed -i 's/mimeparse/python-mimeparse/' setup.py 15789 + sed -i 's/markdown>=2.4.0,<2.4.999/markdown/' setup.py 15790 + ''; 15791 + 15585 15792 propagatedBuildInputs = with self; 15586 - [ django_1_5 recaptcha_client pytz memcached dateutil_1_5 paramiko flup pygments 15587 - djblets django_evolution pycrypto modules.sqlite3 15588 - pysvn pil psycopg2 15793 + [ django_1_6 recaptcha_client pytz memcached dateutil_1_5 paramiko flup 15794 + pygments djblets django_evolution pycrypto modules.sqlite3 pysvn pillow 15795 + psycopg2 django-haystack python_mimeparse markdown django-multiselectfield 15589 15796 ]; 15590 15797 }; 15591 15798 ··· 15601 15808 # error: invalid command 'test' 15602 15809 doCheck = false; 15603 15810 15604 - propagatedBuildInputs = with self; [ isodate html5lib ]; 15811 + propagatedBuildInputs = with self; [ isodate html5lib SPARQLWrapper ]; 15605 15812 15606 15813 meta = { 15607 15814 description = "A Python library for working with RDF, a simple yet powerful language for representing information"; ··· 16126 16333 buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ]; 16127 16334 propagatedBuildInputs = with self; [ numpy scipy pkgs.openblas ]; 16128 16335 16129 - buildPhase = '' 16130 - ${self.python.interpreter} setup.py build_ext -i --fcompiler='gnu95' 16131 - ''; 16132 - 16133 16336 checkPhase = '' 16134 - LC_ALL="en_US.UTF-8" HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests 16337 + LC_ALL="en_US.UTF-8" HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/ 16135 16338 ''; 16136 16339 16137 16340 meta = { ··· 16347 16550 url = "https://pypi.python.org/packages/source/S/SimpleParse/SimpleParse-${version}.tar.gz"; 16348 16551 sha256 = "1n8msk71lpl3kv086xr2sv68ppgz6228575xfnbszc6p1mwr64rg"; 16349 16552 }; 16553 + 16554 + doCheck = false; # weird error 16350 16555 16351 16556 meta = { 16352 16557 description = "A Parser Generator for Python"; ··· 16585 16790 }; 16586 16791 16587 16792 clint = buildPythonPackage rec { 16588 - name = "clint-0.4.1"; 16793 + name = "clint-0.5.1"; 16589 16794 16590 16795 src = pkgs.fetchurl { 16591 16796 url = "http://pypi.python.org/packages/source/c/clint/${name}.tar.gz"; 16592 - md5 = "d0a0952bfcc5f4c5e03c36854665b298"; 16797 + sha256 = "1an5lkkqk1zha47198p42ji3m94xmzx1a03dn7866m87n4r4q8h5"; 16593 16798 }; 16594 16799 16800 + 16801 + preBuild = '' 16802 + export LC_ALL="en_US.UTF-8" 16803 + ''; 16804 + 16595 16805 checkPhase = '' 16596 16806 ${python.interpreter} test_clint.py 16597 16807 ''; 16598 16808 16599 - buildInputs = with self; [ mock blessings nose nose_progressive ]; 16809 + buildInputs = with self; [ mock blessings nose nose_progressive pkgs.glibcLocales ]; 16600 16810 propagatedBuildInputs = with self; [ pillow blessings args ]; 16601 16811 16602 16812 meta = { ··· 16897 17107 --replace '/usr/' '${pkgs.bash}/' 16898 17108 ''; 16899 17109 17110 + doCheck = !isPyPy; 16900 17111 checkPhase = '' 16901 - python test_subprocess32.py 17112 + ${python.interpreter} test_subprocess32.py 16902 17113 ''; 16903 17114 16904 17115 meta = { ··· 19739 19950 url = "http://pypi.python.org/packages/source/p/pyzmq/${name}.tar.gz"; 19740 19951 sha256 = "1gbpgz4ngfw5x6zlsa1k0jwy5vd5wg9iz1shdx4zav256ib08vjx"; 19741 19952 }; 19742 - setupPyBuildFlags = ["-i"]; 19743 - buildInputs = with self; [ pkgs.zeromq3 ]; 19953 + buildInputs = with self; [ pkgs.zeromq3 pytest]; 19744 19954 propagatedBuildInputs = [ self.py ]; 19955 + checkPhase = '' 19956 + py.test $out/${python.sitePackages}/zmq/ 19957 + ''; 19745 19958 }; 19746 19959 19747 19960 tokenserver = buildPythonPackage rec { ··· 20951 21164 }; 20952 21165 20953 21166 html2text = buildPythonPackage rec { 20954 - name = "html2text-2014.12.29"; 21167 + name = "html2text-2015.11.4"; 20955 21168 disabled = ! isPy27; 20956 21169 20957 21170 src = pkgs.fetchurl { 20958 - url = "https://pypi.python.org/packages/source/h/html2text/html2text-2014.12.29.tar.gz"; 20959 - md5 = "c5bd796bdf7d1bfa43f55f1e2b5e4826"; 21171 + url = "https://pypi.python.org/packages/source/h/html2text/${name}.tar.gz"; 21172 + sha256 = "021pqcshxajhdy4whkawz95v98m8njv5lknzgac0sp8jzl01qls4"; 20960 21173 }; 20961 21174 20962 21175 propagatedBuildInputs = with pythonPackages; [ ];