diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2018-05-05 23:28:36 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2018-05-05 23:35:30 -0500 |
commit | f8351ba5f0cf067579ceac19b67a797d0a4de3fc (patch) | |
tree | 3c615bcad9a763811f018aab99f27b7f9d3ce942 /pkgs/development | |
parent | 8ce802e8c8e99a0a7aed26e4f22725c56dd4cf80 (diff) | |
download | nixlib-f8351ba5f0cf067579ceac19b67a797d0a4de3fc.tar nixlib-f8351ba5f0cf067579ceac19b67a797d0a4de3fc.tar.gz nixlib-f8351ba5f0cf067579ceac19b67a797d0a4de3fc.tar.bz2 nixlib-f8351ba5f0cf067579ceac19b67a797d0a4de3fc.tar.lz nixlib-f8351ba5f0cf067579ceac19b67a797d0a4de3fc.tar.xz nixlib-f8351ba5f0cf067579ceac19b67a797d0a4de3fc.tar.zst nixlib-f8351ba5f0cf067579ceac19b67a797d0a4de3fc.zip |
pythonPackages.scrapy: enable darwin build
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/scrapy/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/scrapy/default.nix b/pkgs/development/python-modules/scrapy/default.nix index 005d02e60472..f33acc79a2bb 100644 --- a/pkgs/development/python-modules/scrapy/default.nix +++ b/pkgs/development/python-modules/scrapy/default.nix @@ -1,4 +1,4 @@ -{ buildPythonPackage, fetchurl, glibcLocales, mock, pytest, botocore, +{ stdenv, buildPythonPackage, fetchurl, glibcLocales, mock, pytest, botocore, testfixtures, pillow, six, twisted, w3lib, lxml, queuelib, pyopenssl, service-identity, parsel, pydispatcher, cssselect, lib }: buildPythonPackage rec { @@ -20,8 +20,9 @@ buildPythonPackage rec { LC_ALL="en_US.UTF-8"; checkPhase = '' - py.test --ignore=tests/test_linkextractors_deprecated.py --ignore=tests/test_proxy_connect.py + py.test --ignore=tests/test_linkextractors_deprecated.py --ignore=tests/test_proxy_connect.py ${lib.optionalString stdenv.isDarwin "--ignore=tests/test_utils_iterators.py"} # The ignored tests require mitmproxy, which depends on protobuf, but it's disabled on Python3 + # Ignore iteration test, because lxml can't find encodings on darwin https://bugs.launchpad.net/lxml/+bug/707396 ''; src = fetchurl { @@ -34,6 +35,6 @@ buildPythonPackage rec { homepage = http://scrapy.org/; license = licenses.bsd3; maintainers = with maintainers; [ drewkett ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } |